--- zzzz-none-000/linux-4.9.276/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2023-04-05 08:19:01.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;