aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/lib/py/env.py
diff options
context:
space:
mode:
authorJeroen de Borst <[email protected]>2024-06-25 00:12:31 +0000
committerJakub Kicinski <[email protected]>2024-06-26 00:48:33 +0000
commit6f3bc487565d30ae9535e338efad213dd74c04ec (patch)
tree74478f785ba09d99c77fd4fee9a401cfda284274 /tools/testing/selftests/drivers/net/lib/py/env.py
parentgve: Add flow steering adminq commands (diff)
downloadkernel-6f3bc487565d30ae9535e338efad213dd74c04ec.tar.gz
kernel-6f3bc487565d30ae9535e338efad213dd74c04ec.zip
gve: Add flow steering ethtool support
Implement the ethtool commands that can be used to configure and query flow-steering rules. A large part of this change consists of translating the ethtool representation of 'ntuples' to our internal gve_flow_rule and vice-versa in the new created gve_flow_rule.c Considering the possible large amount of flow rules, the driver doesn't store all the rules locally. When the user runs 'ethtool -n <nic>' to check the registered rules, the driver will send adminq command to query a limited amount of rules/rule ids(that filled in a 4096 bytes dma memory) at a time as a cache for the ethtool queries. The adminq query commands will be repeated for several times until the ethtool has queried all the needed rules. Signed-off-by: Jeroen de Borst <[email protected]> Co-developed-by: Ziwei Xiao <[email protected]> Signed-off-by: Ziwei Xiao <[email protected]> Reviewed-by: Praveen Kaligineedi <[email protected]> Reviewed-by: Harshitha Ramamurthy <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/env.py')
0 files changed, 0 insertions, 0 deletions