Here are two arp_input functions on vpp 16.09 and vpp 17.04, if my VM have two ethernet intefaces with different network segment, and both of them are bridged to the same host phy interface, then we will have same arp entry on each interface. Why we process like this on version 17.04.
version 16.09 if ((!((FIB_ENTRY_FLAG_ATTACHED & src_flags) || (FIB_ENTRY_FLAG_CONNECTED & src_flags)) || sw_if_index0 != fib_entry_get_resolving_interface (src_fei)) ) { error0 = ETHERNET_ARP_ERROR_l3_src_address_not_local; goto drop2; } version 17.04 if (!((FIB_ENTRY_FLAG_ATTACHED & src_flags) || (FIB_ENTRY_FLAG_CONNECTED & src_flags)) ) { error0 = ETHERNET_ARP_ERROR_l3_src_address_not_local; goto drop2; } Regards, Ewan yug...@telincn.com
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev