diff options
| author | Serhiy Boiko <[email protected]> | 2021-06-16 16:01:44 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-16 19:58:27 +0000 |
| commit | 8b474a9f6b3793480392bbdfcc546bb8e21b3735 (patch) | |
| tree | 1f7b5e50005e1dfacdee6a9f67b0a8a98e3da1ff /net/switchdev/switchdev.c | |
| parent | Merge branch 'net-smc-stats' (diff) | |
| download | kernel-8b474a9f6b3793480392bbdfcc546bb8e21b3735.tar.gz kernel-8b474a9f6b3793480392bbdfcc546bb8e21b3735.zip | |
net: marvell: Implement TC flower offload
Add ACL infrastructure for Prestera Switch ASICs family devices to
offload cls_flower rules to be processed in the HW.
ACL implementation is based on tc filter api. The flower classifier
is supported to configure ACL rules/matches/action.
Supported actions:
- drop
- trap
- pass
Supported dissector keys:
- indev
- src_mac
- dst_mac
- src_ip
- dst_ip
- ip_proto
- src_port
- dst_port
- vlan_id
- vlan_ethtype
- icmp type/code
Co-developed-by: Volodymyr Mytnyk <[email protected]>
Signed-off-by: Volodymyr Mytnyk <[email protected]>
Signed-off-by: Serhiy Boiko <[email protected]>
Signed-off-by: Vadym Kochan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
