net/bnxt: handle default VNIC change async event
authorVenkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Fri, 9 Oct 2020 11:11:24 +0000 (16:41 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:47:58 +0000 (19:47 +0200)
commit175da14fa38f1145e2d06dfe072980904bb288e7
treed30681d98eb0013fa5bb1066690fb8f58fec909f
parent30683082a8edce39abd537c5053fb2572adcf710
net/bnxt: handle default VNIC change async event

Currently, we are only registering to this event if the function
is a trusted VF. This patch extends it for PFs as well.

Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure")
Cc: stable@dpdk.org
Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_cpr.c
drivers/net/bnxt/bnxt_hwrm.c