--- zzzz-none-000/linux-4.9.231/drivers/net/ethernet/intel/i40e/i40e_main.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5530-730/linux-4.9.231/drivers/net/ethernet/intel/i40e/i40e_main.c 2022-08-31 08:19:49.000000000 +0000 @@ -5381,9 +5381,12 @@ struct tc_to_netdev *tc) #endif { - if (handle != TC_H_ROOT || tc->type != TC_SETUP_MQPRIO) + if (tc->type != TC_SETUP_MQPRIO) return -EINVAL; - return i40e_setup_tc(netdev, tc->tc); + + tc->mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; + + return i40e_setup_tc(netdev, tc->mqprio->num_tc); } /**