amd-xgbe: Adjust for zero-based traffic class count
The number of traffic classes reported by the hardware is zero-based so increment the value returned to get an actual count. Signed-off-by: NTom Lendacky <thomas.lendacky@amd.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录