[Intel-wired-lan] [PATCH net-next v3 04/14] ice: Introduce ice_vlan struct

G, GurucharanX gurucharanx.g at intel.com
Fri Dec 10 06:26:53 UTC 2021



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of Tony
> Nguyen
> Sent: Thursday, December 2, 2021 10:09 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net-next v3 04/14] ice: Introduce ice_vlan
> struct
> 
> From: Brett Creeley <brett.creeley at intel.com>
> 
> Add a new struct for VLAN related information. Currently this holds VLAN ID
> and priority values, but will be expanded to hold TPID value.
> This reduces the changes necessary if any other values are added in future.
> Remove the action argument from these calls as it's always ICE_FWD_VSI.
> 
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_fltr.c     | 35 +++++++------------
>  drivers/net/ethernet/intel/ice/ice_fltr.h     | 10 +++---
>  drivers/net/ethernet/intel/ice/ice_lib.c      |  5 ++-
>  drivers/net/ethernet/intel/ice/ice_lib.h      |  1 +
>  drivers/net/ethernet/intel/ice/ice_main.c     |  8 +++--
>  .../net/ethernet/intel/ice/ice_virtchnl_pf.c  | 19 ++++++----
>  drivers/net/ethernet/intel/ice/ice_vlan.h     | 17 +++++++++
>  .../net/ethernet/intel/ice/ice_vsi_vlan_lib.c | 31 +++++++++-------
> .../net/ethernet/intel/ice/ice_vsi_vlan_lib.h |  9 +++--
> .../net/ethernet/intel/ice/ice_vsi_vlan_ops.h |  6 ++--
>  10 files changed, 82 insertions(+), 59 deletions(-)  create mode 100644
> drivers/net/ethernet/intel/ice/ice_vlan.h
> 

Tested-by: Gurucharan G <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list