svn commit: r324323 - head/sys/dev/bnxt
Stephen Hurd
shurd at FreeBSD.org
Thu Oct 5 17:52:39 UTC 2017
Author: shurd
Date: Thu Oct 5 17:52:38 2017
New Revision: 324323
URL: https://svnweb.freebsd.org/changeset/base/324323
Log:
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
Modified:
head/sys/dev/bnxt/if_bnxt.c
Modified: head/sys/dev/bnxt/if_bnxt.c
==============================================================================
--- head/sys/dev/bnxt/if_bnxt.c Thu Oct 5 17:02:21 2017 (r324322)
+++ head/sys/dev/bnxt/if_bnxt.c Thu Oct 5 17:52:38 2017 (r324323)
@@ -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:
More information about the svn-src-head
mailing list