net/ice: support more PPPoE packet type for switch
authorWei Zhao <wei.zhao1@intel.com>
Fri, 3 Jul 2020 06:19:34 +0000 (14:19 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commite8c321e5ee61eac3911c322e96d2314882717ca4
tree64289457d8281824977621b5f4db1cd15619f18e
parentf3fddc93de16dbd3acdb859699601aef948e3e1e
net/ice: support more PPPoE packet type for switch

This patch add more support for switch parser of PPPoE packet,
it enable parse tcp/udp L4 layer and ipv4/ipv6 L3 layer parser for
PPPoE payload, so we can use L4 dst/src port and L3 ip address as
input set for switch filter PPPoE related rule.

Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/rel_notes/release_20_08.rst
drivers/net/ice/ice_switch_filter.c