From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 45A1D4CA1 for ; Tue, 24 Apr 2018 17:59:11 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id j5so1747620wme.5 for ; Tue, 24 Apr 2018 08:59:11 -0700 (PDT) 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:references:mime-version :content-disposition:in-reply-to; bh=Ntx/6uCLklxqsgTGPVN3vIC1p6y6JnxMFRX0SWgmVOw=; b=AmxsHf4KTaRQ+hV8CcbqUkAnRJu6kPVOQTR5pRUhu1ly55RaQHfgHc6eDJmNh2mmqz zxFQHpRLfnHy+vxIz0Xz1BPt1JIqqmVoREXCoS9WqMMckeBh9+6+EpRHZWCnVKOBj/Vc 7w+DrHdT0mFZPMkXzbeBf8vJdzBYj2j9Er3zoHj8FGp/v2jlSw233krpQqcEH/XlFZDd Rz9vGg9NX5UEFtow7cu4CKExFfRqQq9bYD7NL+aPORVQjVHAmr/a82u/7ZwD4ScOzWk3 iPxoGFGCpHyiFN7ENCGo0cQUNB8yESkscCsd5yIBzSgKcDe5ZaKG3EaOOXpRKa+tZURX L8QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Ntx/6uCLklxqsgTGPVN3vIC1p6y6JnxMFRX0SWgmVOw=; b=foMPFwmyWDIpyGIFz1V2Ml8lSMciuT0GGb/UT3qGBWvZfJbBPLA3NVZGTPVbdnhzti 2IwgBmTBY/zC/Fh+l1R7Fe8i8WfOhYuBPTvWTcSopvLHmx4buvmc+ahNJF5xIXrZApYL LbrINn/yA0+TjzBzwAn9Ho4pOc45njTNIlDJGUEtEzpwVEv1KVJHpWvLbDgUrYiQFL8q ScFXNCzcTmO/bXXdXGyJbJN4++joLu+eP7Gi8Y3quYusYKuvvkQslId450xKpDdCTIaK 21ZgJoxIXBLUKh7CsjeXGWkYTTIlb+veXkBkqy+hXl0FA/jt7em6Jf1ujLeN+8tGSZgl 9KAQ== X-Gm-Message-State: ALQs6tDfNOqm1EEnuUmaw6Pg99UalbbEqZr6WBZdo+MdYIjhnyN3KVTp peiepFcpfRsKF7zUHpaC6/yccA== X-Google-Smtp-Source: AIpwx4/53AwwHRhJXctkF6fl6srdQtW04z5tEASgnvObzQP8HmZRZox8RLUODi+RoT3F0bNfUwmluQ== X-Received: by 10.28.0.84 with SMTP id 81mr12259832wma.31.1524585550847; Tue, 24 Apr 2018 08:59:10 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id o20-v6sm14908222wro.7.2018.04.24.08.59.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 08:59:10 -0700 (PDT) Date: Tue, 24 Apr 2018 17:58:56 +0200 From: Adrien Mazarguil To: Ferruh Yigit , Qi Zhang Cc: dev@dpdk.org, declan.doherty@intel.com, sugesh.chandran@intel.com, michael.j.glynn@intel.com, yu.y.liu@intel.com, konstantin.ananyev@intel.com, bruce.richardson@intel.com Message-ID: <20180424154822.19666-1-adrien.mazarguil@6wind.com> References: <20180423063610.246387-1-qi.z.zhang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180423063610.246387-1-qi.z.zhang@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v5 0/3] rte_flow extension for vSwitch acceleration 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, 24 Apr 2018 15:59:11 -0000 v5 (Adrien): While the previous version (v4) looked fine, I noticed several issues and inconsistencies while testing it. I decided to take over Qi Zhang's series to hasten things for RC1. Please have a look at individual patches, where I summarized the changes for each of them. v4: - Change to OpenFlow complied TTL actions - Change to OpenFlow complied VLAN/MPLS actions. - typos fix. - Remove generic field_set action since, couple opens not closed (should we move to dedicate filed modification actions?) v3: - remove patch for port action and enhanced statistic query. - reworked IPv6 ND related pattern base on Adrien's suggestion. - remove generic increament/decrement/copy action - rework packet modification action(RTE_FLOW_ACTION_TYPE_FIELD_SET). - Add OpenFlow friendly TTL change actions. - Add OpenFlow friendly VLAN/MPLS push/pop actions v2: - fix couple typoes in code, doc and commit log This patch extend rte_flow API. The purpose is to provide necessary programming interface for virtual switch software (such as OVS) to take advantage of incoming device's vSwitch acceleration capability when using DPDK as data plane. Note: - The driver to demonstrate the new APIs is still in development, but we hope it could be accepted early to make OVS integration smoothly. Qi Zhang (3): ethdev: add neighbor discovery support to flow API ethdev: add TTL change actions to flow API ethdev: add VLAN and MPLS actions to flow API app/test-pmd/cmdline_flow.c | 472 +++++++++++++++++++++++ app/test-pmd/config.c | 29 ++ doc/guides/prog_guide/rte_flow.rst | 309 ++++++++++++++- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 76 ++++ lib/librte_ether/rte_flow.c | 29 ++ lib/librte_ether/rte_flow.h | 424 +++++++++++++++++++- 6 files changed, 1336 insertions(+), 3 deletions(-) -- 2.11.0