Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Aug 2026 00:44:04 +0000
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Dan Nowlin <dan.nowlin@intel.com>
Subject:   git: 6b23a23c14ec - stable/14 - ixgbe: copy ACI buffer before command retry
Message-ID:  <6a767bd4.4025d.7f4f0c2e@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=6b23a23c14ec01e6fb87ae981a711a6ffb5b3ed4

commit 6b23a23c14ec01e6fb87ae981a711a6ffb5b3ed4
Author:     Dan Nowlin <dan.nowlin@intel.com>
AuthorDate: 2026-07-28 11:07:01 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-08-08 00:41:11 +0000

    ixgbe: copy ACI buffer before command retry
    
    DPDK commit message
    
    net/ixgbe/base: add missing buffer copy for ACI
    
    Add the missing buffer copy in ixgbe_aci_send_cmd().
    
    The retry path saves the original descriptor and allocates storage for
    the command buffer so both can be restored before another attempt.  It
    did not copy the original command buffer into that storage.
    
    Fixes:          25b48e569f2f
    Cc: stable@dpdk.org
    
    Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
    Signed-off-by: Yuan Wang <yuanx.wang@intel.com>
    Acked-by: Bruce Richardson <bruce.richardson@intel.com>
    
    Obtained from:  DPDK (37239792b0)
    
    (cherry picked from commit e45178957d3a25a162279687d82ce791d8253f97)
---
 sys/dev/ixgbe/ixgbe_e610.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/ixgbe/ixgbe_e610.c b/sys/dev/ixgbe/ixgbe_e610.c
index 21066f95a16e..68ec9d8816de 100644
--- a/sys/dev/ixgbe/ixgbe_e610.c
+++ b/sys/dev/ixgbe/ixgbe_e610.c
@@ -311,6 +311,7 @@ s32 ixgbe_aci_send_cmd(struct ixgbe_hw *hw, struct ixgbe_aci_desc *desc,
 			buf_cpy = (u8 *)ixgbe_malloc(hw, buf_size);
 			if (!buf_cpy)
 				return IXGBE_ERR_OUT_OF_MEM;
+			memcpy(buf_cpy, buf, buf_size);
 		}
 		memcpy(&desc_cpy, desc, sizeof(desc_cpy));
 	}


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a767bd4.4025d.7f4f0c2e>