net/bnxt: parse representors along with other devargs
Representor dev-args need to be parsed during pci probe as they determine subsequent probe of VF representor ports as well. Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com> Signed-off-by: Somnath Kotur <somnath.kotur@broadcom.com> Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
bac18ea2be
commit
3b453e4efc
@ -97,8 +97,10 @@ static const struct rte_pci_id bnxt_pci_id_map[] = {
|
|||||||
#define BNXT_DEVARG_TRUFLOW "host-based-truflow"
|
#define BNXT_DEVARG_TRUFLOW "host-based-truflow"
|
||||||
#define BNXT_DEVARG_FLOW_XSTAT "flow-xstat"
|
#define BNXT_DEVARG_FLOW_XSTAT "flow-xstat"
|
||||||
#define BNXT_DEVARG_MAX_NUM_KFLOWS "max-num-kflows"
|
#define BNXT_DEVARG_MAX_NUM_KFLOWS "max-num-kflows"
|
||||||
|
#define BNXT_DEVARG_REPRESENTOR "representor"
|
||||||
|
|
||||||
static const char *const bnxt_dev_args[] = {
|
static const char *const bnxt_dev_args[] = {
|
||||||
|
BNXT_DEVARG_REPRESENTOR,
|
||||||
BNXT_DEVARG_TRUFLOW,
|
BNXT_DEVARG_TRUFLOW,
|
||||||
BNXT_DEVARG_FLOW_XSTAT,
|
BNXT_DEVARG_FLOW_XSTAT,
|
||||||
BNXT_DEVARG_MAX_NUM_KFLOWS,
|
BNXT_DEVARG_MAX_NUM_KFLOWS,
|
||||||
|
Loading…
Reference in New Issue
Block a user