@@ -1015,6 +1016,8 @@ dpdk_eth_dev_init(struct netdev_dpdk *dev) rte_eth_dev_info_get(dev->port_id, &info); + rtnetlink_blacklist_add(dev->up.name); // add a ovs-dpdk port to blacklist +
Some DPDK port even use PMD they also have linux interface (like mellanox ethernet)but they don't need 'if change' notification. -----邮件原件----- 发件人: Ben Pfaff [mailto:b...@ovn.org] 发送时间: 2018年8月4日 8:25 收件人: Linhaifeng <haifeng....@huawei.com> 抄送: d...@openvswitch.org 主题: Re: [PATCH v2] netlink-notifier: support blacklist On Fri, Aug 03, 2018 at 02:10:06PM +0800, Haifeng Lin wrote: > in dpdk ovs mode some ether not need rtnetlink notifier so we can use > blacklist remove ethernet from rtnetlink notifier > > Signed-off-by: Haifeng Lin <haifeng....@huawei.com> Can you explain the benefit of the patch? I don't see any way for a port to be removed from the blacklist. _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev