--- zzzz-none-000/linux-4.9.325/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2022-07-29 15:05:48.000000000 +0000 +++ seale-7590ax-800/linux-4.9.325/drivers/net/ethernet/amd/xgbe/xgbe-drv.c 2024-09-18 09:50:47.000000000 +0000 @@ -1639,7 +1639,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;