diff options
author | Geetha sowjanya <gakula@marvell.com> | 2024-11-07 21:38:38 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-11-13 11:57:12 +0000 |
commit | 6c40ca957fe5d5982d55fc77d86d9f8ea0b6bba6 (patch) | |
tree | 76d626e8697b19ebc68e50ddf838bb0722036ee6 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | d8dec30b51655bdab2657978982e49b6c13ce3d3 (diff) | |
download | linux-6c40ca957fe5d5982d55fc77d86d9f8ea0b6bba6.tar.gz linux-6c40ca957fe5d5982d55fc77d86d9f8ea0b6bba6.tar.bz2 linux-6c40ca957fe5d5982d55fc77d86d9f8ea0b6bba6.zip |
octeontx2-pf: Adds TC offload support
Implements tc offload support for rvu representors.
Usage example:
- Add tc rule to drop packets with vlan id 3 using port
representor(Rpf1vf0).
# tc filter add dev Rpf1vf0 protocol 802.1Q parent ffff: flower
vlan_id 3 vlan_ethtype ipv4 skip_sw action drop
- Redirect packets with vlan id 5 and IPv4 packets to eth1,
after stripping vlan header.
# tc filter add dev Rpf1vf0 ingress protocol 802.1Q flower vlan_id 5
vlan_ethtype ipv4 skip_sw action vlan pop action mirred ingress
redirect dev eth1
Signed-off-by: Geetha sowjanya <gakula@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions