mbox series

[net-next,0/2] Small series of enhancements

Message ID 20230329144548.66708-1-louis.peens@corigine.com (mailing list archive)
Headers show
Series Small series of enhancements | expand

Message

Louis Peens March 29, 2023, 2:45 p.m. UTC
This small series adds two changes

- The first is a simple update to make sure the dev_port id is getting
  populated properly.
- The second changes the lower link state of the phy ports to be
  disconnected from the admin state. This is mostly for SRIOV cases, as
  explained in the patch. Functionality to make this behaviour
  configurable is added through an ethtool private flag.

Yinjun Zhang (2):
  nfp: initialize netdev's dev_port with correct id
  nfp: separate the port's upper state with lower phy state

 .../ethernet/netronome/nfp/nfp_net_ethtool.c  | 103 ++++++++++++++++++
 drivers/net/ethernet/netronome/nfp/nfp_port.c |   1 +
 drivers/net/ethernet/netronome/nfp/nic/main.c |  20 ++++
 3 files changed, 124 insertions(+)