--- zzzz-none-000/linux-4.9.231/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5530-730/linux-4.9.231/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2022-08-31 08:19:49.000000000 +0000 @@ -1637,7 +1637,8 @@ if (tc_to_netdev->type != TC_SETUP_MQPRIO) return -EINVAL; - tc = tc_to_netdev->tc; + tc_to_netdev->mqprio->hw = TC_MQPRIO_HW_OFFLOAD_TCS; + tc = tc_to_netdev->mqprio->num_tc; if (tc > pdata->hw_feat.tc_cnt) return -EINVAL;