Merge branch 'mlx5-next'
authorDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 19:58:03 +0000 (15:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Apr 2016 19:58:03 +0000 (15:58 -0400)
commit3ccec4bd10c95bbd8729b1edebef887b666905bf
tree627e676d6e4390dc6e1f98f74eb97a2ffd5ff852
parent4e095a9a6ee50ba8a9820a4991b6a2a27c67bdb4
parent1b223dd391622fde05e03829d813c3c6cc998685
Merge branch 'mlx5-next'

Saeed Mahameed says:

====================
Mellanox 100G extending mlx5 ethtool support

Changes from V0:
- Dropped: net/mlx5e: Disable link up on INIT HCA command
  Due to Ido's and Or's requests we will submit this patch to net and will need it for -stable.
- Rebased to: 11afbff86168 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next")

This series is centralized around extending and improving mlx5 ethernet driver ethtool
support. We've done some code refactoring for ethtool statistics reporting, making it
more scalable and robust, now each reported ethtool counter belongs to a group and has
its own descriptor within that group, the descriptor holds the counter name and offset
in memory in that group memory block.

Added new counters:
- Reporting more error and drop counter in ifconig/ip tool.
- Per priority pause and traffic counter in ethtool.
- link down events counter in ethtool.

Set features handling was also refactored a little bit to be more resilient and generic,
now setting more than one feature will not stop on the first failed one, but instead
it will try to continue setting others. We made it generic to make it simpler for adding
more features support, it is now done easily by only introducing a handler function of
the new supported netdev feature, and let the generic handler do the job.

New netdev features and ethtool support:
- Netdev feature RXALL, set on/off FCS check offload.
- Netdev feature HW_VLAN_CTAG_RX, set on/off rx-vlan stripping offload.
- Ethtool interface identify.
- Ethtool dump module EEPROM.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>