net/bnxt: disable VF representors on Thor
In a few cases with Thor device, PMD can segfault when VF
representors are specified. Temporarily fix it by preventing
VF reps for Thor device. This will be addressed in next release.
Fixes: 3fe124d253
("net/bnxt: support Thor platform")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
This commit is contained in:
parent
9f76c60286
commit
1438a12cc8
@ -815,6 +815,11 @@ ulp_ctx_init(struct bnxt *bp,
|
|||||||
goto error_deinit;
|
goto error_deinit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (devid == BNXT_ULP_DEVICE_ID_THOR) {
|
||||||
|
ulp_data->ulp_flags &= ~BNXT_ULP_VF_REP_ENABLED;
|
||||||
|
BNXT_TF_DBG(ERR, "Enabled non-VFR mode\n");
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Shared session must be created before first regular session but after
|
* Shared session must be created before first regular session but after
|
||||||
* the ulp_ctx is valid.
|
* the ulp_ctx is valid.
|
||||||
|
Loading…
Reference in New Issue
Block a user