bnxt: fix intermittent VLAN issues
bnxt_init() is invokes Function Reset (bnxt_hwrm_func_reset) and thus FW configuration for VLANs get erased. To fix this, in bnxt_init(), Invoking HWRM to configure VLANs (bnxt_hwrm_cfa_l2_set_rx_mask). Submitted by: Siva Kallam <siva.kallam@@broadcom.com> Reviewed by: shurd, sbruno Approved by: sbruno (mentor) Sponsored by: Broadcom Limited Differential Revision: https://reviews.freebsd.org/D12527
This commit is contained in:
parent
f018514ec6
commit
6eb483246b
@ -1125,6 +1125,7 @@ bnxt_init(if_ctx_t ctx)
|
||||
|
||||
bnxt_do_enable_intr(&softc->def_cp_ring);
|
||||
bnxt_media_status(softc->ctx, &ifmr);
|
||||
bnxt_hwrm_cfa_l2_set_rx_mask(softc, &softc->vnic_info);
|
||||
return;
|
||||
|
||||
fail:
|
||||
|
Loading…
Reference in New Issue
Block a user