From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nelio Laranjeiro Subject: [PATCH v2 0/3] net/mlx5: cleanup link status Date: Mon, 12 Mar 2018 14:43:16 +0100 Message-ID: References: <21fb91002768a627d9c7f3d81e0c8a12fbf6811f.1518684427.git.nelio.laranjeiro@6wind.com> Cc: Adrien Mazarguil , Yongseok Koh To: dev@dpdk.org Return-path: Received: from mail-wr0-f193.google.com (mail-wr0-f193.google.com [209.85.128.193]) by dpdk.org (Postfix) with ESMTP id C8D1F5593 for ; Mon, 12 Mar 2018 14:44:38 +0100 (CET) Received: by mail-wr0-f193.google.com with SMTP id v65so15729775wrc.11 for ; Mon, 12 Mar 2018 06:44:38 -0700 (PDT) In-Reply-To: <21fb91002768a627d9c7f3d81e0c8a12fbf6811f.1518684427.git.nelio.laranjeiro@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(-) -- 2.11.0