]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88c49f72d343d398846e990b21989a7b32cbb493
tree5237f1bbfe219a6c1d3c0b9c2593e84c20211f9b
parentdfcd7cb28456e60f113c0b2720478e24d0e8c012
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: 659509af0 ('net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE')
Fixes: 4edae1d8d ('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