From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=XweYd22fqkXYHJBPA3eusCSd1M+m/teFGAXtUZuhvuU=; b=REqAQJkrtVaU/MUztla45cBoQKTtqfOwmMjgXYiauxRRo4yrqMxYmAln/BpKZ7B2eP /bfxdkHDL4vWAJHn+/VRr2pA0fc7/f+jx74HLFy+PuaGLk2pyALrHdpa2a3NdVIQuuD4 3tOq3FJJLKDH/9OHsY+jkXI77K8mvfJ++8i3XV63AhboqzS155YnFiAz7CQB6F5ZfI6I JC13BU1l3wDxwINf4tHRUXUiqnobKGLFD8yuNfc0HBqEpTFzFe6Y+eV7+k27r3JZu+mK m+8RCg4hfWcb8US4X99RIJntoYnw9vufknAknXfV01SzrzdhZ3IX96bt3sywJhdjS9bp IAbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=XweYd22fqkXYHJBPA3eusCSd1M+m/teFGAXtUZuhvuU=; b=NakybzZ3RzSsQdVuY3UqlljE+iLthCOALc8SPsOpUtSB0ZAMQeUKvbqNxBushUSr4X 9LSUwfyRfzXdfJ57IzigNtULw5gq2UpV7JSsqJXVqHFvpfbDXbFSeIyqule84ngWiYp3 TIc9pC1ACoGqTpO3Yx80hCXHXEzLqHXR1dnqBvjpmSRNqVaTe4cOz9/7st9GpjIhja+y qDhrSxOCbc3cMNBqXHD/RZqAHwIlFRK5R10hnyzqDLqkMjgquOrCvOM7GjfC/JWyrYkd PJ7r2aaYKesHUJXyv9IsmGeC6u88jR6xNddOGZIBVgTBa4X2V/P8380UNeKiXDkxJhw5 T8Og== X-Gm-Message-State: AMke39kW3a9K9PA2RLT4vLZVp3uBxVH2VB/kEMVwV6ajfmAlL0yAehy9iz11ZgkMsl8aQW3T X-Received: by 10.28.46.19 with SMTP id u19mr3090030wmu.1.1488899135922; Tue, 07 Mar 2017 07:05:35 -0800 (PST) Received: from paques.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id 94sm322813wrl.50.2017.03.07.07.05.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2017 07:05:35 -0800 (PST) Date: Tue, 7 Mar 2017 16:05:19 +0100 From: Pascal Mazon To: keith.wiles@intel.com Cc: dev@dpdk.org Message-ID: <20170307160519.6b8ff31b@paques.dev.6wind.com> In-Reply-To: References: Organization: 6WIND X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 0/4] net/tap: support flow API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2017 15:05:36 -0000 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 >