From: David Miller Subject: Re: [PATCHv6 net-next 0/3] net: erspan: add support for openvswitch Date: Thu, 25 Jan 2018 21:40:19 -0500 (EST) Message-ID: <20180125.214019.1521617722157707979.davem@davemloft.net> References: <1516915211-5869-1-git-send-email-u9012063@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, pshelar@ovn.org To: u9012063@gmail.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:39092 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688AbeAZCkU (ORCPT ); Thu, 25 Jan 2018 21:40:20 -0500 In-Reply-To: <1516915211-5869-1-git-send-email-u9012063@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: William Tu Date: Thu, 25 Jan 2018 13:20:08 -0800 > The first patch refactors the erspan header definitions. > Originally, the erspan fields are defined as a group into a __be16 field, > and use mask and offset to access each field. This is more costly due to > calling ntohs/htons and error-prone. The first patch changes it to use > bitfields. The second patch creates erspan.h in UAPI and move the definition > 'struct erspan_metadata' to it for later openvswitch to use. The final patch > introduces the new OVS tunnel key attribute, OVS_TUNNEL_KEY_ATTR_ERSPAN_OPTS, > to program both v1 and v2 erspan tunnel for openvswitch. Series applied, thanks William.