ethdev: query proxy port to manage transfer flows
authorIvan Malov <ivan.malov@oktetlabs.ru>
Thu, 14 Oct 2021 03:21:45 +0000 (06:21 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Oct 2021 11:42:59 +0000 (13:42 +0200)
commit1179f05cc9a044541106981b0366f474043d7872
tree0e4f22bbc573b94fe23031e60f7c6f1e0a73e01c
parentcf21c2d3c8332be30412e24d2f899825a81c36d7
ethdev: query proxy port to manage transfer flows

Not all DPDK ports in a given switching domain may have the
privilege to manage "transfer" flows. Add an API to find a
port with sufficient privileges by any port in the domain.

Signed-off-by: Ivan Malov <ivan.malov@oktetlabs.ru>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: Ori Kam <orika@nvidia.com>
app/test-pmd/config.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
app/test-pmd/util.c
doc/guides/rel_notes/release_21_11.rst
lib/ethdev/rte_flow.c
lib/ethdev/rte_flow.h
lib/ethdev/rte_flow_driver.h
lib/ethdev/version.map