[dpdk-dev] [PATCH v2 0/3] Add link status notification support to Mellanox PMDs

Adrien Mazarguil adrien.mazarguil at 6wind.com
Fri Oct 30 19:57:20 CET 2015


Mellanox PMDs (mlx4 and mlx5) support link status notification with
libibverbs through a file descriptor, in a manner reminiscent of UIO/VFIO.

It still requires a new "external" interrupt handler type since contrary
to other types, this file descriptor must not be processed by EAL.

Changes in v2:
- Only changes caused by rebase on v2 of previous patchsets
  ("Mellanox ConnectX-4 PMD (mlx5)" and
  "Enhance mlx5 with Mellanox OFED 3.1")

Nelio Laranjeiro (3):
  eal: new interrupt handler type
  mlx4: handle interrupts
  mlx5: handle interrupts

 drivers/net/mlx4/mlx4.c                            | 166 +++++++++++++++++++++
 drivers/net/mlx4/mlx4.h                            |   3 +
 drivers/net/mlx5/mlx5.c                            |   3 +
 drivers/net/mlx5/mlx5.h                            |   7 +
 drivers/net/mlx5/mlx5_defs.h                       |   3 +
 drivers/net/mlx5/mlx5_ethdev.c                     | 150 +++++++++++++++++++
 drivers/net/mlx5/mlx5_trigger.c                    |   4 +
 lib/librte_eal/linuxapp/eal/eal_interrupts.c       |  34 +++--
 .../linuxapp/eal/include/exec-env/rte_interrupts.h |   1 +
 9 files changed, 356 insertions(+), 15 deletions(-)

-- 
2.1.0



More information about the dev mailing list