Re: [RFC PATCH net-next v3 4/4] ice: Add support for PPPoE hardware offload
From: Guillaume Nault <hidden>
Date: 2022-06-30 23:13:04
Also in:
intel-wired-lan
From: Guillaume Nault <hidden>
Date: 2022-06-30 23:13:04
Also in:
intel-wired-lan
On Wed, Jun 29, 2022 at 04:38:59PM +0200, Marcin Szycik wrote:
Add support for creating PPPoE filters in switchdev mode. Add support
for parsing PPPoE and PPP-specific tc options: pppoe_sid and ppp_proto.
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.
ICE COMMS DDP package is required to create a filter as it contains PPPoE
profiles. Added a warning message when loaded DDP package does not contain
required profiles.
Note: currently matching on vlan + PPPoE fields is not supported. Patch [0]
will add this feature.
[0] https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20220420210048.5809-1-martyna.szapar-mudlaw@intel.comOut of curiosity, can ice direct PPPoE Session packets to different queues with RSS (based on the session ID)?