Skip to content

net/mlx5: cleanup link status

Nelio Laranjeiro dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 7 repliesIn review

Changes in v2 from the cover letter

- Removes kernel version verification, the bug it tried to detected was fixed several commit after in the PMD. Implementation in mlx5 kernel driver is only available since v4.9.
- Removes the alarm handler as this can be worked around by not acknowledging the event until the link becomes stable.
- Clean-up the API implementation by letting the application handle the interrupt and decide by itself to start/stop the device.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/mlx5: remove kernel version checkdrivers/net/mlx5/mlx5_ethdev.c+5 -120 replies
2/3net/mlx5: fix link status behaviordrivers/net/mlx5/mlx5.c drivers/net/mlx5/mlx5_ethdev.c drivers/net/mlx5/mlx5_trigger.c+12 -976 replies
3/3net/mlx5: fix link status to use wait to completedrivers/net/mlx5/mlx5.h drivers/net/mlx5/mlx5_defs.h drivers/net/mlx5/mlx5_ethdev.c+58 -940 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAdrien MazarguilYongseok Koh
1/3A-b
2/3A-b A-b
3/3A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] net/mlx5: cleanup link status

This series applies on top of [1] and cleans up the DPDK API implementation for the link status.

[1] https://dpdk.org/dev/patchwork/patch/35653/

Changes in v2:
- Removes kernel version verification, the bug it tried to detected was fixed several commit after in the PMD. Implementation in mlx5 kernel driver is only available since v4.9.
- Removes the alarm handler as this can be worked around by not acknowledging the event until the link becomes stable.
- Clean-up the API implementation by letting the application handle the interrupt and decide by itself to start/stop the device.

Nelio Laranjeiro (3):
net/mlx5: remove kernel version check net/mlx5: fix link status behavior net/mlx5: fix link status to use wait to complete

 drivers/net/mlx5/mlx5.c         |   2 +-
 drivers/net/mlx5/mlx5.h         |   1 -
 drivers/net/mlx5/mlx5_defs.h    |   4 +-
 drivers/net/mlx5/mlx5_ethdev.c  | 244 +++++++++-------------------------------
 drivers/net/mlx5/mlx5_trigger.c |  15 ++-
 5 files changed, 69 insertions(+), 197 deletions(-)
Signature · 1 line
2.11.0