automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw131759 [PATCH v2] net/bonding: rename bonded to bonding
       [not found] <20230921061043.1057351-1-chaoyong.he@corigine.com>
@ 2023-09-21  5:51 ` qemudev
  2023-09-21  6:13 ` |SUCCESS| " checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: qemudev @ 2023-09-21  5:51 UTC (permalink / raw)
  To: test-report; +Cc: Chaoyong He, zhoumin

Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/131759

_apply patch failure_

Submitter: Chaoyong He <chaoyong.he@corigine.com>
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...


^ permalink raw reply	[flat|nested] 2+ messages in thread

* |SUCCESS| pw131759 [PATCH v2] net/bonding: rename bonded to bonding
       [not found] <20230921061043.1057351-1-chaoyong.he@corigine.com>
  2023-09-21  5:51 ` |WARNING| pw131759 [PATCH v2] net/bonding: rename bonded to bonding qemudev
@ 2023-09-21  6:13 ` checkpatch
  1 sibling, 0 replies; 2+ messages in thread
From: checkpatch @ 2023-09-21  6:13 UTC (permalink / raw)
  To: test-report

Test-Label: checkpatch
Test-Status: SUCCESS
http://dpdk.org/patch/131759

_coding style OK_



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-21  6:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230921061043.1057351-1-chaoyong.he@corigine.com>
2023-09-21  5:51 ` |WARNING| pw131759 [PATCH v2] net/bonding: rename bonded to bonding qemudev
2023-09-21  6:13 ` |SUCCESS| " checkpatch

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).