Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2018 13:49:12 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333792 - head/sys/dev/bnxt
Message-ID:  <201805181349.w4IDnCRX077355@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805181349.w4IDnCRX077355>