[ovs-dev] 答复: [PATCH v2] netlink-notifier: support blacklist

Linhaifeng haifeng.lin at huawei.com
Sat Aug 4 03:58:57 UTC 2018


@@ -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:blp at ovn.org] 
发送时间: 2018年8月4日 8:25
收件人: Linhaifeng <haifeng.lin at huawei.com>
抄送: dev at 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.lin at 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.


More information about the dev mailing list