DPDK-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/dpaa: make mac_idx static
@ 2026-10-16 18:06 Stephen Hemminger
  2026-10-16 18:22 ` Hemant Agrawal
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2026-10-16 18:06 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Hemant Agrawal, Sachin Saxena

This array is only used in this file.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 drivers/net/dpaa/dpaa_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/dpaa/dpaa_flow.c b/drivers/net/dpaa/dpaa_flow.c
index 05c1c1c065..f77f9f333b 100644
--- a/drivers/net/dpaa/dpaa_flow.c
+++ b/drivers/net/dpaa/dpaa_flow.c
@@ -34,7 +34,7 @@ return &scheme_params->param.key_ext_and_hash.extract_array[hdr_idx];
 /* FMAN mac indexes mappings (0 is unused, first 8 are for 1G, next for 10G
  * ports).
  */
-const uint8_t mac_idx[] = {-1, 0, 1, 2, 3, 4, 5, 6, 7, 0, 1};
+static const uint8_t mac_idx[] = {-1, 0, 1, 2, 3, 4, 5, 6, 7, 0, 1};
 
 /* FM global info */
 struct dpaa_fm_info {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-16 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 18:06 [PATCH] net/dpaa: make mac_idx static Stephen Hemminger
2026-10-16 18:22 ` Hemant Agrawal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox