net/mlx4_en: Fix port counters statistics bitmask
authorEran Ben Elisha <eranbe@mellanox.com>
Mon, 30 Mar 2015 14:45:20 +0000 (17:45 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2015 20:36:50 +0000 (16:36 -0400)
commit66f24a7ebffc5eaef9b799a2a72dd61149ad846b
tree5237f1bbfe219a6c1d3c0b9c2593e84c20211f9b
parentc99753379ccb26ae0acf3059b579154876e0cf1e
net/mlx4_en: Fix port counters statistics bitmask

Two counters (rx_chksum_complete and tx_chksum_offload) are not displayed
under SRIOV for the PF via ethtool because their bit mask is off, fix that.

Fixes: f8c6455bb ('net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE')
Fixes: 9fab426de ('mlx4: add a new xmit_more counter')

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/port.c