ethdev: refactor representor port list parsing
authorXueming Li <xuemingl@nvidia.com>
Thu, 11 Mar 2021 13:13:25 +0000 (13:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Mar 2021 19:15:29 +0000 (20:15 +0100)
commit83a675177fdcf8f6cb2f6a65450a71e5424b80fb
tree148cc5259d7454709b66caa0b9034c0b1a2507d0
parentd654167641bf35601ff3ce0d545d3a6a32efc284
ethdev: refactor representor port list parsing

To the extended representor syntax which need to reuse the value parsing
function for controller and PF section, this patch refactors the port
list parsing.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
lib/librte_ethdev/ethdev_private.c
lib/librte_ethdev/ethdev_private.h
lib/librte_ethdev/rte_class_eth.c
lib/librte_ethdev/rte_ethdev.c