From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
edumazet@google.com
Cc: Tony Nguyen <anthony.l.nguyen@intel.com>,
netdev@vger.kernel.org, xiyou.wangcong@gmail.com,
jesse.brandeburg@intel.com, gustavoars@kernel.org,
baowen.zheng@corigine.com, boris.sukholitko@broadcom.com,
kurt@linutronix.de, pablo@netfilter.org, paulb@nvidia.com,
simon.horman@corigine.com, komachi.yoshiki@gmail.com,
zhangkaiheb@126.com, michal.swiatkowski@linux.intel.com,
wojciech.drewek@intel.com, alexandr.lobakin@intel.com,
gnault@redhat.com, mostrows@speakeasy.net, paulus@samba.org,
marcin.szycik@linux.intel.com
Subject: [PATCH net-next 0/4][pull request] ice: PPPoE offload support
Date: Tue, 26 Jul 2022 13:31:29 -0700 [thread overview]
Message-ID: <20220726203133.2171332-1-anthony.l.nguyen@intel.com> (raw)
Marcin Szycik says:
Add support for dissecting PPPoE and PPP-specific fields in flow dissector:
PPPoE session id and PPP protocol type. Add support for those fields in
tc-flower and support offloading PPPoE. Finally, add support for hardware
offload of PPPoE packets in switchdev mode in ice driver.
Example filter:
tc filter add dev $PF1 ingress protocol ppp_ses prio 1 flower pppoe_sid \
1234 ppp_proto ip skip_sw action mirred egress redirect dev $VF1_PR
Changes in iproute2 are required to use the new fields (will be submitted
soon).
ICE COMMS DDP package is required to create a filter in ice.
---
From RFC:
v6:
* make check for ppp proto more generic
* fix remaining byte order issues
v5: fix endianness when processing compressed protocols
v4:
* PPPoE header validation
* added MPLS support
* added support for compressed PPP protocol field
* flow_dissector_key_pppoe::session_id stored in __be16
* new field: flow_dissector_key_pppoe::type
* always add an ethtype lookup if PPP/PPPoE options are provided (to
prevent setting incorrect ethtype)
* rebase
v3:
* revert byte order changes in is_ppp_proto_supported from previous
version
* add kernel-doc for is_ppp_proto_supported
* add more CC
v2: cosmetic changes
The following are changes since commit 35d099da41967f114c6472b838e12014706c26e7:
Merge branch 'octeontx2-minor-tc-fixes'
and are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE
Marcin Szycik (1):
ice: Add support for PPPoE hardware offload
Wojciech Drewek (3):
flow_dissector: Add PPPoE dissectors
net/sched: flower: Add PPPoE filter
flow_offload: Introduce flow_match_pppoe
drivers/net/ethernet/intel/ice/ice.h | 1 +
.../net/ethernet/intel/ice/ice_flex_pipe.c | 5 +-
.../ethernet/intel/ice/ice_protocol_type.h | 11 ++
drivers/net/ethernet/intel/ice/ice_switch.c | 165 ++++++++++++++++++
drivers/net/ethernet/intel/ice/ice_tc_lib.c | 71 +++++++-
drivers/net/ethernet/intel/ice/ice_tc_lib.h | 8 +
include/linux/ppp_defs.h | 14 ++
include/net/flow_dissector.h | 13 ++
include/net/flow_offload.h | 6 +
include/uapi/linux/pkt_cls.h | 3 +
net/core/flow_dissector.c | 53 +++++-
net/core/flow_offload.c | 7 +
net/sched/cls_flower.c | 64 +++++++
13 files changed, 412 insertions(+), 9 deletions(-)
--
2.35.1
next reply other threads:[~2022-07-26 20:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-26 20:31 Tony Nguyen [this message]
2022-07-26 20:31 ` [PATCH net-next 1/4] flow_dissector: Add PPPoE dissectors Tony Nguyen
2022-07-26 20:31 ` [PATCH net-next 2/4] net/sched: flower: Add PPPoE filter Tony Nguyen
2022-07-26 20:31 ` [PATCH net-next 3/4] flow_offload: Introduce flow_match_pppoe Tony Nguyen
2022-07-26 20:31 ` [PATCH net-next 4/4] ice: Add support for PPPoE hardware offload Tony Nguyen
2022-07-28 10:40 ` [PATCH net-next 0/4][pull request] ice: PPPoE offload support patchwork-bot+netdevbpf
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=20220726203133.2171332-1-anthony.l.nguyen@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=alexandr.lobakin@intel.com \
--cc=baowen.zheng@corigine.com \
--cc=boris.sukholitko@broadcom.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=gnault@redhat.com \
--cc=gustavoars@kernel.org \
--cc=jesse.brandeburg@intel.com \
--cc=komachi.yoshiki@gmail.com \
--cc=kuba@kernel.org \
--cc=kurt@linutronix.de \
--cc=marcin.szycik@linux.intel.com \
--cc=michal.swiatkowski@linux.intel.com \
--cc=mostrows@speakeasy.net \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pablo@netfilter.org \
--cc=paulb@nvidia.com \
--cc=paulus@samba.org \
--cc=simon.horman@corigine.com \
--cc=wojciech.drewek@intel.com \
--cc=xiyou.wangcong@gmail.com \
--cc=zhangkaiheb@126.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.