> -----Original Message-----
> From: Yigit, Ferruh <ferruh.yi...@intel.com>
> Sent: Thursday, November 11, 2021 01:40
> To: Rasesh Mody <rm...@marvell.com>; Shahed Shaikh <shsha...@marvell.com>; 
> Rahul Lakkireddy
> <rahul.lakkire...@chelsio.com>; Zhang, Qi Z <qi.z.zh...@intel.com>; Wang, 
> Xiao W
> <xiao.w.w...@intel.com>; Ziyang Xuan <xuanziya...@huawei.com>; Xiaoyun Wang
> <cloud.wangxiao...@huawei.com>; Guoyang Zhou <zhouguoy...@huawei.com>; Xing, 
> Beilei
> <beilei.x...@intel.com>; Wu, Jingjing <jingjing...@intel.com>; Yang, Qiming 
> <qiming.y...@intel.com>;
> Xu, Rosen <rosen...@intel.com>; Wang, Haiyue <haiyue.w...@intel.com>; Jiawen 
> Wu
> <jiawe...@trustnetic.com>; Jian Wang <jianw...@trustnetic.com>; Maxime 
> Coquelin
> <maxime.coque...@redhat.com>; Xia, Chenbo <chenbo....@intel.com>; Olivier 
> Matz <olivier.m...@6wind.com>
> Cc: Yigit, Ferruh <ferruh.yi...@intel.com>; dev@dpdk.org
> Subject: [PATCH] net: add macro for VLAN header length
> 
> 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 <ferruh.yi...@intel.com>
> ---
>  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 ++--

Thanks for the cleanup work. ;-)

Acked-by: Haiyue Wang <haiyue.w...@intel.com>

>  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 ++--
>  examples/vhost/main.c                | 3 +--
>  lib/net/rte_ether.h                  | 5 +++--
>  24 files changed, 23 insertions(+), 38 deletions(-)
> 


> --
> 2.31.1

Reply via email to