From: Tonghao Zhang <xiangxia.m....@gmail.com> The bond device in dpdk-17.11 does not support setting mtu, but dpdk upstream supports it now. For more information, see:
http://dpdk.org/browse/dpdk/commit/?id=55b58a7374554cd1c86f4a13a0e2f54e9ba6fe4d This patch allows to create bond devices which not support setting mtu. Signed-off-by: Tonghao Zhang <xiangxia.m....@gmail.com> --- lib/netdev-dpdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index 30dc76d..ef95c43 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -721,7 +721,7 @@ dpdk_eth_dev_queue_setup(struct netdev_dpdk *dev, int n_rxq, int n_txq) } diag = rte_eth_dev_set_mtu(dev->port_id, dev->mtu); - if (diag) { + if (diag && diag != -ENOTSUP) { VLOG_ERR("Interface %s MTU (%d) setup error: %s", dev->up.name, dev->mtu, rte_strerror(-diag)); break; -- 1.8.3.1 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev