amd-xgbe: Adjust for zero-based traffic class count
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Tue, 3 Feb 2015 18:49:55 +0000 (12:49 -0600)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 04:28:14 +0000 (20:28 -0800)
commit211fcf6d2100e625ec1d4a50e8adf67370a37bad
treed17b03cafe0e5af8a575788da1b7449bdbe9f19a
parentb057df24a7536cce6c372efe9d0e3d1558afedf4
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: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c