|WARNING| pw110231-110232 [PATCH] [2/2] net/mlx5: fix LRO configuration in drop RxQ

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Mon Apr 25 11:49:07 CEST 2022


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/110231

_apply patch failure_

Submitter: Michael Baum <michaelba at nvidia.com>
Date: Monday, April 25 2022 09:30:20 
Applied on: CommitID:76076342ec8ef108a155938d46a88bb493fae60e
Apply patch set 110231-110232 failed:

Checking patch drivers/net/mlx5/mlx5_rxq.c...
error: while searching for:
			    dev->data->dev_conf.rxmode.offloads;
	bool is_extmem = false;

	if (mp) {
		/*
		 * The parameters should be checked on rte_eth_dev layer.

error: patch failed: drivers/net/mlx5/mlx5_rxq.c:842
Applying patch drivers/net/mlx5/mlx5_rxq.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/mlx5/mlx5_rxq.c b/drivers/net/mlx5/mlx5_rxq.c	(rejected hunks)
@@ -842,6 +842,14 @@ mlx5_rx_queue_setup(struct rte_eth_dev *dev, uint16_t idx, uint16_t desc,
 			    dev->data->dev_conf.rxmode.offloads;
 	bool is_extmem = false;
 
+	if ((offloads & RTE_ETH_RX_OFFLOAD_TCP_LRO) &&
+	    !priv->sh->dev_cap.lro_supported) {
+		DRV_LOG(ERR,
+			"Port %u queue %u LRO is configured but not supported.",
+			dev->data->port_id, idx);
+		rte_errno = EINVAL;
+		return -rte_errno;
+	}
 	if (mp) {
 		/*
 		 * The parameters should be checked on rte_eth_dev layer.

https://lab.dpdk.org/results/dashboard/patchsets/21904/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list