What is the cost of the notification?

On Sat, Aug 04, 2018 at 03:58:57AM +0000, Linhaifeng wrote:
> 
> @@ -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:[email protected]] 
> 发送时间: 2018年8月4日 8:25
> 收件人: Linhaifeng <[email protected]>
> 抄送: [email protected]
> 主题: 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 <[email protected]>
> 
> 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
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to