net: promote make rarp packet API as stable
PATCH 1/1 net: promote make rarp packet API as stable
rte_net_make_rarp_packet was introduced in version v18.02, there was no change in this public API since then, and it's still being used by vhost lib and virtio driver, so promote it as stable ABI.
--- lib/net/rte_arp.h | 4 ---- lib/net/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-)
lib/net/rte_arp.h +0 -4
@@ -50,9 +50,6 @@ struct rte_arp_hdr { } __rte_packed __rte_aligned(2);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Make a RARP packet based on MAC addr. * * @param mpool
@@ -63,7 +60,6 @@ struct rte_arp_hdr {* @return * - RARP packet pointer on success, or NULL on error */ -__rte_experimental struct rte_mbuf *rte_net_make_rarp_packet (struct rte_mempool *mpool,const struct rte_ether_addr *mac);
lib/net/version.map +1 -1
@@ -6,6 +6,7 @@ DPDK_22 { rte_net_crc_calc; rte_net_crc_set_alg; rte_net_get_ptype; + rte_net_make_rarp_packet; local: *; };
@@ -13,7 +14,6 @@ DPDK_22 { EXPERIMENTAL { global: - rte_net_make_rarp_packet; rte_net_skip_ip6_ext; rte_ether_unformat_addr; };
Signature · 1 line
2.15.1
Quoted 5 lines · On Wed, 8 Sep 2021 18:59:15 +0800 Xiao Wang <[email protected]> wrote:
rte_net_make_rarp_packetwas introduced in version v18.02, there was no change in this public API since then, and it's still being used by vhost lib and virtio driver, so promote it as stable ABI.Signed-off-by Xiao Wang <[email protected]>
Quoted 60 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Xiao Wang
Sent: Wednesday, September 8, 2021 6:59 PM
To: [email protected]
Cc: [email protected]; Wang, Xiao W <[email protected]>
Subject: [dpdk-dev] [PATCH] net: promote make rarp packet API as stable
rte_net_make_rarp_packetwas introduced in version v18.02, there was no change in this public API since then, and it's still being used by vhost lib and virtio driver, so promote it as stable ABI.Signed-off-by Xiao Wang <[email protected]>--- lib/net/rte_arp.h | 4 ---- lib/net/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-)lib/net/rte_arp.h +0
-4@@ -50,9 +50,6 @@ struct rte_arp_hdr { } __rte_packed __rte_aligned(2);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Make a RARP packet based on MAC addr. * * @param mpool @@ -63,7 +60,6 @@ struct rte_arp_hdr {* @return * - RARP packet pointer on success, or NULL on error */ -__rte_experimental struct rte_mbuf *rte_net_make_rarp_packet (struct rte_mempool *mpool,const struct rte_ether_addr *mac);lib/net/version.map +1
-2@@ -6,6 +6,7 @@ DPDK_22 { rte_net_crc_calc; rte_net_crc_set_alg; rte_net_get_ptype; + rte_net_make_rarp_packet; local: *; };@@ -13,7 +14,6 @@ DPDK_22 { EXPERIMENTAL { global: - rte_net_make_rarp_packet; rte_net_skip_ip6_ext; rte_ether_unformat_addr; }; --
Quoted 1 line
2.15.1
Quoted 5 lines · Xiao Wang
rte_net_make_rarp_packetwas introduced in version v18.02, there was no change in this public API since then, and it's still being used by vhost lib and virtio driver, so promote it as stable ABI.Signed-off-by Xiao Wang <[email protected]>
Quoted 8 lines · Olivier Matz
Quoted 5 lines · Xiao Wang
rte_net_make_rarp_packetwas introduced in version v18.02, there was no change in this public API since then, and it's still being used by vhost lib and virtio driver, so promote it as stable ABI.Signed-off-by Xiao Wang <[email protected]>
Applied, thanks.
Signature · 1 line
David Marchand