]> git.droids-corp.org - dpdk.git/commit
net/mlx5: share counter config function
authorMichael Baum <michaelba@nvidia.com>
Mon, 14 Feb 2022 09:35:03 +0000 (11:35 +0200)
committerRaslan Darawsheh <rasland@nvidia.com>
Mon, 21 Feb 2022 10:36:48 +0000 (11:36 +0100)
commitcf8971db657c7b1d940d66274ff73ae8cb8b0708
tree0d6562afb36fd13a18d99580c6611da84a1ee4a2
parente3032e9c73f4791e2cdbab5a37f322c288d7e2aa
net/mlx5: share counter config function

The mlx5_flow_counter_mode_config function exists for both Linux and
Windows with the same name and content.
This patch moves its implementation to the folder shared between the
operating systems, removing the duplication.

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/windows/mlx5_os.c