--- zzzz-none-000/linux-4.9.218/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2020-04-02 15:20:41.000000000 +0000 +++ seale-7590ax-750/linux-4.9.218/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2023-03-29 10:59:06.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;