If VPP receive a packet for which it needs to send an ARP request to resolve the MAC for its DIP, the ARP request will be sent and the current packet will be dropped. If an ARP response is received for the DIP of the original packet, then the following packets received with the same DIP will be forwarded properly. This is pretty standard router behavior. -John
From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Prerit Jain Sent: Friday, November 04, 2016 8:55 AM To: Dave Barach (dbarach); vpp-dev@lists.fd.io Subject: Re: [vpp-dev] FW: ARP handling using VPP Hi Dave, Thanks for the reply. I want to know about the L3 mode handling when no MAC address is configured. In the VPP source code, the code to send the ARP request/ ARP response is present, however my question is that what will happen to that data packet. Do VPP will queue it up till ARP query is completed. If yes, then can you let me know where it is getting queued up in the VPP source code? Regards Prerit --------- Original Message --------- Sender : Dave Barach (dbarach) <dbar...@cisco.com<mailto:dbar...@cisco.com>> Date : 2016-11-04 17:50 (GMT+5:30) Title : RE: [vpp-dev] FW: ARP handling using VPP To : Prerit Jain<prerit.j...@samsung.com<mailto:prerit.j...@samsung.com>>, null<vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>> Please clarify whether your question concerns bridging or routing. If you configure interfaces in L2 mode - bridging - packets sent to unknown MAC addresses will be flooded across interfaces in the bridge. In L3 mode, vpp sends ARP requests. In neither case is the linux kernel involved. Thanks… Dave From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> [mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Prerit Jain Sent: Friday, November 4, 2016 6:59 AM To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io> Subject: [vpp-dev] FW: ARP handling using VPP Hi, We are planning to use VPP with DPDK and trying to understand the processing of packet which is received for a destination for which no entry is present in L2 table. Does VPP will queue this packet and perform the ARP query to update its L2 table or it will forward the packet to kernel for ARP processing ?? Regards Prerit [cid:image001.gif@01D2367D.23068F10] [http://ext.samsung.net/mail/ext/v1/external/status/update?userid=prerit.jain&do=bWFpbElEPTIwMTYxMTA0MTI1NTAyZXBjbXM1cDFkOWEzYmJkYTBhZmExNTEwYjYwZmJjNGQ5MTM5MTM1ZCZyZWNpcGllbnRBZGRyZXNzPXZwcC1kZXZAbGlzdHMuZmQuaW8_]
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev