Hi all,
Thanks for your time.

In func "vnet_register_interface",  i would like to find interface by name with 
func " hash_get_mem (vnm->interface_main.hw_interface_by_name, ifname)", 
but only success  when the "ifname" is equal to the currently registering 
interface. 
For example, if the registering interface is "host-vpp0", it's ok to find it 
with func   " hash_get_mem ", if the registering interface is "host-vpp1", it's 
failed to 
find "host-vpp0" which has already been created before. I am really confused.

Regards,
By Ewan.



yug...@telincn.com
_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to