diff options
author | Wojciech Drewek <wojciech.drewek@intel.com> | 2022-07-18 14:18:11 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-07-26 10:20:29 -0700 |
commit | 5008750eff5d4af8a3aed4a7567c4cfb2b3cb156 (patch) | |
tree | 70722959e05e053f3cf0c86e68b005576e20690f /include | |
parent | 46126db9c86110e5fc1e369b9bb89735ddefdae4 (diff) | |
download | linux-stable-5008750eff5d4af8a3aed4a7567c4cfb2b3cb156.tar.gz linux-stable-5008750eff5d4af8a3aed4a7567c4cfb2b3cb156.tar.bz2 linux-stable-5008750eff5d4af8a3aed4a7567c4cfb2b3cb156.zip |
net/sched: flower: Add PPPoE filter
Add support for PPPoE specific fields for tc-flower.
Those fields can be provided only when protocol was set
to ETH_P_PPP_SES. Defines, dump, load and set are being done here.
Overwrite basic.n_proto only in case of PPP_IP and PPP_IPV6,
otherwise leave it as ETH_P_PPP_SES.
Signed-off-by: Wojciech Drewek <wojciech.drewek@intel.com>
Acked-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/pkt_cls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_cls.h b/include/uapi/linux/pkt_cls.h index 9a2ee1e39fad..c142c0f8ed8a 100644 --- a/include/uapi/linux/pkt_cls.h +++ b/include/uapi/linux/pkt_cls.h @@ -589,6 +589,9 @@ enum { TCA_FLOWER_KEY_NUM_OF_VLANS, /* u8 */ + TCA_FLOWER_KEY_PPPOE_SID, /* be16 */ + TCA_FLOWER_KEY_PPP_PROTO, /* be16 */ + __TCA_FLOWER_MAX, }; |