mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 00:35:33 +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
@@ -9142,6 +9142,7 @@ const struct dpif_class dpif_netdev_class = {
|
||||
dpif_netdev_flow_dump_thread_destroy,
|
||||
dpif_netdev_flow_dump_next,
|
||||
dpif_netdev_operate,
|
||||
NULL, /* offload_stats_get */
|
||||
NULL, /* recv_set */
|
||||
NULL, /* handlers_set */
|
||||
NULL, /* number_handlers_required */
|
||||
|
Reference in New Issue
Block a user