svn commit: r333792 - head/sys/dev/bnxt
Sean Bruno
sbruno at FreeBSD.org
Fri May 18 13:49:13 UTC 2018
Author: sbruno
Date: Fri May 18 13:49:12 2018
New Revision: 333792
URL: https://svnweb.freebsd.org/changeset/base/333792
Log:
bnxt(4)
- Fix HWRM warning message during HW LRO configuration.
Submitted by: bhargava.marreddy at broadcom.com
MFC after: 1 week
Sponsored by: Broadcom Limited
Differential Revision: https://reviews.freebsd.org/D15466
Modified:
head/sys/dev/bnxt/bnxt_hwrm.c
Modified: head/sys/dev/bnxt/bnxt_hwrm.c
==============================================================================
--- head/sys/dev/bnxt/bnxt_hwrm.c Fri May 18 13:28:02 2018 (r333791)
+++ head/sys/dev/bnxt/bnxt_hwrm.c Fri May 18 13:49:12 2018 (r333792)
@@ -1017,6 +1017,10 @@ bnxt_hwrm_vnic_tpa_cfg(struct bnxt_softc *softc)
struct hwrm_vnic_tpa_cfg_input req = {0};
uint32_t flags;
+ if (softc->vnic_info.id == (uint16_t) HWRM_NA_SIGNATURE) {
+ return 0;
+ }
+
bnxt_hwrm_cmd_hdr_init(softc, &req, HWRM_VNIC_TPA_CFG);
if (softc->hw_lro.enable) {
More information about the svn-src-all
mailing list