From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Chaoyong He <chaoyong.he@corigine.com>, zhoumin@loongson.cn
Subject: |WARNING| pw127278 [PATCH] net/bonding: rename bonded to bonding
Date: Wed, 24 May 2023 14:59:12 +0800 [thread overview]
Message-ID: <202305240659.34O6xCcj2767671@localhost.localdomain> (raw)
In-Reply-To: <20230524071204.2484248-1-chaoyong.he@corigine.com>
Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/127278
_apply patch failure_
Submitter: Chaoyong He <chaoyong.he@corigine.com>
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
next parent reply other threads:[~2023-05-24 7:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230524071204.2484248-1-chaoyong.he@corigine.com>
2023-05-24 6:59 ` qemudev [this message]
2023-05-24 7:13 ` checkpatch
2023-05-24 7:30 dpdklab
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=202305240659.34O6xCcj2767671@localhost.localdomain \
--to=qemudev@loongson.cn \
--cc=chaoyong.he@corigine.com \
--cc=test-report@dpdk.org \
--cc=zhoumin@loongson.cn \
/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).