* [dpdk-test-report] |WARNING| pw102655 [PATCH] ethdev: forbid MTU set before device configure
@ 2021-10-22 10:50 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-10-22 10:50 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 1082 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/102655
_apply patch failure_
Submitter: Andrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Date: Friday, October 22 2021 10:18:28
Applied on: CommitID:3ac2dffae88e8eb5c374b1fdd40d605014526510
Apply patch set 102655 failed:
Checking patch lib/ethdev/rte_ethdev.c...
error: while searching for:
return ret;
}
ret = (*dev->dev_ops->mtu_set)(dev, mtu);
if (ret == 0)
dev->data->mtu = mtu;
error: patch failed: lib/ethdev/rte_ethdev.c:3728
Applying patch lib/ethdev/rte_ethdev.c with 1 reject...
Rejected hunk #1.
diff a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c (rejected hunks)
@@ -3728,6 +3728,13 @@ rte_eth_dev_set_mtu(uint16_t port_id, uint16_t mtu)
return ret;
}
+ if (dev->data->dev_configured == 0) {
+ RTE_ETHDEV_LOG(ERR,
+ "Port %u must be configured before MTU set\n",
+ port_id);
+ return -EINVAL;
+ }
+
ret = (*dev->dev_ops->mtu_set)(dev, mtu);
if (ret == 0)
dev->data->mtu = mtu;
https://lab.dpdk.org/results/dashboard/patchsets/19644/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-22 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-22 10:50 [dpdk-test-report] |WARNING| pw102655 [PATCH] ethdev: forbid MTU set before device configure dpdklab
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).