ethdev: introduce representor type
authorXueming Li <xuemingl@nvidia.com>
Thu, 11 Mar 2021 13:13:24 +0000 (13:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Mar 2021 19:15:29 +0000 (20:15 +0100)
commitd654167641bf35601ff3ce0d545d3a6a32efc284
treea635d484f596702c8605ecaa7ee75f7e0e84e880
parent7178fbdce13b0f73844a6f2c5830b2ebd9eadbb0
ethdev: introduce representor type

To support more representor type, this patch introduces representor type
enum. The enum is subject to be extended to support new representor in
patches upcoming.

For each devarg structure, only one type supported.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Hyong Youb Kim <hyonkim@cisco.com>
doc/guides/rel_notes/release_21_05.rst
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/enic/enic_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/ice/ice_dcf_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/txgbe/txgbe_ethdev.c
lib/librte_ethdev/ethdev_driver.h
lib/librte_ethdev/ethdev_private.c
lib/librte_ethdev/rte_ethdev.h