net/mlx5: save bonding member ports information
authorXueming Li <xuemingl@nvidia.com>
Sun, 28 Mar 2021 13:48:12 +0000 (13:48 +0000)
committerRaslan Darawsheh <rasland@nvidia.com>
Wed, 31 Mar 2021 07:16:33 +0000 (09:16 +0200)
commitf5f4c4823740d6f5c0b5c1a2353b2a0857f162e0
tree15316a103f14f9428b91d03f5cfa6f09182001c8
parent08c2772fc7476efaed612b41e67eb43d604a68e6
net/mlx5: save bonding member ports information

Since kernel bonding netdev doesn't provide statistics counter that
reflects all member ports, PMD has to manually summarize counters from
each member ports.

As a preparation, this patch collects bonding member port information
and saves to shared context data.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/linux/mlx5_ethdev_os.c
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c