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 7CB3B42604 for ; Thu, 21 Sep 2023 08:12:52 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 76A654014F; Thu, 21 Sep 2023 08:12:52 +0200 (CEST) Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by mails.dpdk.org (Postfix) with ESMTP id A96414014F for ; Thu, 21 Sep 2023 08:12:50 +0200 (CEST) Received: from loongson.cn (unknown [192.168.100.1]) by gateway (Coremail) with SMTP id _____8Dx_7vg3gtlXXkqAA--.22675S3; Thu, 21 Sep 2023 14:12:48 +0800 (CST) Received: from localhost.localdomain (unknown [192.168.100.1]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Cxvdzc3gtlARsNAA--.26436S3; Thu, 21 Sep 2023 14:12:44 +0800 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.15.2/8.15.2) with ESMTPS id 38L5pT7d3468741 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 21 Sep 2023 13:51:44 +0800 Received: (from root@localhost) by localhost.localdomain (8.15.2/8.15.2/Submit) id 38L5pLUm3468740; Thu, 21 Sep 2023 13:51:21 +0800 Date: Thu, 21 Sep 2023 13:51:21 +0800 From: qemudev@loongson.cn Message-Id: <202309210551.38L5pLUm3468740@localhost.localdomain> Content-Type: text/plain; charset="utf-8" Subject: |WARNING| pw131759 [PATCH v2] net/bonding: rename bonded to bonding In-Reply-To: <20230921061043.1057351-1-chaoyong.he@corigine.com> References: <20230921061043.1057351-1-chaoyong.he@corigine.com> To: test-report@dpdk.org Cc: Chaoyong He , zhoumin@loongson.cn X-CM-TRANSID: AQAAf8Cxvdzc3gtlARsNAA--.26436S3 Authentication-Results: localhost.localdomain; spf=neutral smtp.mail=q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I0_Jr0_Gr1lIxAIcVC2z280aVCY1x 0267AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxU2OzVUUUUU 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/131759 _apply patch failure_ Submitter: Chaoyong He Date: Thu, 21 Sep 2023 14:10:43 +0800 DPDK git baseline: Repo:dpdk Branch: main CommitID: 31e60e81f025e9fffa69b68bffe5cfaa22d5c098 Apply patch set 131759 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:647 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/howto/img/lm_bond_virtio_sriov.svg... Checking patch doc/guides/howto/lm_bond_virtio_sriov.rst... error: while searching for: Test Setup ---------- A bonded device is created in the VM. The virtio and VF PMD's are added as members to the bonded device. The VF is set as the primary member of the bonded device. A bridge must be set up on the Host connecting the tap device, which is the backend of the Virtio device and the Physical Function (PF) device. error: patch failed: doc/guides/howto/lm_bond_virtio_sriov.rst:16 error: doc/guides/howto/lm_bond_virtio_sriov.rst: patch does not apply 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... Hunk #1 succeeded at 1907 (offset -3 lines). Hunk #2 succeeded at 1915 (offset -3 lines). Checking patch drivers/crypto/scheduler/rte_cryptodev_scheduler.h... 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 drivers/net/mlx5/mlx5.c...