Skip to content

i40e: refactor ethtool interface

Alan Brady intel-wired-lan 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest14 patches 0 repliesNew
  2. v213 patches 0 repliesSuperseded
  3. v113 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14i40e: rename 'cmd' variables in ethtool interfacedrivers/net/ethernet/intel/i40e/i40e_ethtool.c+70 -691 reply
2/14i40e: remove ifdef SPEED_25000drivers/net/ethernet/intel/i40e/i40e_ethtool.c+0 -51 reply
3/14i40e: add function header for i40e_get_rxfhdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+10 -01 reply
4/14i40e: fix clearing link masks in i40e_get_link_ksettingsdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+6 -81 reply
5/14i40e: fix i40e_phy_type_to_ethtool function headerdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+1 -11 reply
6/14i40e: fix comment typodrivers/net/ethernet/intel/i40e/i40e_ethtool.c+2 -21 reply
7/14i40e: fix whitespace issues in i40e_ethtool.cdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+19 -271 reply
8/14i40e: group autoneg PHY types togetherdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+41 -442 replies
9/14i40e: Add new phy types for 25G AOC and ACC supportdrivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h drivers/net/ethernet/intel/i40e/i40e_common.c drivers/net/ethernet/intel/i40e/i40e_ethtool.c +2 more+16 -01 reply
10/14ethtool: add ethtool_intersect_link_masksinclude/linux/ethtool.h net/core/ethtool.c+26 -01 reply
11/14i40e: convert i40e_phy_type_to_ethtool to new APIdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+140 -641 reply
12/14i40e: convert i40e_get_settings_link_up to new APIdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+125 -621 reply
13/14i40e: rename 'change' variable to 'autoneg_changed'drivers/net/ethernet/intel/i40e/i40e_ethtool.c+6 -61 reply
14/14i40e: convert i40e_set_link_ksettings to new APIdrivers/net/ethernet/intel/i40e/i40e_ethtool.c+57 -361 reply

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by.

PatchAndrew Bowers
1/14T-b
2/14T-b
3/14T-b
4/14T-b
5/14T-b
6/14T-b
7/14T-b
8/14T-b
9/14T-b
10/14T-b
11/14T-b
12/14T-b
13/14T-b
14/14T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Intel-wired-lan] [PATCH v3 00/14 net-next] i40e: refactor ethtool interface

This series brings i40e ethtool interface back into the modern era by converting references to the old ethtool API to the new API.

This conversion allows us to provide much better support for new 25G and 10G PHY types.

This also includes a patch which adds new function to ethtool; ethtool_intersect_link_masks. i40e uses this function is used to take what is supported by the PHY type and intersect it with what is supported by the NVM, giving us what is truly supported.

v2: Removed extra new line. Fixed comment split. Removed i40e_intersect_link_masks and added ethtool_intersect_link_masks to net/core/ethtool.c. Removed '.' from title of commit 09/13

v3: Fixed typo in "13/13 i40e: convert i40e_set_link_ksettings to new API"; "unsuported" to "unsupported". Extracted the addition of ethtool_intersect_link_masks into its own patch.

Alan Brady (13):
i40e: rename 'cmd' variables in ethtool interface
i40e: remove ifdef SPEED_25000
i40e: add function header for i40e_get_rxfh
i40e: fix clearing link masks in i40e_get_link_ksettings
i40e: fix i40e_phy_type_to_ethtool function header
i40e: fix comment typo
i40e: fix whitespace issues in i40e_ethtool.c
i40e: group autoneg PHY types together
ethtool: add ethtool_intersect_link_masks
i40e: convert i40e_phy_type_to_ethtool to new API
i40e: convert i40e_get_settings_link_up to new API
i40e: rename 'change' variable to 'autoneg_changed'
i40e: convert i40e_set_link_ksettings to new API

Sudheer Mogilappagari (1):
i40e: Add new phy types for 25G AOC and ACC support

 drivers/net/ethernet/intel/i40e/i40e_adminq_cmd.h  |   4 +
 drivers/net/ethernet/intel/i40e/i40e_common.c      |   2 +
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c     | 715 +++++++++++++--------
 drivers/net/ethernet/intel/i40e/i40e_type.h        |   4 +
 .../net/ethernet/intel/i40evf/i40e_adminq_cmd.h    |   4 +
 include/linux/ethtool.h                            |  10 +
 net/core/ethtool.c                                 |  16 +
 7 files changed, 475 insertions(+), 280 deletions(-)
Signature · 1 line
2.14.1