RFC link status API improvement and bugfixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest14 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | ethdev: add link status read/write functionslib/ lib/ | +64 | 9 replies | |
| 2/14 | virtio: use eth_link_read/write (and bug fix)drivers/ | +6 | 5 replies | |
| 3/14 | bnxt: use rte_link_updatedrivers/ | +2 | 0 replies | |
| 4/14 | vmxnet3: use rte_eth_link_updatedrivers/ | +3 | 0 replies | |
| 5/14 | dpaa2: use rte_eth_link_updatedrivers/ | +8 | 0 replies | |
| 6/14 | nfp: use rte_eth_link_updatedrivers/ | +8 | 0 replies | |
| 7/14 | e1000: use rte_eth_link_updatedrivers/ drivers/ | +10 | 0 replies | |
| 8/14 | ixgbe: use rte_eth_link_updatedrivers/ | +12 | 0 replies | |
| 9/14 | sfc: use new rte_eth_link helpersdrivers/ drivers/ | +11 | 3 replies | |
| 10/14 | i40e: use rte_eth_link_update (and bug fix)drivers/ drivers/ | +8 | 0 replies | |
| 11/14 | liquidio: use _rte_eth_link_updatedrivers/ | +19 | 1 reply | |
| 12/14 | thunderx: use _rte_eth_link_updatedrivers/ | +2 | 0 replies | |
| 13/14 | szedata: use _rte_eth_link_updatedrivers/ | +8 | 1 reply | |
| 14/14 | enic: use _rte_eth_link_updatedrivers/ drivers/ | +10 | 0 replies |
Reviews trailers per patch
None of the 14 patches has a Reviewed-by or Acked-by.
| Patch | Shijith Thotton |
|---|---|
| 1/14 | |
| 2/14 | |
| 3/14 | |
| 4/14 | |
| 5/14 | |
| 6/14 | |
| 7/14 | |
| 8/14 | |
| 9/14 | |
| 10/14 | |
| 11/14 | T-b |
| 12/14 | |
| 13/14 | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 00/14] link status API improvement and bugfixes
While writing new driver, I noticed a lot of unnecessary duplication of code in drivers for handling the eth_dev link status information. While consolidating this, it also became obvious that several drivers have bugs in this are because they don't return the correct value. Also, some drivers were not fully initializing all the space (including padding).
This is compile test only at this point, I don't have any of the hardware available (except virtio) to test.
Stephen Hemminger (14):
ethdev: add link status read/write functions
virtio: use eth_link_read/write (and bug fix)
bnxt: use rte_link_update
vmxnet3: use rte_eth_link_update
dpaa2: use rte_eth_link_update
nfp: use rte_eth_link_update
e1000: use rte_eth_link_update
ixgbe: use rte_eth_link_update
sfc: use new rte_eth_link helpers
i40e: use rte_eth_link_update (and bug fix)
liquidio: use _rte_eth_link_update
thunderx: use _rte_eth_link_update
szedata: use _rte_eth_link_update
enic: use _rte_eth_link_update
drivers/net/bnxt/bnxt_ethdev.c | 21 +------- drivers/net/dpaa2/dpaa2_ethdev.c | 66 +++--------------------- drivers/net/e1000/em_ethdev.c | 70 ++------------------------ drivers/net/e1000/igb_ethdev.c | 71 ++------------------------ drivers/net/enic/enic_ethdev.c | 5 +- drivers/net/enic/enic_main.c | 16 +++--- drivers/net/i40e/i40e_ethdev.c | 44 +++------------- drivers/net/i40e/i40e_ethdev_vf.c | 19 +------ drivers/net/ixgbe/ixgbe_ethdev.c | 89 +++++---------------------------- drivers/net/liquidio/lio_ethdev.c | 76 +++++++--------------------- drivers/net/nfp/nfp_net.c | 74 +++------------------------ drivers/net/sfc/sfc_ethdev.c | 27 +++------- drivers/net/sfc/sfc_ev.c | 23 ++------- drivers/net/szedata2/rte_eth_szedata2.c | 18 +++---- drivers/net/thunderx/nicvf_ethdev.c | 17 +------ drivers/net/virtio/virtio_ethdev.c | 54 +++----------------- drivers/net/vmxnet3/vmxnet3_ethdev.c | 66 ++---------------------- lib/librte_ether/rte_ethdev.c | 36 +++++++++++++ lib/librte_ether/rte_ethdev.h | 28 +++++++++++ 19 files changed, 171 insertions(+), 649 deletions(-)
Signature · 1 line
2.11.0