[dpdk-stable] patch 'mbuf: remove unneeded atomic generic header include' has been queued to stable release 20.11.1

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Feb 9 11:35:29 CET 2021


Hi,

FYI, your patch has been queued to stable release 20.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/11/21. 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/5fad3a6f3c1592ecd4e58254e8012ed9a79f04db

Thanks.

Luca Boccassi

---
>From 5fad3a6f3c1592ecd4e58254e8012ed9a79f04db Mon Sep 17 00:00:00 2001
From: David Marchand <david.marchand at redhat.com>
Date: Thu, 4 Feb 2021 11:05:19 +0100
Subject: [PATCH] mbuf: remove unneeded atomic generic header include

[ upstream commit c48d8c316424ddf7ae1ddd2fa1fa940cf45eb8c3 ]

There is no need for the direct inclusion of the generic/ header [1]
now that we don't use the rte_atomic API anymore.

It was the last case of direct inclusion of the generic/ headers,
so the flag -Wno-unused-function can be dropped.

1: https://git.dpdk.org/dpdk/commit/?id=3eb860b08eb7

Fixes: e41d27a68df6 ("mbuf: remove atomic reference counters")

Signed-off-by: David Marchand <david.marchand at redhat.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 lib/librte_mbuf/rte_mbuf_core.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/librte_mbuf/rte_mbuf_core.h b/lib/librte_mbuf/rte_mbuf_core.h
index a85cabdd18..9d1609336a 100644
--- a/lib/librte_mbuf/rte_mbuf_core.h
+++ b/lib/librte_mbuf/rte_mbuf_core.h
@@ -20,7 +20,6 @@
 
 #include <rte_compat.h>
 #include <rte_byteorder.h>
-#include <generic/rte_atomic.h>
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.29.2

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2021-02-09 10:34:59.141488159 +0000
+++ 0031-mbuf-remove-unneeded-atomic-generic-header-include.patch	2021-02-09 10:34:57.950584779 +0000
@@ -1 +1 @@
-From c48d8c316424ddf7ae1ddd2fa1fa940cf45eb8c3 Mon Sep 17 00:00:00 2001
+From 5fad3a6f3c1592ecd4e58254e8012ed9a79f04db Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit c48d8c316424ddf7ae1ddd2fa1fa940cf45eb8c3 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -22 +22,0 @@
- buildtools/chkincs/meson.build  | 1 -
@@ -24 +24 @@
- 2 files changed, 2 deletions(-)
+ 1 file changed, 1 deletion(-)
@@ -26,12 +25,0 @@
-diff --git a/buildtools/chkincs/meson.build b/buildtools/chkincs/meson.build
-index f345e87551..f28cfd3cd4 100644
---- a/buildtools/chkincs/meson.build
-+++ b/buildtools/chkincs/meson.build
-@@ -17,7 +17,6 @@ gen_c_files = generator(gen_c_file_for_header,
- 	arguments: ['@INPUT@', '@OUTPUT@'])
- 
- cflags = machine_args
--cflags += '-Wno-unused-function' # needed if we include generic headers
- cflags += '-DALLOW_EXPERIMENTAL_API'
- 
- sources = files('main.c')


More information about the stable mailing list