get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/129540/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 129540,
    "url": "http://patchwork.dpdk.org/api/patches/129540/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230714081526.1277786-4-chaoyong.he@corigine.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230714081526.1277786-4-chaoyong.he@corigine.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230714081526.1277786-4-chaoyong.he@corigine.com",
    "date": "2023-07-14T08:15:26",
    "name": "[3/3] doc: announce bonding function change",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a5943d2bc02e90414c8c96c116037d0937fa82c9",
    "submitter": {
        "id": 2554,
        "url": "http://patchwork.dpdk.org/api/people/2554/?format=api",
        "name": "Chaoyong He",
        "email": "chaoyong.he@corigine.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230714081526.1277786-4-chaoyong.he@corigine.com/mbox/",
    "series": [
        {
            "id": 28940,
            "url": "http://patchwork.dpdk.org/api/series/28940/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28940",
            "date": "2023-07-14T08:15:24",
            "name": "announce bonding macro and function change",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/28940/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/129540/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/129540/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 7B7FB42E70;\n\tFri, 14 Jul 2023 10:16:11 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9EF5442D16;\n\tFri, 14 Jul 2023 10:15:54 +0200 (CEST)",
            "from NAM04-DM6-obe.outbound.protection.outlook.com\n (mail-dm6nam04on2125.outbound.protection.outlook.com [40.107.102.125])\n by mails.dpdk.org (Postfix) with ESMTP id 50EFA42BC9\n for <dev@dpdk.org>; Fri, 14 Jul 2023 10:15:53 +0200 (CEST)",
            "from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5)\n by SA0PR13MB6001.namprd13.prod.outlook.com (2603:10b6:806:152::16)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6588.27; Fri, 14 Jul\n 2023 08:15:51 +0000",
            "from SJ0PR13MB5545.namprd13.prod.outlook.com\n ([fe80::d2cb:a650:e1ce:2174]) by SJ0PR13MB5545.namprd13.prod.outlook.com\n ([fe80::d2cb:a650:e1ce:2174%4]) with mapi id 15.20.6588.027; Fri, 14 Jul 2023\n 08:15:51 +0000"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=DEaSRSDvfJ0eCzSsIkOW8CKmcBeTt3/6E38F9DcGP8sEzIu+uDJ3bPpQjdtaEHAo6cjVuUce9SWkw5hopF+b9RigP7Ru2YRV6jkwCSD6S8XPW+jb+ovKETwxU4F/lf7vo77MywSvLQe6Ubdh7jb0+pIjddCz8KvJHxhYm1t+HqA6Y6KHNwme0h/EvMH4BtZ4QOisGID/dJlJDdSP5ctkRd0OaqA3mAeonmg+XqDN5Glcgq8aAk93gV8Dvn9Ed1UsadOf3GDLhhAeSiBOh+UntGg9hrHUUCb5aFPNPKkF6Een1zh+KcmbXlQGJhNNj+pNsHMXnG2nt9CERteZWJlwCQ==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=VplMpqpLjU530+jiVxdtuL6anqjQ5XOak5BlmlAj+2E=;\n b=Wjssqm5dAXi+VgCiE0RFILYhvs2M8bjie5YKTXT7uS6lMinO9po6mhNi3ouJU5KofkPNs/grl+IGPH10cC4ULCLi5fyfLK52ObXZLJp5wZ0WsUj23uG89AAP30gf2hGBhKDh7djYUyVJW5GLEcSecKPk3yTYtfcq5fOxnzWTBg/tPksKLgQMOmyNvf5c3kSgLPYhJIw1J7H12Ls5DoD1gGesKKdT9pBa2vV9V/uh0pflH73psO7zC9V/qpLdsqKZ40xEX1o/+ZrrtWeLwG2ztjYr1u9I731Ax0tgI54MKZ/1tI8VUCkFF3GslB8+vCpR2vrU8tmsuzX+hTLNEn/I4w==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com;\n dkim=pass header.d=corigine.com; arc=none",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=VplMpqpLjU530+jiVxdtuL6anqjQ5XOak5BlmlAj+2E=;\n b=VetCxbtC1zRkA2XZRNNobA84VpS5LAnDA1NOuVKy0X+BKuBv+iiZe7Eep00Y7c6Xj5AZ/8p6/QR1Qm/im1F6VHoT2Ugg8R6Tf5c1qNoPgftw23jrIZajROnz3kHjaw0r2OjjIyIpSAPnICq2G1UHx8PuaLbNaDX34LrgxbXa+Rg=",
        "Authentication-Results": "dkim=none (message not signed)\n header.d=none;dmarc=none action=none header.from=corigine.com;",
        "From": "Chaoyong He <chaoyong.he@corigine.com>",
        "To": "dev@dpdk.org",
        "Cc": "oss-drivers@corigine.com, niklas.soderlund@corigine.com,\n Chaoyong He <chaoyong.he@corigine.com>, Long Wu <long.wu@corigine.com>",
        "Subject": "[PATCH 3/3] doc: announce bonding function change",
        "Date": "Fri, 14 Jul 2023 16:15:26 +0800",
        "Message-Id": "<20230714081526.1277786-4-chaoyong.he@corigine.com>",
        "X-Mailer": "git-send-email 2.39.1",
        "In-Reply-To": "<20230714081526.1277786-1-chaoyong.he@corigine.com>",
        "References": "<20230714081526.1277786-1-chaoyong.he@corigine.com>",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-ClientProxiedBy": "SJ0PR13CA0240.namprd13.prod.outlook.com\n (2603:10b6:a03:2c1::35) To SJ0PR13MB5545.namprd13.prod.outlook.com\n (2603:10b6:a03:424::5)",
        "MIME-Version": "1.0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "SJ0PR13MB5545:EE_|SA0PR13MB6001:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "d836d4cd-dffd-438e-a9d0-08db84428918",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;",
        "X-Microsoft-Antispam-Message-Info": "\n FqBe2bcS7uPiy6p7A3e0zx1u4OOeUbR3UDmYHeaXB2xMuO3JbmBrRe/dbfgePy+hacN/b/iIqGfo3iTpXB/1/LLC/n6jJad3qFdBb3VMb2rMt4Ckzx6zzgSa3u4sSugkBeYNr0MobYsmRVzxYT+5HGxUSa0dMwhNEZzYwgXq5f1jhRI6BuJzwm5JNXV5tXfVZaD/1VF9+1jP6O+70QqxLM5maUhQMei260zlGOk6zI10vVar93/35fpBmbIVWvajaaKkdASAKWdQmjIHpNETB+1/9p/w34vsN82NLb6m1XlcOM+4/At4t4y0TbRV4wWITEPRGg9w/YERrFaFLQEWs2aKsJXpE61IupWNycdgjUrTzqgANWw7852GHAcgy4op6ZTmfzLozI1kxCbM7Iw8+HClFmtLoZRXrYWr3qzR3SlJpzP4Fag5QquI/IbFMmIg4V/4rUMNngcP7fl7jIT25urOOs35KuPkmKmYVNehazkyfgY1mPosp7tXyzF5KsQs8/BHlVt5CPQvysKklIXMLPJKq1bg/HlSiLK/wbRibT/6fPY2AA/q0aBrt3GjzxrE3G+uV/HlcTTjO60ElSwxsm7ac4NqpPj6KVhHjqC6sejaO00D6CaiCaMDfLPlUAxEUpkioryflz4Bc7zEcJhHng7Rzan5AMkRpR9ziHTWHXA=",
        "X-Forefront-Antispam-Report": "CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE;\n SFS:(13230028)(4636009)(136003)(396003)(39840400004)(366004)(346002)(376002)(451199021)(2906002)(38100700002)(38350700002)(6512007)(83380400001)(2616005)(186003)(107886003)(26005)(1076003)(6506007)(5660300002)(86362001)(8676002)(8936002)(30864003)(44832011)(36756003)(478600001)(54906003)(41300700001)(6486002)(52116002)(6666004)(316002)(4326008)(6916009)(66476007)(66556008)(66946007);\n DIR:OUT; SFP:1102;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n m5PHeqFOi4I3gCW7CMtQb4x221ddwpEwy+fTTxoQCRcPxdBkkZqw0xB/2xQIPXJS4O2XjsaG+oYfCeoM8mC5oaHeIFumYtp2nSYGR2eLpivM9C0jO0CKecheO2/3Kl+3dakPj+kFKkgnEgh0tZLw+6GatBpzJb3hHDJvBs3ZFrXKjXCrTZD4MuJMnk7fjJSHjP2SSBUkN6Jc9WEH9BGPsvVYy7dj2C4z3A6rj+JLFhmpnyIzFiNVwMKrFmAADoKiFzo24rnqyZvsvMvgzh1o+san1CfWtuEetT6/YDCCSXeJToJMQUxxaE/bg5zqLDx60vfs5TcbCg9SDxnNQikyBDq1E6xv4WaV8XWs7rCHspZhkSZeDU4NW+ZqGEfSnM7+PNoIrsLBCogANkSlX0SWi//7HXk+xlg5o9TcCA/aObfHH94ELII0c7Ceyf/3uDH/weugMK05NjbBVMplDRxyAOhTO1ejjqb70NorhRehdDkrh1bGM9vbJoaISfn5ou0V9eGedV26NFqD8D/4GS0PX1AgLD2qFEXPMFHifg9jj1cKCCH+q7d4WJPMIw4jPZa0cHIYPDkB7qjaD6PKmL7Wel3BDV5wMTfhpIiKBzI824yw710r42g+HHySSEphZR20hvqYDFsY+84eS/83clCmlnszmYOzXFayZ3RgHE0Gq4+vJAz5R+9yU5hV7M3+4hkXgpN7TIJXn5jtatfcmT0Tvm1BcCv/kVITdJvKRHk4Y9Jv749w3jsywEO6DQXr0pcfKUuI7806cfmzK5OjDDItvsMTSbVdR/rj7vXpei6lpZBvZrpmV8iVIo/GhzusDmBIr0ZXDJyOSzgHf51tabLPSxEVsp/e9RNZ/bcdj/o6oRHVwHCT5HEvroDbGYrVL+0n/hDCkdVuG7tYg0sbWct0Z4ForVDKHcQ+s7SCUZJU7N+KkYXy3bbRhObyj9FelrKL9u/EWEvgDpWThrXrIoEGGM7hAjbjLy2eoBkah4cmw5De85QBmthgZN03fBJrW5TXVvaKfjQpZcq8UznxVu2XPpqA3teX3LwqBP/EIdTed/Odsgeje63jzCrQdEpAOm9PiVzkfBarDnbDDkOEF7gQIgL2QB4+cRqOqRFl149WoyMyJbjBKn4b3wyauJP60R9ho/miIhJL8enRgq1aYU5tLaGH5h5V6M3Akn+cnaQmr0mXG7WsoHtXnSs+YZgXYId20xhh+wVDyI+fHMxaztmoakMqXpucc72/F1vT2wFE9D3PzbFbDanOeiugZVfX8Uoq2Eu0j4GetX8hYLPD/sHTgY3DxWF7AWxqIRKc7ffQryR9Glh8PwUi6xF8kkmJ3nJvfRAvoI9MleeCZKCVJGwC+SKWKqiis7+KWTAGJX+Z5/8VSLZU3UuAL76fxmXS88MUj0E74ly/uZL1AKGXtYlzrLm0E6uSRfHgO2aeY3ri7x5U9v3EcxKV1QvAQ0yEt0RS3HbYAengpvIuGXyNsJU5FmngnKrdbdOKt/q/Tj0JGA9Kyn/Yvj0dwX/KfHq4WkLBmL3tzI0+GuyulKizpFewt7MLKBepfDpI+dqU/sMv0icy4hnheDiOsL7k+jdwiRojJwqPgl+O8kXmXjN5kMrvjQ==",
        "X-OriginatorOrg": "corigine.com",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n d836d4cd-dffd-438e-a9d0-08db84428918",
        "X-MS-Exchange-CrossTenant-AuthSource": "SJ0PR13MB5545.namprd13.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Internal",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "14 Jul 2023 08:15:51.0816 (UTC)",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Id": "fe128f2c-073b-4c20-818e-7246a585940c",
        "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED",
        "X-MS-Exchange-CrossTenant-UserPrincipalName": "\n Aopa23i0OI5AU0x2n9FkE2BykDGvc1cjTMwcmRfp8Zs711uVItsV9e18WbTnw1wDIu+/fJD6fuY6qPcTjEQRmxZToKcHV6SUlf86IO22720=",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SA0PR13MB6001",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "In order to support inclusive naming, some of the function in DPDK will\nneed to be renamed. Do this through deprecation process now for 23.07.\n\nSigned-off-by: Long Wu <long.wu@corigine.com>\nSigned-off-by: Chaoyong He <chaoyong.he@corigine.com>\n---\n app/test-pmd/testpmd.c                    |   4 +-\n app/test/test_link_bonding.c              | 100 +++++++++++-----------\n app/test/test_link_bonding_mode4.c        |   8 +-\n app/test/test_link_bonding_rssconf.c      |   8 +-\n doc/guides/rel_notes/deprecation.rst      |  12 +++\n drivers/net/bonding/bonding_testpmd.c     |   4 +-\n drivers/net/bonding/rte_eth_bond.h        |  42 ++++++++-\n drivers/net/bonding/rte_eth_bond_8023ad.c |   2 +-\n drivers/net/bonding/rte_eth_bond_8023ad.h |  11 ++-\n drivers/net/bonding/rte_eth_bond_api.c    |   8 +-\n drivers/net/bonding/rte_eth_bond_pmd.c    |   8 +-\n drivers/net/bonding/version.map           |  10 +++\n examples/bond/main.c                      |   6 +-\n 13 files changed, 144 insertions(+), 79 deletions(-)",
    "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex 938ca035d4..2dd4180bf9 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -612,7 +612,7 @@ change_bonding_slave_port_status(portid_t bond_pid, bool is_stop)\n \tportid_t slave_pid;\n \tint i;\n \n-\tnum_slaves = rte_eth_bond_slaves_get(bond_pid, slave_pids,\n+\tnum_slaves = rte_eth_bond_members_get(bond_pid, slave_pids,\n \t\t\t\t\t\tRTE_MAX_ETHPORTS);\n \tif (num_slaves < 0) {\n \t\tfprintf(stderr, \"Failed to get slave list for port = %u\\n\",\n@@ -3519,7 +3519,7 @@ close_port(portid_t pid)\n \t\t\tflush_port_owned_resources(pi);\n #ifdef RTE_NET_BOND\n \t\t\tif (port->bond_flag == 1)\n-\t\t\t\tnum_slaves = rte_eth_bond_slaves_get(pi,\n+\t\t\t\tnum_slaves = rte_eth_bond_members_get(pi,\n \t\t\t\t\t\tslave_pids, RTE_MAX_ETHPORTS);\n #endif\n \t\t\trte_eth_dev_close(pi);\ndiff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c\nindex 5c496352c2..a94644a831 100644\n--- a/app/test/test_link_bonding.c\n+++ b/app/test/test_link_bonding.c\n@@ -281,14 +281,14 @@ test_create_bonded_device(void)\n \t\t\ttest_params->bonding_mode), \"Failed to set ethdev %d to mode %d\",\n \t\t\ttest_params->bonded_port_id, test_params->bonding_mode);\n \n-\tcurrent_slave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id,\n+\tcurrent_slave_count = rte_eth_bond_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \n \tTEST_ASSERT_EQUAL(current_slave_count, 0,\n \t\t\t\"Number of slaves %d is great than expected %d.\",\n \t\t\tcurrent_slave_count, 0);\n \n-\tcurrent_slave_count = rte_eth_bond_active_slaves_get(\n+\tcurrent_slave_count = rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS);\n \n \tTEST_ASSERT_EQUAL(current_slave_count, 0,\n@@ -335,19 +335,19 @@ test_add_slave_to_bonded_device(void)\n \n \tuint16_t slaves[RTE_MAX_ETHPORTS];\n \n-\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_add(test_params->bonded_port_id,\n+\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_add(test_params->bonded_port_id,\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count]),\n \t\t\t\"Failed to add slave (%d) to bonded port (%d).\",\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count],\n \t\t\ttest_params->bonded_port_id);\n \n-\tcurrent_slave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id,\n+\tcurrent_slave_count = rte_eth_bond_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(current_slave_count, test_params->bonded_slave_count + 1,\n \t\t\t\"Number of slaves (%d) is greater than expected (%d).\",\n \t\t\tcurrent_slave_count, test_params->bonded_slave_count + 1);\n \n-\tcurrent_slave_count = rte_eth_bond_active_slaves_get(\n+\tcurrent_slave_count = rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(current_slave_count, 0,\n \t\t\t\t\t\"Number of active slaves (%d) is not as expected (%d).\\n\",\n@@ -362,12 +362,12 @@ static int\n test_add_slave_to_invalid_bonded_device(void)\n {\n \t/* Invalid port ID */\n-\tTEST_ASSERT_FAIL(rte_eth_bond_slave_add(test_params->bonded_port_id + 5,\n+\tTEST_ASSERT_FAIL(rte_eth_bond_member_add(test_params->bonded_port_id + 5,\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count]),\n \t\t\t\"Expected call to failed as invalid port specified.\");\n \n \t/* Non bonded device */\n-\tTEST_ASSERT_FAIL(rte_eth_bond_slave_add(test_params->slave_port_ids[0],\n+\tTEST_ASSERT_FAIL(rte_eth_bond_member_add(test_params->slave_port_ids[0],\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count]),\n \t\t\t\"Expected call to failed as invalid port specified.\");\n \n@@ -382,14 +382,14 @@ test_remove_slave_from_bonded_device(void)\n \tstruct rte_ether_addr read_mac_addr, *mac_addr;\n \tuint16_t slaves[RTE_MAX_ETHPORTS];\n \n-\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_remove(test_params->bonded_port_id,\n+\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_remove(test_params->bonded_port_id,\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count-1]),\n \t\t\t\"Failed to remove slave %d from bonded port (%d).\",\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count-1],\n \t\t\ttest_params->bonded_port_id);\n \n \n-\tcurrent_slave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id,\n+\tcurrent_slave_count = rte_eth_bond_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \n \tTEST_ASSERT_EQUAL(current_slave_count, test_params->bonded_slave_count - 1,\n@@ -424,13 +424,13 @@ static int\n test_remove_slave_from_invalid_bonded_device(void)\n {\n \t/* Invalid port ID */\n-\tTEST_ASSERT_FAIL(rte_eth_bond_slave_remove(\n+\tTEST_ASSERT_FAIL(rte_eth_bond_member_remove(\n \t\t\ttest_params->bonded_port_id + 5,\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count - 1]),\n \t\t\t\"Expected call to failed as invalid port specified.\");\n \n \t/* Non bonded device */\n-\tTEST_ASSERT_FAIL(rte_eth_bond_slave_remove(\n+\tTEST_ASSERT_FAIL(rte_eth_bond_member_remove(\n \t\t\ttest_params->slave_port_ids[0],\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count - 1]),\n \t\t\t\"Expected call to failed as invalid port specified.\");\n@@ -449,7 +449,7 @@ test_add_already_bonded_slave_to_bonded_device(void)\n \n \ttest_add_slave_to_bonded_device();\n \n-\tcurrent_slave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id,\n+\tcurrent_slave_count = rte_eth_bond_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(current_slave_count, 1,\n \t\t\t\"Number of slaves (%d) is not that expected (%d).\",\n@@ -461,7 +461,7 @@ test_add_already_bonded_slave_to_bonded_device(void)\n \t\t\trte_socket_id());\n \tTEST_ASSERT(port_id >= 0, \"Failed to create bonded device.\");\n \n-\tTEST_ASSERT(rte_eth_bond_slave_add(port_id,\n+\tTEST_ASSERT(rte_eth_bond_member_add(port_id,\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count - 1])\n \t\t\t< 0,\n \t\t\t\"Added slave (%d) to bonded port (%d) unexpectedly.\",\n@@ -482,34 +482,34 @@ test_get_slaves_from_bonded_device(void)\n \t\t\t\"Failed to add slave to bonded device\");\n \n \t/* Invalid port id */\n-\tcurrent_slave_count = rte_eth_bond_slaves_get(INVALID_PORT_ID, slaves,\n+\tcurrent_slave_count = rte_eth_bond_members_get(INVALID_PORT_ID, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tTEST_ASSERT(current_slave_count < 0,\n \t\t\t\"Invalid port id unexpectedly succeeded\");\n \n-\tcurrent_slave_count = rte_eth_bond_active_slaves_get(INVALID_PORT_ID,\n+\tcurrent_slave_count = rte_eth_bond_active_members_get(INVALID_PORT_ID,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT(current_slave_count < 0,\n \t\t\t\"Invalid port id unexpectedly succeeded\");\n \n \t/* Invalid slaves pointer */\n-\tcurrent_slave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id,\n+\tcurrent_slave_count = rte_eth_bond_members_get(test_params->bonded_port_id,\n \t\t\tNULL, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT(current_slave_count < 0,\n \t\t\t\"Invalid slave array unexpectedly succeeded\");\n \n-\tcurrent_slave_count = rte_eth_bond_active_slaves_get(\n+\tcurrent_slave_count = rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, NULL, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT(current_slave_count < 0,\n \t\t\t\"Invalid slave array unexpectedly succeeded\");\n \n \t/* non bonded device*/\n-\tcurrent_slave_count = rte_eth_bond_slaves_get(\n+\tcurrent_slave_count = rte_eth_bond_members_get(\n \t\t\ttest_params->slave_port_ids[0], NULL, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT(current_slave_count < 0,\n \t\t\t\"Invalid port id unexpectedly succeeded\");\n \n-\tcurrent_slave_count = rte_eth_bond_active_slaves_get(\n+\tcurrent_slave_count = rte_eth_bond_active_members_get(\n \t\t\ttest_params->slave_port_ids[0],\tNULL, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT(current_slave_count < 0,\n \t\t\t\"Invalid port id unexpectedly succeeded\");\n@@ -573,13 +573,13 @@ test_start_bonded_device(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count-1], 1);\n \n-\tcurrent_slave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id,\n+\tcurrent_slave_count = rte_eth_bond_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(current_slave_count, test_params->bonded_slave_count,\n \t\t\t\"Number of slaves (%d) is not expected value (%d).\",\n \t\t\tcurrent_slave_count, test_params->bonded_slave_count);\n \n-\tcurrent_slave_count = rte_eth_bond_active_slaves_get(\n+\tcurrent_slave_count = rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(current_slave_count, test_params->bonded_slave_count,\n \t\t\t\"Number of active slaves (%d) is not expected value (%d).\",\n@@ -627,13 +627,13 @@ test_stop_bonded_device(void)\n \t\t\t\"Bonded port (%d) status (%d) is not expected value (%d).\",\n \t\t\ttest_params->bonded_port_id, link_status.link_status, 0);\n \n-\tcurrent_slave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id,\n+\tcurrent_slave_count = rte_eth_bond_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(current_slave_count, test_params->bonded_slave_count,\n \t\t\t\"Number of slaves (%d) is not expected value (%d).\",\n \t\t\tcurrent_slave_count, test_params->bonded_slave_count);\n \n-\tcurrent_slave_count = rte_eth_bond_active_slaves_get(\n+\tcurrent_slave_count = rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(current_slave_count, 0,\n \t\t\t\"Number of active slaves (%d) is not expected value (%d).\",\n@@ -956,13 +956,13 @@ test_set_bonded_port_initialization_mac_assignment(void)\n \t * 2. Add slave ethdevs to bonded device\n \t */\n \tfor (i = 0; i < BONDED_INIT_MAC_ASSIGNMENT_SLAVE_COUNT; i++) {\n-\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_add(bonded_port_id,\n+\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_add(bonded_port_id,\n \t\t\t\tslave_port_ids[i]),\n \t\t\t\t\"Failed to add slave (%d) to bonded port (%d).\",\n \t\t\t\tslave_port_ids[i], bonded_port_id);\n \t}\n \n-\tslave_count = rte_eth_bond_slaves_get(bonded_port_id, slaves,\n+\tslave_count = rte_eth_bond_members_get(bonded_port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(BONDED_INIT_MAC_ASSIGNMENT_SLAVE_COUNT, slave_count,\n \t\t\t\"Number of slaves (%d) is not as expected (%d)\",\n@@ -1080,13 +1080,13 @@ test_set_bonded_port_initialization_mac_assignment(void)\n \t\t\tbonded_port_id);\n \n \tfor (i = 0; i < BONDED_INIT_MAC_ASSIGNMENT_SLAVE_COUNT; i++) {\n-\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_remove(bonded_port_id,\n+\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_remove(bonded_port_id,\n \t\t\t\tslave_port_ids[i]),\n \t\t\t\t\"Failed to remove slave %d from bonded port (%d).\",\n \t\t\t\tslave_port_ids[i], bonded_port_id);\n \t}\n \n-\tslave_count = rte_eth_bond_slaves_get(bonded_port_id, slaves,\n+\tslave_count = rte_eth_bond_members_get(bonded_port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \n \tTEST_ASSERT_EQUAL(slave_count, 0,\n@@ -1169,7 +1169,7 @@ test_adding_slave_after_bonded_device_started(void)\n \t\t\t\ttest_params->slave_port_ids[i], 1);\n \t}\n \n-\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_add(test_params->bonded_port_id,\n+\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_add(test_params->bonded_port_id,\n \t\t\ttest_params->slave_port_ids[test_params->bonded_slave_count]),\n \t\t\t\"Failed to add slave to bonded port.\\n\");\n \n@@ -1253,7 +1253,7 @@ test_status_interrupt(void)\n \t\t\tRTE_ETH_EVENT_INTR_LSC, test_bonding_lsc_event_callback,\n \t\t\t&test_params->bonded_port_id);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \n \tTEST_ASSERT_EQUAL(slave_count, TEST_STATUS_INTERRUPT_SLAVE_COUNT,\n@@ -1281,7 +1281,7 @@ test_status_interrupt(void)\n \tTEST_ASSERT(test_lsc_interrupt_count > 0,\n \t\t\t\"Did not receive link status change interrupt\");\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \n \tTEST_ASSERT_EQUAL(slave_count, 0,\n@@ -1909,13 +1909,13 @@ test_roundrobin_verify_slave_link_status_change_behaviour(void)\n \t\t\t\"Failed to initialize bonded device with slaves\");\n \n \t/* Verify Current Slaves Count /Active Slave Count is */\n-\tslave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id, slaves,\n+\tslave_count = rte_eth_bond_members_get(test_params->bonded_port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, TEST_RR_LINK_STATUS_SLAVE_COUNT,\n \t\t\t\"Number of slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, TEST_RR_LINK_STATUS_SLAVE_COUNT);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, TEST_RR_LINK_STATUS_SLAVE_COUNT,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n@@ -1927,7 +1927,7 @@ test_roundrobin_verify_slave_link_status_change_behaviour(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[3], 0);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count,\n \t\t\tTEST_RR_LINK_STATUS_EXPECTED_ACTIVE_SLAVE_COUNT,\n@@ -2053,7 +2053,7 @@ test_roundrobin_verfiy_polling_slave_link_status_change(void)\n \t\t}\n \n \t\t/* Add slave to bonded device */\n-\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_add(test_params->bonded_port_id,\n+\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_add(test_params->bonded_port_id,\n \t\t\t\tpolling_test_slaves[i]),\n \t\t\t\t\"Failed to add slave %s(%d) to bonded device %d\",\n \t\t\t\tslave_name, polling_test_slaves[i],\n@@ -2104,7 +2104,7 @@ test_roundrobin_verfiy_polling_slave_link_status_change(void)\n \tfor (i = 0; i < TEST_RR_POLLING_LINK_STATUS_SLAVE_COUNT; i++) {\n \n \t\tTEST_ASSERT_SUCCESS(\n-\t\t\t\trte_eth_bond_slave_remove(test_params->bonded_port_id,\n+\t\t\t\trte_eth_bond_member_remove(test_params->bonded_port_id,\n \t\t\t\t\t\tpolling_test_slaves[i]),\n \t\t\t\t\"Failed to remove slave %d from bonded port (%d)\",\n \t\t\t\tpolling_test_slaves[i], test_params->bonded_port_id);\n@@ -2509,13 +2509,13 @@ test_activebackup_verify_slave_link_status_change_failover(void)\n \t\t\t\"Failed to initialize bonded device with slaves\");\n \n \t/* Verify Current Slaves Count /Active Slave Count is */\n-\tslave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id, slaves,\n+\tslave_count = rte_eth_bond_members_get(test_params->bonded_port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, 4,\n \t\t\t\"Number of slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, 4);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, 4,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n@@ -2531,7 +2531,7 @@ test_activebackup_verify_slave_link_status_change_failover(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[3], 0);\n \n-\tTEST_ASSERT_EQUAL(rte_eth_bond_active_slaves_get(\n+\tTEST_ASSERT_EQUAL(rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS), 2,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, 2);\n@@ -2547,7 +2547,7 @@ test_activebackup_verify_slave_link_status_change_failover(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[0], 0);\n \n-\tTEST_ASSERT_EQUAL(rte_eth_bond_active_slaves_get(\n+\tTEST_ASSERT_EQUAL(rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS),\n \t\t\t3,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n@@ -3441,13 +3441,13 @@ test_balance_verify_slave_link_status_change_behaviour(void)\n \n \n \t/* Verify Current Slaves Count /Active Slave Count is */\n-\tslave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id, slaves,\n+\tslave_count = rte_eth_bond_members_get(test_params->bonded_port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, TEST_BALANCE_LINK_STATUS_SLAVE_COUNT,\n \t\t\t\"Number of slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, TEST_BALANCE_LINK_STATUS_SLAVE_COUNT);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, TEST_BALANCE_LINK_STATUS_SLAVE_COUNT,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n@@ -3459,7 +3459,7 @@ test_balance_verify_slave_link_status_change_behaviour(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[3], 0);\n \n-\tTEST_ASSERT_EQUAL(rte_eth_bond_active_slaves_get(\n+\tTEST_ASSERT_EQUAL(rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS), 2,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, 2);\n@@ -3508,7 +3508,7 @@ test_balance_verify_slave_link_status_change_behaviour(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[2], 0);\n \n-\tTEST_ASSERT_EQUAL(rte_eth_bond_active_slaves_get(\n+\tTEST_ASSERT_EQUAL(rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS), 1,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, 1);\n@@ -4023,13 +4023,13 @@ test_broadcast_verify_slave_link_status_change_behaviour(void)\n \t\t\t\t1), \"Failed to initialise bonded device\");\n \n \t/* Verify Current Slaves Count /Active Slave Count is */\n-\tslave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id, slaves,\n+\tslave_count = rte_eth_bond_members_get(test_params->bonded_port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, 4,\n \t\t\t\"Number of slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, 4);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, 4,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n@@ -4041,7 +4041,7 @@ test_broadcast_verify_slave_link_status_change_behaviour(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[3], 0);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, 2,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n@@ -4581,13 +4581,13 @@ test_tlb_verify_slave_link_status_change_failover(void)\n \t\t\t\"Failed to initialize bonded device with slaves\");\n \n \t/* Verify Current Slaves Count /Active Slave Count is */\n-\tslave_count = rte_eth_bond_slaves_get(test_params->bonded_port_id, slaves,\n+\tslave_count = rte_eth_bond_members_get(test_params->bonded_port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, 4,\n \t\t\t\"Number of slaves (%d) is not as expected (%d).\\n\",\n \t\t\tslave_count, 4);\n \n-\tslave_count = rte_eth_bond_active_slaves_get(test_params->bonded_port_id,\n+\tslave_count = rte_eth_bond_active_members_get(test_params->bonded_port_id,\n \t\t\tslaves, RTE_MAX_ETHPORTS);\n \tTEST_ASSERT_EQUAL(slave_count, (int)4,\n \t\t\t\"Number of slaves (%d) is not as expected (%d).\\n\",\n@@ -4603,7 +4603,7 @@ test_tlb_verify_slave_link_status_change_failover(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[3], 0);\n \n-\tTEST_ASSERT_EQUAL(rte_eth_bond_active_slaves_get(\n+\tTEST_ASSERT_EQUAL(rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS), 2,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, 2);\n@@ -4619,7 +4619,7 @@ test_tlb_verify_slave_link_status_change_failover(void)\n \tvirtual_ethdev_simulate_link_status_interrupt(\n \t\t\ttest_params->slave_port_ids[0], 0);\n \n-\tTEST_ASSERT_EQUAL(rte_eth_bond_active_slaves_get(\n+\tTEST_ASSERT_EQUAL(rte_eth_bond_active_members_get(\n \t\t\ttest_params->bonded_port_id, slaves, RTE_MAX_ETHPORTS), 3,\n \t\t\t\"Number of active slaves (%d) is not as expected (%d).\",\n \t\t\tslave_count, 3);\ndiff --git a/app/test/test_link_bonding_mode4.c b/app/test/test_link_bonding_mode4.c\nindex 21c512c94b..98d7cf9f54 100644\n--- a/app/test/test_link_bonding_mode4.c\n+++ b/app/test/test_link_bonding_mode4.c\n@@ -238,7 +238,7 @@ add_slave(struct slave_conf *slave, uint8_t start)\n \tTEST_ASSERT_SUCCESS(rte_eth_dev_mac_addr_add(slave->port_id, &addr, 0),\n \t\t\"Failed to set slave MAC address\");\n \n-\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_add(test_params.bonded_port_id,\n+\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_add(test_params.bonded_port_id,\n \t\tslave->port_id),\n \t\t\t\"Failed to add slave (idx=%u, id=%u) to bonding (id=%u)\",\n \t\t\t(uint8_t)(slave - test_params.slave_ports), slave->port_id,\n@@ -279,7 +279,7 @@ remove_slave(struct slave_conf *slave)\n \t\t\"Slave %u tx queue not empty while removing from bonding.\",\n \t\tslave->port_id);\n \n-\tTEST_ASSERT_EQUAL(rte_eth_bond_slave_remove(test_params.bonded_port_id,\n+\tTEST_ASSERT_EQUAL(rte_eth_bond_member_remove(test_params.bonded_port_id,\n \t\t\tslave->port_id), 0,\n \t\t\t\"Failed to remove slave (idx=%u, id=%u) from bonding (id=%u)\",\n \t\t\t(uint8_t)slave_idx, slave->port_id,\n@@ -359,7 +359,7 @@ remove_slaves_and_stop_bonded_device(void)\n \tFOR_EACH_SLAVE(i, slave)\n \t\tremove_slave(slave);\n \n-\tretval = rte_eth_bond_slaves_get(test_params.bonded_port_id, slaves,\n+\tretval = rte_eth_bond_members_get(test_params.bonded_port_id, slaves,\n \t\tRTE_DIM(slaves));\n \n \tTEST_ASSERT_EQUAL(retval, 0,\n@@ -1540,7 +1540,7 @@ check_environment(void)\n \t\t\tbreak;\n \t}\n \n-\tslaves_count = rte_eth_bond_slaves_get(test_params.bonded_port_id,\n+\tslaves_count = rte_eth_bond_members_get(test_params.bonded_port_id,\n \t\t\tslaves, RTE_DIM(slaves));\n \n \tif (slaves_count != 0)\ndiff --git a/app/test/test_link_bonding_rssconf.c b/app/test/test_link_bonding_rssconf.c\nindex 464fb2dbd0..5d1b73f719 100644\n--- a/app/test/test_link_bonding_rssconf.c\n+++ b/app/test/test_link_bonding_rssconf.c\n@@ -162,7 +162,7 @@ remove_slaves(void)\n \tFOR_EACH_PORT(n, port) {\n \t\tport = &test_params.slave_ports[n];\n \t\tif (port->is_slave) {\n-\t\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_remove(\n+\t\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_remove(\n \t\t\t\t\ttest_params.bond_port_id, port->port_id),\n \t\t\t\t\t\"Cannot remove slave %d from bonding\", port->port_id);\n \t\t\tport->is_slave = 0;\n@@ -193,7 +193,7 @@ bond_slaves(void)\n \tFOR_EACH_PORT(n, port) {\n \t\tport = &test_params.slave_ports[n];\n \t\tif (!port->is_slave) {\n-\t\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_add(test_params.bond_port_id,\n+\t\t\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_add(test_params.bond_port_id,\n \t\t\t\t\tport->port_id), \"Cannot attach slave %d to the bonding\",\n \t\t\t\t\tport->port_id);\n \t\t\tport->is_slave = 1;\n@@ -289,7 +289,7 @@ slave_remove_and_add(void)\n \tstruct slave_conf *port = &(test_params.slave_ports[0]);\n \n \t/* 1. Remove first slave from bonding */\n-\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_remove(test_params.bond_port_id,\n+\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_remove(test_params.bond_port_id,\n \t\t\tport->port_id), \"Cannot remove slave #d from bonding\");\n \n \t/* 2. Change removed (ex-)slave and bonding configuration to different\n@@ -305,7 +305,7 @@ slave_remove_and_add(void)\n \t\t\t\"Removed slave didn't should be synchronized with bonding port\");\n \n \t/* 3. Add (ex-)slave and check if configuration changed*/\n-\tTEST_ASSERT_SUCCESS(rte_eth_bond_slave_add(test_params.bond_port_id,\n+\tTEST_ASSERT_SUCCESS(rte_eth_bond_member_add(test_params.bond_port_id,\n \t\t\tport->port_id), \"Cannot add slave\");\n \n \tbond_reta_fetch();\ndiff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst\nindex 5b16b66267..2f504e4c78 100644\n--- a/doc/guides/rel_notes/deprecation.rst\n+++ b/doc/guides/rel_notes/deprecation.rst\n@@ -168,3 +168,15 @@ Deprecation Notices\n   The data structure ``struct rte_eth_bond_8023ad_slave_info`` will be\n   deprecated in DPDK 23.07, and removed in DPDK 23.11. The relevant code can be\n   updated using ``struct rte_eth_bond_8023ad_member_info``.\n+  The following functions will be deprecated in DPDK 23.07, and removed in\n+  DPDK 23.11. The old functions:\n+  ``rte_eth_bond_8023ad_slave_info``,\n+  ``rte_eth_bond_active_slaves_get``,\n+  ``rte_eth_bond_slave_add``,\n+  ``rte_eth_bond_slave_remove``, and\n+  ``rte_eth_bond_slaves_get`` will be replaced by:\n+  ``rte_eth_bond_8023ad_member_info``,\n+  ``rte_eth_bond_active_members_get``,\n+  ``rte_eth_bond_member_add``,\n+  ``rte_eth_bond_member_remove``,\n+  and ``rte_eth_bond_members_get``.\ndiff --git a/drivers/net/bonding/bonding_testpmd.c b/drivers/net/bonding/bonding_testpmd.c\nindex b3c12cada0..6049d5c865 100644\n--- a/drivers/net/bonding/bonding_testpmd.c\n+++ b/drivers/net/bonding/bonding_testpmd.c\n@@ -347,7 +347,7 @@ static void cmd_add_bonding_slave_parsed(void *parsed_result,\n \tportid_t slave_port_id = res->slave_id;\n \n \t/* add the slave for a bonded device. */\n-\tif (rte_eth_bond_slave_add(master_port_id, slave_port_id) != 0) {\n+\tif (rte_eth_bond_member_add(master_port_id, slave_port_id) != 0) {\n \t\tfprintf(stderr,\n \t\t\t\"\\t Failed to add slave %d to master port = %d.\\n\",\n \t\t\tslave_port_id, master_port_id);\n@@ -406,7 +406,7 @@ static void cmd_remove_bonding_slave_parsed(void *parsed_result,\n \tportid_t slave_port_id = res->slave_id;\n \n \t/* remove the slave from a bonded device. */\n-\tif (rte_eth_bond_slave_remove(master_port_id, slave_port_id) != 0) {\n+\tif (rte_eth_bond_member_remove(master_port_id, slave_port_id) != 0) {\n \t\tfprintf(stderr,\n \t\t\t\"\\t Failed to remove slave %d from master port = %d.\\n\",\n \t\t\tslave_port_id, master_port_id);\ndiff --git a/drivers/net/bonding/rte_eth_bond.h b/drivers/net/bonding/rte_eth_bond.h\nindex 874aa91a5f..6783c5b342 100644\n--- a/drivers/net/bonding/rte_eth_bond.h\n+++ b/drivers/net/bonding/rte_eth_bond.h\n@@ -121,8 +121,16 @@ rte_eth_bond_free(const char *name);\n  * @return\n  *\t0 on success, negative value otherwise\n  */\n+__rte_experimental\n int\n-rte_eth_bond_slave_add(uint16_t bonded_port_id, uint16_t slave_port_id);\n+rte_eth_bond_member_add(uint16_t bonded_port_id, uint16_t member_port_id);\n+\n+__rte_deprecated\n+static inline int\n+rte_eth_bond_slave_add(uint16_t bonded_port_id, uint16_t slave_port_id)\n+{\n+\treturn rte_eth_bond_member_add(bonded_port_id, slave_port_id);\n+}\n \n /**\n  * Remove a slave rte_eth_dev device from the bonded device\n@@ -133,8 +141,16 @@ rte_eth_bond_slave_add(uint16_t bonded_port_id, uint16_t slave_port_id);\n  * @return\n  *\t0 on success, negative value otherwise\n  */\n+__rte_experimental\n int\n-rte_eth_bond_slave_remove(uint16_t bonded_port_id, uint16_t slave_port_id);\n+rte_eth_bond_member_remove(uint16_t bonded_port_id, uint16_t member_port_id);\n+\n+__rte_deprecated\n+static inline int\n+rte_eth_bond_slave_remove(uint16_t bonded_port_id, uint16_t slave_port_id)\n+{\n+\treturn rte_eth_bond_member_remove(bonded_port_id, slave_port_id);\n+}\n \n /**\n  * Set link bonding mode of bonded device\n@@ -193,9 +209,18 @@ rte_eth_bond_primary_get(uint16_t bonded_port_id);\n  *\tNumber of slaves associated with bonded device on success,\n  *\tnegative value otherwise\n  */\n+__rte_experimental\n int\n+rte_eth_bond_members_get(uint16_t bonded_port_id, uint16_t members[],\n+\t\tuint16_t len);\n+\n+__rte_deprecated\n+static inline int\n rte_eth_bond_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],\n-\t\t\tuint16_t len);\n+\t\tuint16_t len)\n+{\n+\treturn rte_eth_bond_members_get(bonded_port_id, slaves, len);\n+}\n \n /**\n  * Populate an array with list of the active slaves port id's of the bonded\n@@ -209,9 +234,18 @@ rte_eth_bond_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],\n  *\tNumber of active slaves associated with bonded device on success,\n  *\tnegative value otherwise\n  */\n+__rte_experimental\n int\n+rte_eth_bond_active_members_get(uint16_t bonded_port_id, uint16_t members[],\n+\t\tuint16_t len);\n+\n+__rte_deprecated\n+static inline int\n rte_eth_bond_active_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],\n-\t\t\t\tuint16_t len);\n+\t\tuint16_t len)\n+{\n+\treturn rte_eth_bond_active_members_get(bonded_port_id, slaves, len);\n+}\n \n /**\n  * Set explicit MAC address to use on bonded device and it's slaves.\ndiff --git a/drivers/net/bonding/rte_eth_bond_8023ad.c b/drivers/net/bonding/rte_eth_bond_8023ad.c\nindex 49f22ffab1..50618d9a9a 100644\n--- a/drivers/net/bonding/rte_eth_bond_8023ad.c\n+++ b/drivers/net/bonding/rte_eth_bond_8023ad.c\n@@ -1517,7 +1517,7 @@ rte_eth_bond_8023ad_setup(uint16_t port_id,\n \n \n int\n-rte_eth_bond_8023ad_slave_info(uint16_t port_id, uint16_t slave_id,\n+rte_eth_bond_8023ad_member_info(uint16_t port_id, uint16_t slave_id,\n \t\tstruct rte_eth_bond_8023ad_member_info *info)\n {\n \tstruct rte_eth_dev *bond_dev;\ndiff --git a/drivers/net/bonding/rte_eth_bond_8023ad.h b/drivers/net/bonding/rte_eth_bond_8023ad.h\nindex ab6d0182a9..54ef2db6c0 100644\n--- a/drivers/net/bonding/rte_eth_bond_8023ad.h\n+++ b/drivers/net/bonding/rte_eth_bond_8023ad.h\n@@ -193,10 +193,19 @@ rte_eth_bond_8023ad_setup(uint16_t port_id,\n  *   -EINVAL if conf is NULL or slave id is invalid (not a slave of given\n  *       bonded device or is not inactive).\n  */\n+__rte_experimental\n int\n-rte_eth_bond_8023ad_slave_info(uint16_t port_id, uint16_t slave_id,\n+rte_eth_bond_8023ad_member_info(uint16_t port_id, uint16_t member_id,\n \t\tstruct rte_eth_bond_8023ad_member_info *conf);\n \n+__rte_deprecated\n+static inline int\n+rte_eth_bond_8023ad_slave_info(uint16_t port_id, uint16_t slave_id,\n+\t\tstruct rte_eth_bond_8023ad_member_info *conf)\n+{\n+\treturn rte_eth_bond_8023ad_member_info(port_id, slave_id, conf);\n+}\n+\n #ifdef __cplusplus\n }\n #endif\ndiff --git a/drivers/net/bonding/rte_eth_bond_api.c b/drivers/net/bonding/rte_eth_bond_api.c\nindex 8b6cdce34a..998059cb29 100644\n--- a/drivers/net/bonding/rte_eth_bond_api.c\n+++ b/drivers/net/bonding/rte_eth_bond_api.c\n@@ -624,7 +624,7 @@ __eth_bond_slave_add_lock_free(uint16_t bonded_port_id, uint16_t slave_port_id)\n }\n \n int\n-rte_eth_bond_slave_add(uint16_t bonded_port_id, uint16_t slave_port_id)\n+rte_eth_bond_member_add(uint16_t bonded_port_id, uint16_t slave_port_id)\n {\n \tstruct rte_eth_dev *bonded_eth_dev;\n \tstruct bond_dev_private *internals;\n@@ -760,7 +760,7 @@ __eth_bond_slave_remove_lock_free(uint16_t bonded_port_id,\n }\n \n int\n-rte_eth_bond_slave_remove(uint16_t bonded_port_id, uint16_t slave_port_id)\n+rte_eth_bond_member_remove(uint16_t bonded_port_id, uint16_t slave_port_id)\n {\n \tstruct rte_eth_dev *bonded_eth_dev;\n \tstruct bond_dev_private *internals;\n@@ -849,7 +849,7 @@ rte_eth_bond_primary_get(uint16_t bonded_port_id)\n }\n \n int\n-rte_eth_bond_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],\n+rte_eth_bond_members_get(uint16_t bonded_port_id, uint16_t slaves[],\n \t\t\tuint16_t len)\n {\n \tstruct bond_dev_private *internals;\n@@ -873,7 +873,7 @@ rte_eth_bond_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],\n }\n \n int\n-rte_eth_bond_active_slaves_get(uint16_t bonded_port_id, uint16_t slaves[],\n+rte_eth_bond_active_members_get(uint16_t bonded_port_id, uint16_t slaves[],\n \t\tuint16_t len)\n {\n \tstruct bond_dev_private *internals;\ndiff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c\nindex 0a595d427c..92fba4e6c2 100644\n--- a/drivers/net/bonding/rte_eth_bond_pmd.c\n+++ b/drivers/net/bonding/rte_eth_bond_pmd.c\n@@ -2203,7 +2203,7 @@ bond_ethdev_cfg_cleanup(struct rte_eth_dev *dev, bool remove)\n \t\t\tcontinue;\n \t\t}\n \n-\t\tif (rte_eth_bond_slave_remove(bond_port_id, port_id) != 0) {\n+\t\tif (rte_eth_bond_member_remove(bond_port_id, port_id) != 0) {\n \t\t\tRTE_BOND_LOG(ERR,\n \t\t\t\t     \"Failed to remove port %d from bonded device %s\",\n \t\t\t\t     port_id, dev->device->name);\n@@ -3528,7 +3528,7 @@ dump_lacp(uint16_t port_id, FILE *f)\n \n \tfprintf(f, \"  - Lacp info:\\n\");\n \n-\tnum_active_slaves = rte_eth_bond_active_slaves_get(port_id, slaves,\n+\tnum_active_slaves = rte_eth_bond_active_members_get(port_id, slaves,\n \t\t\tRTE_MAX_ETHPORTS);\n \tif (num_active_slaves < 0) {\n \t\tfprintf(f, \"\\tFailed to get active slave list for port %u\\n\",\n@@ -3546,7 +3546,7 @@ dump_lacp(uint16_t port_id, FILE *f)\n \tdump_lacp_conf(&port_conf, f);\n \n \tfor (i = 0; i < num_active_slaves; i++) {\n-\t\tret = rte_eth_bond_8023ad_slave_info(port_id, slaves[i],\n+\t\tret = rte_eth_bond_8023ad_member_info(port_id, slaves[i],\n \t\t\t\t&slave_info);\n \t\tif (ret) {\n \t\t\tfprintf(f, \"\\tGet slave device %u 8023ad info failed\\n\",\n@@ -4075,7 +4075,7 @@ bond_ethdev_configure(struct rte_eth_dev *dev)\n \t\t}\n \n \t\tfor (i = 0; i < slave_ports.slave_count; i++) {\n-\t\t\tif (rte_eth_bond_slave_add(port_id, slave_ports.slaves[i]) != 0) {\n+\t\t\tif (rte_eth_bond_member_add(port_id, slave_ports.slaves[i]) != 0) {\n \t\t\t\tRTE_BOND_LOG(ERR,\n \t\t\t\t\t     \"Failed to add port %d as slave to bonded device %s\",\n \t\t\t\t\t     slave_ports.slaves[i], name);\ndiff --git a/drivers/net/bonding/version.map b/drivers/net/bonding/version.map\nindex 9333923b4e..f3f0a776ff 100644\n--- a/drivers/net/bonding/version.map\n+++ b/drivers/net/bonding/version.map\n@@ -31,3 +31,13 @@ DPDK_23 {\n \n \tlocal: *;\n };\n+\n+EXPERIMENTAL {\n+\t# added in 23.07\n+\tglobal:\n+\trte_eth_bond_8023ad_member_info;\n+\trte_eth_bond_active_members_get;\n+\trte_eth_bond_member_add;\n+\trte_eth_bond_member_remove;\n+\trte_eth_bond_members_get;\n+};\ndiff --git a/examples/bond/main.c b/examples/bond/main.c\nindex 9b076bb39f..f5514e5361 100644\n--- a/examples/bond/main.c\n+++ b/examples/bond/main.c\n@@ -253,7 +253,7 @@ bond_port_init(struct rte_mempool *mbuf_pool)\n \t\t\t\t\"failed (res=%d)\\n\", BOND_PORT, retval);\n \n \tfor (i = 0; i < slaves_count; i++) {\n-\t\tif (rte_eth_bond_slave_add(BOND_PORT, slaves[i]) == -1)\n+\t\tif (rte_eth_bond_member_add(BOND_PORT, slaves[i]) == -1)\n \t\t\trte_exit(-1, \"Oooops! adding slave (%u) to bond (%u) failed!\\n\",\n \t\t\t\t\tslaves[i], BOND_PORT);\n \n@@ -286,7 +286,7 @@ bond_port_init(struct rte_mempool *mbuf_pool)\n \tprintf(\"Waiting for slaves to become active...\");\n \twhile (wait_counter) {\n \t\tuint16_t act_slaves[16] = {0};\n-\t\tif (rte_eth_bond_active_slaves_get(BOND_PORT, act_slaves, 16) ==\n+\t\tif (rte_eth_bond_active_members_get(BOND_PORT, act_slaves, 16) ==\n \t\t\t\tslaves_count) {\n \t\t\tprintf(\"\\n\");\n \t\t\tbreak;\n@@ -765,7 +765,7 @@ static void cmd_show_parsed(__rte_unused void *parsed_result,\n \tcmdline_printf(cl,\n \t\t\t\"Active_slaves:%d \"\n \t\t\t\"packets received:Tot:%d Arp:%d IPv4:%d\\n\",\n-\t\t\trte_eth_bond_active_slaves_get(BOND_PORT, slaves, len),\n+\t\t\trte_eth_bond_active_members_get(BOND_PORT, slaves, len),\n \t\t\tglobal_flag_stru_p->port_packets[0],\n \t\t\tglobal_flag_stru_p->port_packets[1],\n \t\t\tglobal_flag_stru_p->port_packets[2]);\n",
    "prefixes": [
        "3/3"
    ]
}