From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: [PATCH v2 0/3] Add link status notification support to Mellanox PMDs Date: Fri, 30 Oct 2015 19:57:20 +0100 Message-ID: <1446231443-8285-1-git-send-email-adrien.mazarguil@6wind.com> References: <1444067795-29748-1-git-send-email-adrien.mazarguil@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id D6A669380 for ; Fri, 30 Oct 2015 19:57:43 +0100 (CET) Received: by wmeg8 with SMTP id g8so18594494wme.0 for ; Fri, 30 Oct 2015 11:57:43 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id lf10sm8393618wjb.23.2015.10.30.11.57.42 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 30 Oct 2015 11:57:43 -0700 (PDT) In-Reply-To: <1444067795-29748-1-git-send-email-adrien.mazarguil@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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