From: Chaoyong He <chaoyong.he@corigine.com>
To: dev@dpdk.org
Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com,
Long Wu <long.wu@corigine.com>,
Chaoyong He <chaoyong.he@corigine.com>
Subject: [PATCH v5 1/2] ethdev: remove bonding deprecated macro
Date: Wed, 16 Aug 2023 14:27:09 +0800 [thread overview]
Message-ID: <20230816062710.2188087-2-chaoyong.he@corigine.com> (raw)
In-Reply-To: <20230816062710.2188087-1-chaoyong.he@corigine.com>
From: Long Wu <long.wu@corigine.com>
The macro RTE_ETH_DEV_BONDED_SLAVE was marked as deprecated in v23.07,
we can remove it.
Signed-off-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
---
doc/guides/rel_notes/deprecation.rst | 5 +----
doc/guides/rel_notes/release_23_11.rst | 2 ++
lib/ethdev/rte_ethdev.h | 1 -
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 317875c505..82455f9e18 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -124,10 +124,7 @@ Deprecation Notices
The legacy actions should be removed
once ``MODIFY_FIELD`` alternative is implemented in drivers.
-* bonding: The macro ``RTE_ETH_DEV_BONDED_SLAVE`` will be
- deprecated in DPDK 23.07, and removed in DPDK 23.11.
- The relevant code can be updated using ``RTE_ETH_DEV_BONDING_MEMBER``.
- The data structure ``struct rte_eth_bond_8023ad_slave_info`` will be
+* bonding: The data structure ``struct rte_eth_bond_8023ad_slave_info`` will be
renamed to ``struct rte_eth_bond_8023ad_member_info`` in DPDK 23.11.
The following functions will be removed in DPDK 23.11.
The old functions:
diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst
index 4411bb32c1..2fae9539e2 100644
--- a/doc/guides/rel_notes/release_23_11.rst
+++ b/doc/guides/rel_notes/release_23_11.rst
@@ -87,6 +87,8 @@ Removed Items
* eal: Removed deprecated ``RTE_FUNC_PTR_OR_*`` macros.
+* ethdev: Removed deprecated macro ``RTE_ETH_DEV_BONDED_SLAVE``.
+
* flow_classify: Removed flow classification library and examples.
* kni: Removed the Kernel Network Interface (KNI) library and driver.
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 04a2564f22..a6bf7c16cf 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -2038,7 +2038,6 @@ struct rte_eth_dev_owner {
#define RTE_ETH_DEV_INTR_LSC RTE_BIT32(1)
/** Device is a bonding member */
#define RTE_ETH_DEV_BONDING_MEMBER RTE_BIT32(2)
-#define RTE_ETH_DEV_BONDED_SLAVE RTE_DEPRECATED(RTE_ETH_DEV_BONDED_SLAVE) RTE_ETH_DEV_BONDING_MEMBER
/** Device supports device removal interrupt */
#define RTE_ETH_DEV_INTR_RMV RTE_BIT32(3)
/** Device is port representor */
--
2.39.1
next prev parent reply other threads:[~2023-08-16 6:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 6:59 [PATCH] net/bonding: replace master/slave to main/member Chaoyong He
2023-05-17 14:52 ` Stephen Hemminger
2023-05-18 3:26 ` Chaoyong He
2023-05-18 6:32 ` [PATCH v2] " Chaoyong He
2023-05-18 7:01 ` [PATCH v3] " Chaoyong He
2023-05-18 8:44 ` [PATCH v4] " Chaoyong He
2023-05-18 15:39 ` Stephen Hemminger
2023-06-02 15:05 ` Ferruh Yigit
2023-08-16 6:27 ` [PATCH v5 0/2] " Chaoyong He
2023-08-16 6:27 ` Chaoyong He [this message]
2023-08-17 2:28 ` [PATCH v5 1/2] ethdev: remove bonding deprecated macro lihuisong (C)
2023-08-16 6:27 ` [PATCH v5 2/2] net/bonding: replace master/slave to main/member Chaoyong He
2023-08-16 14:42 ` Stephen Hemminger
2023-08-17 2:36 ` lihuisong (C)
2023-08-18 2:44 ` [PATCH] app/test: fix reference to master in bonding test Stephen Hemminger
2023-08-21 15:59 ` Tyler Retzlaff
2023-09-21 16:10 ` Ferruh Yigit
2023-09-20 14:00 ` [PATCH v5 0/2] replace master/slave to main/member Ferruh Yigit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230816062710.2188087-2-chaoyong.he@corigine.com \
--to=chaoyong.he@corigine.com \
--cc=dev@dpdk.org \
--cc=long.wu@corigine.com \
--cc=niklas.soderlund@corigine.com \
--cc=oss-drivers@corigine.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).