From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2DAFE42B89 for ; Wed, 24 May 2023 09:13:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2AA5140ED8; Wed, 24 May 2023 09:13:19 +0200 (CEST) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id 50ABE40ED8 for ; Wed, 24 May 2023 09:13:17 +0200 (CEST) Received: from loongson.cn (unknown [10.40.46.153]) by gateway (Coremail) with SMTP id _____8AxR_ELuW1kTlYAAA--.920S3; Wed, 24 May 2023 15:13:15 +0800 (CST) Received: from localhost.localdomain (unknown [10.40.46.153]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Ax2L0KuW1k_VBzAA--.61519S3; Wed, 24 May 2023 15:13:14 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 34O6xDXi2767672 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 24 May 2023 14:59:13 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 34O6xCcj2767671; Wed, 24 May 2023 14:59:12 +0800 Date: Wed, 24 May 2023 14:59:12 +0800 From: qemudev@loongson.cn Message-Id: <202305240659.34O6xCcj2767671@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |WARNING| pw127278 [PATCH] net/bonding: rename bonded to bonding In-Reply-To: <20230524071204.2484248-1-chaoyong.he@corigine.com> References: <20230524071204.2484248-1-chaoyong.he@corigine.com> To: test-report@dpdk.org Cc: Chaoyong He , zhoumin@loongson.cn X-CM-TRANSID: AQAAf8Ax2L0KuW1k_VBzAA--.61519S3 X-CM-SenderInfo: pthp3vthy6z05rqj20fqof0/ X-Coremail-Antispam: 1Uk129KBjvJXoW3JFyxJrWrCrWDZw1fArW7XFb_yoWfZw15pF 4DGa4YkrWkJr1kG3W3JFWruwn2v347J34DK3y5A34fXrs0yFyrZr1xZF129F98ArWDJasF ya15u3sa9a45Xa7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj qI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUIcSsGvfJTRUUU b0AFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wA2ocxC64kIII0Yj41l84x0c7CEw4 AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j6r1xM28EF7xvwVC0I7IYx2IY6xkF 7I0E14v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIEc7 CjxVAFwI0_Gr1j6F4UJwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYIkI8VC2 zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VCjz48v1sIEY20_WwAm72CE4IkC6x 0Yz7v_Jr0_Gr1lw4CEc2x0rVAKj4xxMxAIw28IcxkI7VAKI48JMxAIw28IcVCjz48v1sIE Y20_WwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E74 80Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jrv_JF1lIxkGc2Ij64vIr41lIxAIcVC0 I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04 k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7Cj xVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0zRhvtAUUUUU= X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: loongarch-compilation Test-Status: WARNING http://dpdk.org/patch/127278 _apply patch failure_ Submitter: Chaoyong He Date: Wed, 24 May 2023 15:12:04 +0800 DPDK git baseline: Repo:dpdk-next-net Branch: main CommitID: 7cd4df57fb216489979528d603d39a7a5d1529da Apply patch set 127278 failed: Checking patch app/test-pmd/testpmd.c... error: while searching for: struct rte_port *port = &ports[port_id]; /* * Starting a bonded port also starts all members under the bonded * device. So if this port is bond device, we need to modify the * port status of these members. */ error: patch failed: app/test-pmd/testpmd.c:632 error: app/test-pmd/testpmd.c: patch does not apply Checking patch app/test/test_link_bonding.c... error: while searching for: uint8_t member_mac[] = {0x00, 0xFF, 0x00, 0xFF, 0x00, 0x00 }; uint8_t bonded_mac[] = {0xAA, 0xFF, 0xAA, 0xFF, 0xAA, 0xFF }; struct link_bonding_unittest_params { int16_t bonded_port_id; int16_t member_port_ids[TEST_MAX_NUMBER_OF_PORTS]; uint16_t bonded_member_count; uint8_t bonding_mode; uint16_t nb_rx_q; error: patch failed: app/test/test_link_bonding.c:60 error: app/test/test_link_bonding.c: patch does not apply Checking patch app/test/test_link_bonding_mode4.c... error: while searching for: #define MAX_PKT_BURST (32) #define DEF_PKT_BURST (16) #define BONDED_DEV_NAME ("net_bonding_m4_bond_dev") #define MEMBER_DEV_NAME_FMT ("net_virt_%d") #define MEMBER_RX_QUEUE_FMT ("net_virt_%d_rx") error: patch failed: app/test/test_link_bonding_mode4.c:44 error: app/test/test_link_bonding_mode4.c: patch does not apply Checking patch app/test/test_link_bonding_rssconf.c... error: while searching for: #define RXTX_RING_SIZE 1024 #define RXTX_QUEUE_COUNT 4 #define BONDED_DEV_NAME ("net_bonding_rss") #define MEMBER_DEV_NAME_FMT ("net_null%d") #define MEMBER_RXTX_QUEUE_FMT ("rssconf_member%d_q%d") error: patch failed: app/test/test_link_bonding_rssconf.c:32 error: app/test/test_link_bonding_rssconf.c: patch does not apply Checking patch app/test/virtual_pmd.c... Checking patch doc/guides/prog_guide/img/bond-mode-0.svg... Checking patch doc/guides/prog_guide/img/bond-mode-1.svg... Checking patch doc/guides/prog_guide/img/bond-mode-2.svg... Checking patch doc/guides/prog_guide/img/bond-mode-3.svg... Checking patch doc/guides/prog_guide/img/bond-mode-4.svg... Checking patch doc/guides/prog_guide/img/bond-mode-5.svg... Checking patch doc/guides/prog_guide/img/bond-overview.svg... Checking patch doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst... error: while searching for: . figure:: img/bond-overview.* Bonded PMDs The Link Bonding PMD library(librte_net_bond) supports bonding of groups of ``rte_eth_dev`` ports of the same speed and duplex to provide similar capabilities to that found in Linux bonding driver to allow the aggregation of multiple (member) NICs into a single logical interface between a server and a switch. The new bonded PMD will then process these interfaces based on the mode of operation specified to provide support for features such as redundant links, fault tolerance and/or load balancing. The librte_net_bond library exports a C API which provides an API for the creation of bonded devices as well as the configuration and management of the bonded device and its member devices. . note:: error: patch failed: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst:10 error: doc/guides/prog_guide/link_bonding_poll_mode_drv_lib.rst: patch does not apply Checking patch doc/guides/testpmd_app_ug/testpmd_funcs.rst... Checking patch drivers/net/bonding/bonding_testpmd.c... error: while searching for: portid_t main_port_id = res->port_id; portid_t member_port_id = res->member_id; /* Set the primary member for a bonded device. */ if (rte_eth_bond_primary_set(main_port_id, member_port_id) != 0) { fprintf(stderr, "\t Failed to set primary member for port = %d.\n", main_port_id); error: patch failed: drivers/net/bonding/bonding_testpmd.c:290 error: drivers/net/bonding/bonding_testpmd.c: patch does not apply Checking patch drivers/net/bonding/eth_bond_8023ad_private.h... error: while searching for: /** * @internal * * Enables 802.1AX mode and all active members on bonded interface. * * @param dev Bonded interface * @return * 0 on success, negative value otherwise. */ error: patch failed: drivers/net/bonding/eth_bond_8023ad_private.h:208 error: drivers/net/bonding/eth_bond_8023ad_private.h: patch does not apply Checking patch drivers/net/bonding/eth_bond_private.h... error: while searching for: /**< Copy of TX configuration structure for queue */ }; /** Bonded member devices structure */ struct bond_ethdev_member_ports { uint16_t members[RTE_MAX_ETHPORTS]; /**< Member port id array */ uint16_t member_count; /**< Number of members */ error: patch failed: drivers/net/bonding/eth_bond_private.h:74 error: drivers/net/bonding/eth_bond_private.h: patch does not apply Checking patch drivers/net/bonding/rte_eth_bond.h... error: while searching for: * * RTE Link Bonding Ethernet Device * Link Bonding for 1GbE and 10GbE ports to allow the aggregation of multiple * (member) NICs into a single logical interface. The bonded device processes * these interfaces based on the mode of operation specified and supported. * This implementation supports 4 modes of operation round robin, active backup * balance and broadcast. Providing redundant links, fault tolerance and/or error: patch failed: drivers/net/bonding/rte_eth_bond.h:10 error: drivers/net/bonding/rte_eth_bond.h: patch does not apply Checking patch drivers/net/bonding/rte_eth_bond_8023ad.c... error: while searching for: if (warnings & WRN_RX_QUEUE_FULL) { RTE_BOND_LOG(DEBUG, "Member %u: failed to enqueue LACP packet into RX ring.\n" "Receive and transmit functions must be invoked on bonded" "interface at least 10 times per second or LACP will notwork correctly", member_id); } error: patch failed: drivers/net/bonding/rte_eth_bond_8023ad.c:206 error: drivers/net/bonding/rte_eth_bond_8023ad.c: patch does not apply Checking patch drivers/net/bonding/rte_eth_bond_8023ad.h... error: while searching for: * @return * 0 - if ok * -EINVAL if conf is NULL or member id is invalid (not a member of given * bonded device or is not inactive). */ __rte_experimental int error: patch failed: drivers/net/bonding/rte_eth_bond_8023ad.h:191 error: drivers/net/bonding/rte_eth_bond_8023ad.h: patch does not apply Checking patch drivers/net/bonding/rte_eth_bond_alb.h... error: while searching for: /** * Function updates member indexes of active connections. * * @param bond_dev Pointer to bonded device struct. */ void bond_mode_alb_client_list_upd(struct rte_eth_dev *bond_dev); error: patch failed: drivers/net/bonding/rte_eth_bond_alb.h:105 error: drivers/net/bonding/rte_eth_bond_alb.h: patch does not apply Checking patch drivers/net/bonding/rte_eth_bond_api.c... error: while searching for: } int valid_bonded_port_id(uint16_t port_id) { RTE_ETH_VALID_PORTID_OR_ERR_RET(port_id, -1); return check_for_bonded_ethdev(&rte_eth_devices[port_id]); } int check_for_main_bonded_ethdev(const struct rte_eth_dev *eth_dev) { int i; struct bond_dev_private *internals; if (check_for_bonded_ethdev(eth_dev) != 0) return 0; internals = eth_dev->data->dev_private; /* Check if any of member devices is a bonded device */ for (i = 0; i < internals->member_count; i++) if (valid_bonded_port_id(internals->members[i].port_id) == 0) return 1; return 0; error: patch failed: drivers/net/bonding/rte_eth_bond_api.c:30 error: drivers/net/bonding/rte_eth_bond_api.c: patch does not apply Checking patch drivers/net/bonding/rte_eth_bond_pmd.c... error: while searching for: uint16_t active_member; int i; /* Cast to structure, containing bonded device's port id and queue id */ struct bond_rx_queue *bd_rx_q = (struct bond_rx_queue *)queue; internals = bd_rx_q->dev_private; member_count = internals->active_member_count; error: patch failed: drivers/net/bonding/rte_eth_bond_pmd.c:65 error: drivers/net/bonding/rte_eth_bond_pmd.c: patch does not apply Checking patch lib/ethdev/rte_ethdev.h... error: while searching for: /** Device supports link state interrupt */ #define RTE_ETH_DEV_INTR_LSC RTE_BIT32(1) /** Device is a bonded member */ #define RTE_ETH_DEV_BONDED_MEMBER RTE_BIT32(2) #define RTE_ETH_DEV_BONDED_SLAVE \ do { \ RTE_DEPRECATED(RTE_ETH_DEV_BONDED_SLAVE) \ RTE_ETH_DEV_BONDED_MEMBER \ } while (0) /** Device supports device removal interrupt */ #define RTE_ETH_DEV_INTR_RMV RTE_BIT32(3) /** Device is port representor */ error: patch failed: lib/ethdev/rte_ethdev.h:2036 error: lib/ethdev/rte_ethdev.h: patch does not apply