[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <PH0PR11MB5013A54736DCFB50D37036F29629A@PH0PR11MB5013.namprd11.prod.outlook.com>
Date: Mon, 3 Jul 2023 11:49:12 +0000
From: "Buvaneswaran, Sujai" <sujai.buvaneswaran@...el.com>
To: Marcin Szycik <marcin.szycik@...ux.intel.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "jiri@...nulli.us" <jiri@...nulli.us>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, "idosch@...dia.com" <idosch@...dia.com>,
"Brandeburg, Jesse" <jesse.brandeburg@...el.com>, "simon.horman@...igine.com"
<simon.horman@...igine.com>, "kuba@...nel.org" <kuba@...nel.org>,
"pabeni@...hat.com" <pabeni@...hat.com>, "davem@...emloft.net"
<davem@...emloft.net>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v2 6/6] ice: Add support for
PFCP hardware offload in switchdev
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Marcin Szycik
> Sent: Wednesday, June 7, 2023 4:56 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: jiri@...nulli.us; netdev@...r.kernel.org; idosch@...dia.com;
> Brandeburg, Jesse <jesse.brandeburg@...el.com>;
> simon.horman@...igine.com; kuba@...nel.org; pabeni@...hat.com;
> davem@...emloft.net
> Subject: [Intel-wired-lan] [PATCH iwl-next v2 6/6] ice: Add support for PFCP
> hardware offload in switchdev
>
> Add support for creating PFCP filters in switchdev mode. Add support for
> parsing PFCP-specific tc options: S flag and SEID.
>
> To create a PFCP filter, a special netdev must be created and passed to tc
> command:
>
> ip link add pfcp0 type pfcp
> tc filter add dev eth0 ingress prio 1 flower pfcp_opts \
> 1:123/ff:fffffffffffffff0 skip_hw action mirred egress redirect dev pfcp0
>
> Changes in iproute2 are required to be able to add the pfcp netdev and use
> pfcp_opts in tc.
>
> ICE COMMS package is required to create a filter as it contains PFCP profiles.
>
> Signed-off-by: Marcin Szycik <marcin.szycik@...ux.intel.com>
> Reviewed-by: Simon Horman <simon.horman@...igine.com>
> ---
> drivers/net/ethernet/intel/ice/ice_ddp.c | 9 ++
> .../net/ethernet/intel/ice/ice_flex_type.h | 4 +-
> .../ethernet/intel/ice/ice_protocol_type.h | 12 +++
> drivers/net/ethernet/intel/ice/ice_switch.c | 85 +++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_switch.h | 2 +
> drivers/net/ethernet/intel/ice/ice_tc_lib.c | 58 +++++++++++--
> drivers/net/ethernet/intel/ice/ice_tc_lib.h | 5 ++
> 7 files changed, 168 insertions(+), 7 deletions(-)
>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@...el.com>
Powered by blists - more mailing lists