]> git.droids-corp.org - dpdk.git/commit
net/ena: support xstat names by ID
authorMichal Krawczyk <mk@semihalf.com>
Wed, 23 Feb 2022 12:19:37 +0000 (13:19 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Feb 2022 18:01:03 +0000 (19:01 +0100)
commit3cec73fabb2c7d98d2ac4bda480508412f5cfb96
treea39fa2b5c94ee26a4c2da2474d83f99bc13e9c70
parenta52b317e7d8b89a12d2e8b08e19f380fe61c5220
net/ena: support xstat names by ID

ENA was only supporting retrieval of all the xstats name and wasn't
implementing the eth_xstats_get_names_by_id API.

As this API may be more efficient than retrieving all the names, it
tries to avoid excessive string copying.

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
Reviewed-by: Dawid Gorecki <dgr@semihalf.com>
Reviewed-by: Shai Brandes <shaibran@amazon.com>
doc/guides/rel_notes/release_22_03.rst
drivers/net/ena/ena_ethdev.c