From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrien Mazarguil Subject: [PATCH v3 0/5] Add flow director and RX VLAN stripping support Date: Thu, 3 Mar 2016 15:26:39 +0100 Message-ID: <1457015204-2941-1-git-send-email-adrien.mazarguil@6wind.com> References: <1456164127-28072-1-git-send-email-adrien.mazarguil@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 95F432BA0 for ; Thu, 3 Mar 2016 15:27:03 +0100 (CET) Received: by mail-wm0-f52.google.com with SMTP id p65so37261685wmp.1 for ; Thu, 03 Mar 2016 06:27:03 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id za6sm40887279wjc.18.2016.03.03.06.27.01 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Mar 2016 06:27:01 -0800 (PST) In-Reply-To: <1456164127-28072-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" To preserve compatibility with Mellanox OFED 3.1, flow director and RX VLAN stripping code is only enabled if compiled with 3.2. Changes in v3: - Fixed flow registration issue caused by missing masks in flow rules. - Fixed packet duplication with overlapping FDIR rules. - Added FDIR flush command support. - Updated Mellanox OFED prerequisite to 3.2-2.0.0.0. Changes in v2: - Rebased patchset on top of dpdk-next-net/rel_16_04. - Fixed trivial compilation warnings (positive errnos are left on purpose). - Updated documentation and release notes for flow director and RX VLAN stripping features. - Fixed missing Mellanox OFED >= 3.2 check for CQ family query interface version. Yaacov Hazan (5): mlx5: refactor special flows handling mlx5: add special flows (broadcast and IPv6 multicast) mlx5: make flow steering rule generator more generic mlx5: add support for flow director mlx5: add support for RX VLAN stripping doc/guides/nics/mlx5.rst | 16 +- doc/guides/rel_notes/release_16_04.rst | 13 + drivers/net/mlx5/Makefile | 6 + drivers/net/mlx5/mlx5.c | 39 +- drivers/net/mlx5/mlx5.h | 19 +- drivers/net/mlx5/mlx5_defs.h | 14 + drivers/net/mlx5/mlx5_ethdev.c | 3 +- drivers/net/mlx5/mlx5_fdir.c | 980 +++++++++++++++++++++++++++++++++ drivers/net/mlx5/mlx5_mac.c | 10 +- drivers/net/mlx5/mlx5_rxmode.c | 350 ++++++------ drivers/net/mlx5/mlx5_rxq.c | 82 ++- drivers/net/mlx5/mlx5_rxtx.c | 27 + drivers/net/mlx5/mlx5_rxtx.h | 51 +- drivers/net/mlx5/mlx5_trigger.c | 21 +- drivers/net/mlx5/mlx5_vlan.c | 104 ++++ 15 files changed, 1508 insertions(+), 227 deletions(-) create mode 100644 drivers/net/mlx5/mlx5_fdir.c -- 2.1.4