From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 510B1A0548; Fri, 12 Nov 2021 07:09:25 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C639740692; Fri, 12 Nov 2021 07:09:24 +0100 (CET) Received: from smtpbg506.qq.com (smtpbg506.qq.com [203.205.250.33]) by mails.dpdk.org (Postfix) with ESMTP id B878940687 for ; Fri, 12 Nov 2021 07:09:21 +0100 (CET) X-QQ-mid: bizesmtp31t1636697351tv3688ku Received: from jiawenwu (unknown [183.129.236.74]) by esmtp6.qq.com (ESMTP) with id ; Fri, 12 Nov 2021 14:09:08 +0800 (CST) X-QQ-SSF: 01400000000000E0J000B00A0000000 X-QQ-FEAT: Mzskoac49Oh7feJ9Iwgg7+/onDyosWOSgmgAz58fmzMDS99Wkf/zdpbm+8GDu 4vb0AdkhlDX+SaObGrZxJbunQwkzRjI6vxCUYqJRnje5TLt3zxNrcBPWXsT6n29zRzPC6lZ a5Ldd5ahJ7kCTrZj2ybgXwSi0HcvV/Fjw/p6k3PYf+cESOUxXROPG/rDhKdUZIlcFv/JuKG KR63FKjUONuV2l9hT9x7wn+WSC2uVn6jtIke0A3MNi9pxJkDpErrlYQ8OG3kpNqfHokbVld ZQ+AZWqJGhNxHtZrDUs76NtZpnwqEmheGnmynDrIQim+VsQBKkXTfzinasayXNlUa9D8TXD DiZljSMq5LPvNpAuaBXIpDycFy2bA== X-QQ-GoodBg: 2 From: "Jiawen Wu" To: "'Ferruh Yigit'" , "'Rasesh Mody'" , "'Shahed Shaikh'" , "'Rahul Lakkireddy'" , "'Qi Zhang'" , "'Xiao Wang'" , "'Ziyang Xuan'" , "'Xiaoyun Wang'" , "'Guoyang Zhou'" , "'Beilei Xing'" , "'Jingjing Wu'" , "'Qiming Yang'" , "'Rosen Xu'" , "'Haiyue Wang'" , "'Jian Wang'" , "'Maxime Coquelin'" , "'Chenbo Xia'" , "'Olivier Matz'" Cc: References: <20211110174029.614449-1-ferruh.yigit@intel.com> In-Reply-To: <20211110174029.614449-1-ferruh.yigit@intel.com> Subject: RE: [PATCH] net: add macro for VLAN header length Date: Fri, 12 Nov 2021 14:09:08 +0800 Message-ID: <002c01d7d78b$cf72c430$6e584c90$@trustnetic.com>+919F00C747D6394C MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQLWKaYTs9vLX9Nw1mm+k4LEhnNhh6oCwC5w Content-Language: zh-cn X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybgforeign:qybgforeign1 X-QQ-Bgrelay: 1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On November 11, 2021 1:40 AM, Ferruh Yigit wrote: > Multiple drivers are defining macros for VLAN header length, to remove the > redundancy defining macro in the ether header. > And updated drivers to use the new macro. > > Signed-off-by: Ferruh Yigit > --- > drivers/net/bnx2x/bnx2x_vfpf.c | 2 +- > drivers/net/bnx2x/bnx2x_vfpf.h | 2 -- > drivers/net/cxgbe/cxgbe_compat.h | 1 - > drivers/net/cxgbe/sge.c | 2 +- > drivers/net/fm10k/fm10k.h | 2 -- > drivers/net/fm10k/fm10k_ethdev.c | 2 +- > drivers/net/hinic/hinic_pmd_ethdev.h | 3 +-- > drivers/net/i40e/i40e_ethdev.h | 4 +--- > drivers/net/iavf/iavf.h | 3 +-- > drivers/net/ice/ice_dcf_ethdev.c | 2 +- > drivers/net/ice/ice_ethdev.h | 4 +--- > drivers/net/ipn3ke/ipn3ke_ethdev.h | 3 +-- > drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- > drivers/net/ixgbe/ixgbe_ethdev.h | 1 - > drivers/net/ixgbe/ixgbe_rxtx.c | 4 ++-- > drivers/net/ngbe/ngbe_ethdev.c | 2 +- > drivers/net/ngbe/ngbe_ethdev.h | 1 - > drivers/net/ngbe/ngbe_rxtx.c | 2 +- > drivers/net/txgbe/txgbe_ethdev.c | 2 +- > drivers/net/txgbe/txgbe_ethdev.h | 1 - > drivers/net/txgbe/txgbe_ethdev_vf.c | 2 +- > drivers/net/txgbe/txgbe_rxtx.c | 4 ++-- For txgbe/ngbe, Acked-by: Jiawen Wu > examples/vhost/main.c | 3 +-- > lib/net/rte_ether.h | 5 +++-- > 24 files changed, 23 insertions(+), 38 deletions(-)