Thread (14 messages) 14 messages, 3 authors, 2022-07-07

Re: [RFC PATCH net-next v3 4/4] ice: Add support for PPPoE hardware offload

From: Marcin Szycik <hidden>
Date: 2022-07-05 09:55:38
Also in: intel-wired-lan


On 01-Jul-22 18:12, Marcin Szycik wrote:

On 01-Jul-22 01:12, Guillaume Nault wrote:
quoted
On Wed, Jun 29, 2022 at 04:38:59PM +0200, Marcin Szycik wrote:
quoted
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.com
Out of curiosity, can ice direct PPPoE Session packets to different
queues with RSS (based on the session ID)?
Hardware should support it, but I'm not sure if it's possible with the current driver and how to configure it. I'll try to find out.
From what I understand, currently it's not possible to configure RSS for PPPoE session id, because ethtool does not support PPPoE.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help