diff options
author | Kumar Amber <kumar.amber@intel.com> | 2022-05-11 13:34:12 +0530 |
---|---|---|
committer | Ian Stokes <ian.stokes@intel.com> | 2022-05-24 09:53:18 +0100 |
commit | 738c76a503f4e3162b6c1de23c89347df897c963 (patch) | |
tree | fdcadb0cca79f07b2679d329a2a528d117ae9349 /Documentation | |
parent | da9424ad07f88215cfd4d4c5fb7ff1ed5e146706 (diff) | |
download | openvswitch-738c76a503f4e3162b6c1de23c89347df897c963.tar.gz |
dpcls: Change info-get function to fetch dpcls usage stats.
Modified the dplcs info-get command output to include
the count for different dpcls implementations.
$ovs-appctl dpif-netdev/subtable-lookup-info-get
Available dpcls implementations:
autovalidator (Use count: 1, Priority: 5)
generic (Use count: 0, Priority: 1)
avx512_gather (Use count: 0, Priority: 3)
Test case to verify changes:
1061: PMD - dpcls configuration ok
Signed-off-by: Kumar Amber <kumar.amber@intel.com>
Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
Co-authored-by: Harry van Haaren <harry.van.haaren@intel.com>
Co-authored-by: Eelco Chaudron <echaudro@redhat.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/topics/dpdk/bridge.rst | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Documentation/topics/dpdk/bridge.rst b/Documentation/topics/dpdk/bridge.rst index ceee91015..1f626c7c2 100644 --- a/Documentation/topics/dpdk/bridge.rst +++ b/Documentation/topics/dpdk/bridge.rst @@ -179,11 +179,11 @@ these CPU ISA additions are available, and to allow the user to enable them. OVS provides multiple implementations of dpcls. The following command enables the user to check what implementations are available in a running instance:: - $ ovs-appctl dpif-netdev/subtable-lookup-prio-get - Available lookup functions (priority : name) - 0 : autovalidator - 1 : generic - 0 : avx512_gather + $ ovs-appctl dpif-netdev/subtable-lookup-info-get + Available dpcls implementations: + autovalidator (Use count: 1, Priority: 5) + generic (Use count: 0, Priority: 1) + avx512_gather (Use count: 0, Priority: 3) To set the priority of a lookup function, run the ``prio-set`` command:: @@ -195,11 +195,11 @@ above indicates that one subtable of one DPCLS port is has changed its lookup function due to the command being run. To verify the prioritization, re-run the get command, note the updated priority of the ``avx512_gather`` function:: - $ ovs-appctl dpif-netdev/subtable-lookup-prio-get - Available lookup functions (priority : name) - 0 : autovalidator - 1 : generic - 5 : avx512_gather + $ ovs-appctl dpif-netdev/subtable-lookup-info-get + Available dpcls implementations: + autovalidator (Use count: 1, Priority: 5) + generic (Use count: 0, Priority: 1) + avx512_gather (Use count: 0, Priority: 3) If two lookup functions have the same priority, the first one in the list is chosen, and the 2nd occurance of that priority is not used. Put in logical |