From nobody Fri May 20 16:37:01 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9AED01AE9026; Fri, 20 May 2022 16:37:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L4XSF3mB6z4WLC; Fri, 20 May 2022 16:37:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653064621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BpdtcyfBBuGQ7tiMdYygStf52CA36Tdyc/xz+BzOwHI=; b=il7YHFUHrH3hig4WfDW2k/5cj1kdHoYv6+Dt9UYzl259OWF/VqN5o95goOoio6UoXapnLH x2I1jdkmtCLvM68PgymRSgdU2VNjmuhMhn3BIZO/gHSQzG1tPuYtSb8XVdNChVN8L7Kuvy 1RBZm7P83gapbc3uHt/qIYVFGgbbdRMgdeVHVRs39rIgjr4RS4/eHFAnJUcJVZabtfFVvr n8DnouTxWClWioR+aswc41b9fX8+rniVLMUt7pLGgVm43iWc8y8lt91iafx6uVtipnSyEz 5ZS6rT/bY5UfuEr31XFwG8yD2Ah2wWOtM25XK25xaZWNRFQpNMZxUG5ClFNiJg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 617CA157CC; Fri, 20 May 2022 16:37:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24KGb1Aj090233; Fri, 20 May 2022 16:37:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24KGb1Vq090232; Fri, 20 May 2022 16:37:01 GMT (envelope-from git) Date: Fri, 20 May 2022 16:37:01 GMT Message-Id: <202205201637.24KGb1Vq090232@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kevin Bowling Subject: git: 0cfe15ba9f3c - stable/13 - igc: Increase rx_buffer_size local variable to 32b List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0cfe15ba9f3c7016d71c2ba370cbfbc75e8917cf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653064621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BpdtcyfBBuGQ7tiMdYygStf52CA36Tdyc/xz+BzOwHI=; b=qll8Dxj6sryUHL64RSGhgwJQR4NT3ee34lJ8mGY7HeBagy/Z3Q7FoNCoH1nu6TZKVu8+FI nxyIPmsGe2sZ/Ms3tK2z9lqDP2MO6YV/0OMS8QPC++UHGlrWCevM/r+EScARwPVzpAF+Ya UuPTIFIUR9D1lyv3FgYbHX2wz+Hk0LqM8sx2Bw/NcdRv2Jhfc5+rTgzH7i0QzztlCXhiTd yg/BA9olD6DZiMa6xdmymsteXmmH0/hGHMQrAmyn79VE2WbvRpjq/StYsVv6hOqfxBUbmM BzR3Sv3sNL9uyLvoIbNm62t1rQ3ZkCzE8ZZlHWJYhhmEJQzuKVyjyZX588XqSA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653064621; a=rsa-sha256; cv=none; b=HMzkIy+bFh8mNNT4KG6tjojIeJyn2ARanEp3mRVgC6mi1qmalrT6i4qyN/DXv3bHhTVSdi H6dSD/dpFR99PbX9bS4giPaHPwdIgbp68Hc+i9G5Xh0k7+a1mGuCDde1idunZJXc8Nn99g 0KzJpk2Tof0Xq/e4UTaNUtO+PgchlLEKdulTRV7HF4H2OirE5fS+qxHs4Z7eVvNzU1x/Ks pl99X1zBa2dTs9e5ar+GRwhmQsBkKuu9fYOF2V1pAs3pOdrcGdFUq/67nF6az1hTejgX3j rfDv0YqStIh/RXmri7NUDt2/GK8XrUG3oYydM8OXgjumfECSvwwzQLaYZzaOsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kbowling (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=0cfe15ba9f3c7016d71c2ba370cbfbc75e8917cf commit 0cfe15ba9f3c7016d71c2ba370cbfbc75e8917cf Author: Kevin Bowling AuthorDate: 2022-05-17 03:15:34 +0000 Commit: Kevin Bowling CommitDate: 2022-05-20 16:36:54 +0000 igc: Increase rx_buffer_size local variable to 32b Apply 6987c47569b377f4b6eba9966afdedfb1b39fca8 to igc. This is not expected to have any benefit on current parts with current observed PBA sizes but will avoid surprises if they are increased in future chips. Approved by: grehan Differential Revision: https://reviews.freebsd.org/D35217 (cherry picked from commit 9b88ecd674ac292cb6d7ab644595091edd6ec87b) --- sys/dev/igc/if_igc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/igc/if_igc.c b/sys/dev/igc/if_igc.c index 565f3df61d96..20dbd3f71d39 100644 --- a/sys/dev/igc/if_igc.c +++ b/sys/dev/igc/if_igc.c @@ -1610,7 +1610,7 @@ igc_reset(if_ctx_t ctx) device_t dev = iflib_get_dev(ctx); struct igc_adapter *adapter = iflib_get_softc(ctx); struct igc_hw *hw = &adapter->hw; - u16 rx_buffer_size; + u32 rx_buffer_size; u32 pba; INIT_DEBUGOUT("igc_reset: begin");