[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ0PR11MB58651C53E9D31731FF3E6AAE8FA92@SJ0PR11MB5865.namprd11.prod.outlook.com>
Date: Tue, 23 Jul 2024 08:01:29 +0000
From: "Romanowski, Rafal" <rafal.romanowski@...el.com>
To: "Zaki, Ahmed" <ahmed.zaki@...el.com>, "intel-wired-lan@...ts.osuosl.org"
<intel-wired-lan@...ts.osuosl.org>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>, "Zaki, Ahmed"
<ahmed.zaki@...el.com>, Marcin Szycik <marcin.szycik@...ux.intel.com>,
"Nguyen, Anthony L" <anthony.l.nguyen@...el.com>, "Keller, Jacob E"
<jacob.e.keller@...el.com>, "Guo, Junfeng" <junfeng.guo@...el.com>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v2 07/13] ice: add UDP tunnels
support to the parser
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Ahmed Zaki
> Sent: Monday, May 27, 2024 8:58 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: netdev@...r.kernel.org; Zaki, Ahmed <ahmed.zaki@...el.com>; Marcin
> Szycik <marcin.szycik@...ux.intel.com>; Nguyen, Anthony L
> <anthony.l.nguyen@...el.com>; Keller, Jacob E <jacob.e.keller@...el.com>; Guo,
> Junfeng <junfeng.guo@...el.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v2 07/13] ice: add UDP tunnels support
> to the parser
>
> From: Junfeng Guo <junfeng.guo@...el.com>
>
> Add support for the vxlan, geneve, ecpri UDP tunnels through the following APIs:
> - ice_parser_vxlan_tunnel_set()
> - ice_parser_geneve_tunnel_set()
> - ice_parser_ecpri_tunnel_set()
>
> Reviewed-by: Marcin Szycik <marcin.szycik@...ux.intel.com>
> Signed-off-by: Qi Zhang <qi.z.zhang@...el.com>
> Signed-off-by: Junfeng Guo <junfeng.guo@...el.com>
> Signed-off-by: Ahmed Zaki <ahmed.zaki@...el.com>
> ---
> drivers/net/ethernet/intel/ice/ice_parser.c | 92 +++++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_parser.h | 13 +++
> 2 files changed, 105 insertions(+)
>
> diff --git a/drivers/net/ethernet/intel/ice/ice_parser.c
> b/drivers/net/ethernet/intel/ice/ice_parser.c
> index c490bff94355..6a0d5f720af0 100644
> --- a/drivers/net/ethernet/intel/ice/ice_parser.c
> +++ b/drivers/net/ethernet/intel/ice/ice_parser.c
> @@ -1373,6 +1373,12 @@ static void ice_parse_lbl_item(struct ice_hw *hw, u16
> idx, void *item,
> lbl_item->type = ICE_LBL_BST_TYPE_DVM;
> else if (strstarts(lbl_item->label, ICE_LBL_BST_SVM))
> lbl_item->type = ICE_LBL_BST_TYPE_SVM;
> + else if (strstarts(lbl_item->label, ICE_LBL_TNL_VXLAN))
> + lbl_item->type = ICE_LBL_BST_TYPE_VXLAN;
> + else if (strstarts(lbl_item->label, ICE_LBL_TNL_GENEVE))
> + lbl_item->type = ICE_LBL_BST_TYPE_GENEVE;
> + else if (strstarts(lbl_item->label, ICE_LBL_TNL_UDP_ECPRI))
> + lbl_item->type = ICE_LBL_BST_TYPE_UDP_ECPRI;
>
> if (hw->debug_mask & ICE_DBG_PARSER)
> ice_lbl_dump(hw, lbl_item);
> @@ -2174,3 +2180,89 @@ void ice_parser_dvm_set(struct ice_parser *psr, bool
> on)
Tested-by: Rafal Romanowski <rafal.romanowski@...el.com>
Powered by blists - more mailing lists