this argument allows user to specify which switch ports to enable port
representors for.::
- -a DBDF,representor=0
- -a DBDF,representor=[0,4,6,9]
- -a DBDF,representor=[0-31]
+ -a DBDF,representor=vf0
+ -a DBDF,representor=vf[0,4,6,9]
+ -a DBDF,representor=vf[0-31]
+ -a DBDF,representor=vf[0,2-4,7,9-11]
Note: PMDs are not required to support the standard device arguments and users
should consult the relevant PMD documentation to see support devargs.
* **Enhanced ethdev representor syntax.**
* Introduced representor type of VF.
+ * Supported representor syntax::
+
+ representor=# [0,2-4] /* Legacy VF compatible. */
* **Updated Broadcom bnxt driver.**
* Parse representor ports from a single value or lists.
*
* Representor format:
- * #: range or single number of VF representor
+ * #: range or single number of VF representor - legacy
+ * vf#: VF port representor/s
*
* Examples of #:
* 2 - single
struct rte_eth_devargs *eth_da = data;
eth_da->type = RTE_ETH_REPRESENTOR_VF;
+ if (str[0] == 'v' && str[1] == 'f')
+ str += 2;
str = rte_eth_devargs_process_list(str, eth_da->representor_ports,
ð_da->nb_representor_ports,
RTE_DIM(eth_da->representor_ports));