--- zzzz-none-000/linux-4.9.218/drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ac-750/linux-4.9.218/drivers/net/ethernet/intel/fm10k/fm10k_netdev.c 2022-11-30 09:46:20.000000000 +0000 @@ -1248,7 +1248,9 @@ if (tc->type != TC_SETUP_MQPRIO) return -EINVAL; - return fm10k_setup_tc(dev, tc->tc); + tc->mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; + + return fm10k_setup_tc(dev, tc->mqprio->num_tc); } static void fm10k_assign_l2_accel(struct fm10k_intfc *interface,