netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/12] Mellanox 100G extending mlx5 ethtool support
@ 2016-04-22 19:00 Saeed Mahameed
  2016-04-22 19:00 ` [PATCH net-next 01/12] net/mlx5e: Report additional error statistics in get stats ndo Saeed Mahameed
                   ` (11 more replies)
  0 siblings, 12 replies; 21+ messages in thread
From: Saeed Mahameed @ 2016-04-22 19:00 UTC (permalink / raw)
  To: David S. Miller
  Cc: netdev, Or Gerlitz, Tal Alon, Eran Ben Elisha, Saeed Mahameed

Hi Dave,

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, buti instead 
it will try to continue setting others. Making it generic to make it simpler for adding 
more features support, it is now done easily by 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.

In addition, we have added a patch that disables the port link on device close and enables it
back on device open, for power saving when driver is loaded and interface is down.

Series is applied on top 22d37b6b0058 ("Merge branch 'geneve-vxlan-deps'")

Thanks,
Saeed

Eran Ben Elisha (2):
  net/mlx5e: Add support for RXALL netdev feature
  net/mlx5e: Disable link up on INIT HCA command

Gal Pressman (9):
  net/mlx5e: Report additional error statistics in get stats ndo
  net/mlx5e: Statistics handling refactoring
  net/mlx5e: Rename VPort counters
  net/mlx5e: Add per priority group to PPort counters
  net/mlx5e: Add link down events counter
  net/mlx5e: Improve set features ndo resiliency
  net/mlx5e: Add ethtool support for interface identify (LED blinking)
  net/mlx5e: Add ethtool support for dump module EEPROM
  net/mlx5e: Add ethtool support for rxvlan-offload (vlan stripping)

Saeed Mahameed (1):
  net/mlx5e: Fix checksum handling for non-stripped vlan packets

 drivers/infiniband/hw/mlx5/main.c                  |   11 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h               |    5 +
 drivers/net/ethernet/mellanox/mlx5/core/en.h       |  243 +----------
 drivers/net/ethernet/mellanox/mlx5/core/en_dcbnl.c |   10 +-
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |  288 ++++++++++--
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c  |  459 ++++++++++++--------
 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c    |   20 +-
 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h |  359 +++++++++++++++
 drivers/net/ethernet/mellanox/mlx5/core/main.c     |    4 +
 drivers/net/ethernet/mellanox/mlx5/core/port.c     |  143 ++++++-
 include/linux/mlx5/device.h                        |   23 +-
 include/linux/mlx5/driver.h                        |    9 +-
 include/linux/mlx5/port.h                          |   28 ++-
 13 files changed, 1125 insertions(+), 477 deletions(-)
 create mode 100644 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2016-04-25 12:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22 19:00 [PATCH net-next 00/12] Mellanox 100G extending mlx5 ethtool support Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 01/12] net/mlx5e: Report additional error statistics in get stats ndo Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 02/12] net/mlx5e: Statistics handling refactoring Saeed Mahameed
2016-04-25 10:58   ` David Laight
2016-04-25 12:12     ` Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 03/12] net/mlx5e: Rename VPort counters Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 04/12] net/mlx5e: Add per priority group to PPort counters Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 05/12] net/mlx5e: Add link down events counter Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 06/12] net/mlx5e: Improve set features ndo resiliency Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 07/12] net/mlx5e: Add support for RXALL netdev feature Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 08/12] net/mlx5e: Add ethtool support for interface identify (LED blinking) Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 09/12] net/mlx5e: Add ethtool support for dump module EEPROM Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 10/12] net/mlx5e: Add ethtool support for rxvlan-offload (vlan stripping) Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 11/12] net/mlx5e: Fix checksum handling for non-stripped vlan packets Saeed Mahameed
2016-04-22 19:00 ` [PATCH net-next 12/12] net/mlx5e: Disable link up on INIT HCA command Saeed Mahameed
2016-04-23 16:00   ` Ido Schimmel
2016-04-23 20:21     ` Saeed Mahameed
2016-04-23 20:28       ` Or Gerlitz
2016-04-23 21:24         ` Saeed Mahameed
2016-04-23 21:28           ` Or Gerlitz
2016-04-23 22:03       ` Ido Schimmel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).