From: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH net-next 0/4] support for tunnel in ice eswitch
Date: Mon, 11 Oct 2021 11:48:17 +0200 [thread overview]
Message-ID: <20211011094821.5286-1-michal.swiatkowski@linux.intel.com> (raw)
This series adds the support for ice vxlan, geneve and gre offload.
Support adding drop and redirect filter from and to this tunnel deivces.
From means from uplink to VF and to means from VF to uplink. There is no
support for decapsulation and encapsulation offload.
example:
- vxlan from uplink to VF:
tc filter add dev $VXLAN_DEV protocol ip parent ffff: flower enc_dst_ip \
$VF1_IP enc_key_id $VXLAN_VNI action mirred egress redirect dev $VF1_PR
- vxlan from VF to uplink:
tc filter add dev $VF1_PR protocol ip parent ffff: flower enc_dst_ip \
$LP_IP enc_key_id $VXLAN_VNI action mirred egress redirect dev $VXLAN_DEV
Michal Swiatkowski (4):
ice: support for indirect notification
ice: vxlan and geneve tc support
ice: low level support for tunnels
ice: support for gre in eswitch
drivers/net/ethernet/intel/ice/ice.h | 8 +
.../net/ethernet/intel/ice/ice_flex_pipe.c | 26 +-
.../net/ethernet/intel/ice/ice_flex_type.h | 4 +
drivers/net/ethernet/intel/ice/ice_main.c | 196 ++++++++-
.../ethernet/intel/ice/ice_protocol_type.h | 35 ++
drivers/net/ethernet/intel/ice/ice_switch.c | 374 ++++++++++++++++-
drivers/net/ethernet/intel/ice/ice_switch.h | 3 +
drivers/net/ethernet/intel/ice/ice_tc_lib.c | 393 ++++++++++++++++--
drivers/net/ethernet/intel/ice/ice_tc_lib.h | 10 +
9 files changed, 1000 insertions(+), 49 deletions(-)
--
2.31.1
next reply other threads:[~2021-10-11 9:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-11 9:48 Michal Swiatkowski [this message]
2021-10-11 9:48 ` [Intel-wired-lan] [PATCH net-next 1/4] ice: support for indirect notification Michal Swiatkowski
2021-10-11 9:48 ` [Intel-wired-lan] [PATCH net-next 2/4] ice: vxlan and geneve tc support Michal Swiatkowski
2021-10-11 9:48 ` [Intel-wired-lan] [PATCH net-next 3/4] ice: low level support for tunnels Michal Swiatkowski
2021-10-11 23:15 ` kernel test robot
2021-10-11 9:48 ` [Intel-wired-lan] [PATCH net-next 4/4] ice: support for gre in eswitch Michal Swiatkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211011094821.5286-1-michal.swiatkowski@linux.intel.com \
--to=michal.swiatkowski@linux.intel.com \
--cc=intel-wired-lan@osuosl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox