mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 16:55:42 +00:00
dpctl: Add function to read hardware offload statistics.
Expose a function to query datapath offload statistics. This function is separate from the current one in netdev-offload as it exposes more detailed statistics from the datapath, instead of only from the netdev-offload provider. Each datapath is meant to use the custom counters as it sees fit for its handling of hardware offloads. Call the new API from dpctl. Signed-off-by: Gaetan Rivet <grive@u256.net> Reviewed-by: Eli Britstein <elibr@nvidia.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
0e6366c239
commit
9ab104718b
@@ -4444,6 +4444,7 @@ const struct dpif_class dpif_netlink_class = {
|
||||
dpif_netlink_flow_dump_thread_destroy,
|
||||
dpif_netlink_flow_dump_next,
|
||||
dpif_netlink_operate,
|
||||
NULL, /* offload_stats_get */
|
||||
dpif_netlink_recv_set,
|
||||
dpif_netlink_handlers_set,
|
||||
dpif_netlink_number_handlers_required,
|
||||
|
Reference in New Issue
Block a user