From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Mazon Subject: Re: [PATCH v2 0/4] net/tap: support flow API Date: Tue, 7 Mar 2017 16:05:19 +0100 Message-ID: <20170307160519.6b8ff31b@paques.dev.6wind.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: keith.wiles@intel.com Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 5A119108A for ; Tue, 7 Mar 2017 16:05:36 +0100 (CET) Received: by mail-wm0-f45.google.com with SMTP id n11so92060536wma.1 for ; Tue, 07 Mar 2017 07:05:36 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Keith, I'm working on a v3 for that series: - I added info regarding flow API support in tap.rst doc - I fixed support for kernels where flower/vlan was not supported. Do you have any other remarks, or can I send the v3 (hopefully ok for integration)? I'll send a v2 for the latest series (introducing remote capture), because struct pmd_internals changed (whitespaces). Same question there, do you have remarks? Thank you. Best regards, Pascal On Mon, 6 Mar 2017 18:05:26 +0100 Pascal Mazon wrote: > This series add support for the flow API in tap PMD. > > It enables filtering specific packets incoming on the tap netdevice, > to process only desired ones. Under the hood, it uses kernel TC > (traffic control), which takes place very early in the stack, and > supports most common pattern items and actions defined in the flow > API. > > This series applies on top of: > > [PATCH 0/6] net/tap: add additional management ops > > v2 changes: > - support compilation on kernels < 4.2 (where flower support > appeared) > - set whitespaces in tap.h > - remove unnecessary goto > > Pascal Mazon (4): > net/tap: move private elements to external header > net/tap: add preliminary support for rte_flow > net/tap: add netlink back-end for flow API > net/tap: add basic flow API patterns and actions > > doc/guides/nics/features/tap.ini | 1 + > drivers/net/tap/Makefile | 44 ++ > drivers/net/tap/rte_eth_tap.c | 94 ++-- > drivers/net/tap/tap.h | 77 +++ > drivers/net/tap/tap_flow.c | 1084 > ++++++++++++++++++++++++++++++++++++++ > drivers/net/tap/tap_flow.h | 58 ++ > drivers/net/tap/tap_netlink.c | 367 +++++++++++++ > drivers/net/tap/tap_netlink.h | 69 +++ > drivers/net/tap/tap_tcmsgs.c | 378 +++++++++++++ > drivers/net/tap/tap_tcmsgs.h | 63 +++ 10 files changed, 2202 > insertions(+), 33 deletions(-) create mode 100644 > drivers/net/tap/tap.h create mode 100644 drivers/net/tap/tap_flow.c > create mode 100644 drivers/net/tap/tap_flow.h > create mode 100644 drivers/net/tap/tap_netlink.c > create mode 100644 drivers/net/tap/tap_netlink.h > create mode 100644 drivers/net/tap/tap_tcmsgs.c > create mode 100644 drivers/net/tap/tap_tcmsgs.h >