patch 'common/sfc_efx/base: fix annotations in client MAC addr get' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:48:35 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/b8990db9326ae41868115c73b94340cf24cf29ad
Thanks.
Luca Boccassi
---
>From b8990db9326ae41868115c73b94340cf24cf29ad Mon Sep 17 00:00:00 2001
From: Andy Moreton <andy.moreton at amd.com>
Date: Fri, 14 Aug 2026 16:54:30 +0400
Subject: [PATCH] common/sfc_efx/base: fix annotations in client MAC addr get
[ upstream commit 993ebb14b8ff452d9220f68bef8c31a92f138f49 ]
Fix annotations to show the size written to addr_bytes.
Fixes: 78b82063df10 ("common/sfc_efx/base: manage VNIC MAC address by MCDI handle")
Signed-off-by: Andy Moreton <andy.moreton at amd.com>
Reviewed-by: Ivan Malov <ivan.malov at arknetworks.am>
Reviewed-by: Viacheslav Galaktionov <viacheslav.galaktionov at arknetworks.am>
---
drivers/common/sfc_efx/base/efx.h | 3 ++-
drivers/common/sfc_efx/base/efx_mcdi.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc_efx/base/efx.h
index 5773cb00b3c..aea6b2c44d5 100644
--- a/drivers/common/sfc_efx/base/efx.h
+++ b/drivers/common/sfc_efx/base/efx.h
@@ -427,7 +427,8 @@ extern __checkReturn efx_rc_t
efx_mcdi_client_mac_addr_get(
__in efx_nic_t *enp,
__in uint32_t client_handle,
- __out uint8_t addr_bytes[EFX_MAC_ADDR_LEN]);
+ __out_bcount(EFX_MAC_ADDR_LEN)
+ uint8_t addr_bytes[EFX_MAC_ADDR_LEN]);
LIBEFX_API
extern __checkReturn efx_rc_t
diff --git a/drivers/common/sfc_efx/base/efx_mcdi.c b/drivers/common/sfc_efx/base/efx_mcdi.c
index 31725db52c9..86837a1904e 100644
--- a/drivers/common/sfc_efx/base/efx_mcdi.c
+++ b/drivers/common/sfc_efx/base/efx_mcdi.c
@@ -731,7 +731,8 @@ fail1:
efx_mcdi_client_mac_addr_get(
__in efx_nic_t *enp,
__in uint32_t client_handle,
- __out uint8_t addr_bytes[EFX_MAC_ADDR_LEN])
+ __out_bcount(EFX_MAC_ADDR_LEN)
+ uint8_t addr_bytes[EFX_MAC_ADDR_LEN])
{
efx_mcdi_req_t req;
EFX_MCDI_DECLARE_BUF(payload,
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:54.574008439 +0000
+++ 0021-common-sfc_efx-base-fix-annotations-in-client-MAC-ad.patch 2026-10-27 11:43:53.514059449 +0000
@@ -1 +1 @@
-From 993ebb14b8ff452d9220f68bef8c31a92f138f49 Mon Sep 17 00:00:00 2001
+From b8990db9326ae41868115c73b94340cf24cf29ad Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 993ebb14b8ff452d9220f68bef8c31a92f138f49 ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index 2aa52b401d..b8d1ccd7bd 100644
+index 5773cb00b3c..aea6b2c44d5 100644
@@ -23 +24 @@
-@@ -439,7 +439,8 @@ extern __checkReturn efx_rc_t
+@@ -427,7 +427,8 @@ extern __checkReturn efx_rc_t
@@ -34 +35 @@
-index 04f2c99c0b..7e809ce5f3 100644
+index 31725db52c9..86837a1904e 100644
@@ -37 +38 @@
-@@ -737,7 +737,8 @@ fail1:
+@@ -731,7 +731,8 @@ fail1:
More information about the stable
mailing list