Date: Thu, 5 Oct 2017 17:52:38 +0000 (UTC) From: Stephen Hurd <shurd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324323 - head/sys/dev/bnxt Message-ID: <201710051752.v95HqcuE080503@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710051752.v95HqcuE080503>