• Marcin Szycik's avatar
    ice: Add support for PPPoE hardware offload · cd8efeee
    Marcin Szycik authored
    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.
    Signed-off-by: default avatarMarcin Szycik <marcin.szycik@linux.intel.com>
    Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
    cd8efeee
ice_protocol_type.h 6.36 KB