Hello,
AF_Packet and Netmap drivers are implemented within VPP. Hence it requires to create virtual interfaces through VPP CLI. NOTE: Netmap is not used for physical interfaces. In case of Hardware NICs, VPP leverages DPDK which implements physical NICs drivers. Though DPDK also has virtual interfaces. But at the moment, only some can be used through VPP. Now ODP, it depends on your use case. You can implement ODP plugin in VPP and copy data to/from ODP from/to ODP driver nodes in plugin to VPP/DPDK buffers to handover them for VPP processing on the cost of performance. Otherwise, you need to follow the similar implementation design as one is for DPDK. -br Mohsin KAZMI ________________________________ From: vpp-dev-boun...@lists.fd.io <vpp-dev-boun...@lists.fd.io> on behalf of Sreejith Surendran Nair <sreejith.surendrann...@linaro.org> Sent: Thursday, December 15, 2016 3:19 AM To: vpp-dev Cc: Sreejith Surendran Nair -X (srsurend - TECH MAHINDRA LIM at Cisco) Subject: [vpp-dev] Query regarding VPP Af_packet/Netmap Hi All, I am new to VPP I had a basic doubt with respect to af_packet and netmap configuration with VPP. As I understand we need to configure interface CLI to start af_packet and netmap service . ~# vppctl create host-interface name vpp0 ~# vppctl set interface state host-vpp0 up Is the purpose of the CLI to create only virtual interface can it detect real hardware NIC port(can we configure the ports visible in 'ifconfig'). For DPDK, the real hardware NIC ports are detected as soon as vpp service is started. I was working on implementation of ODP(as new input node) with VPP so was confused as the code handling for VPP with af_packet/netmap and DPDK is different. Please correct me. Thanks & Regards, Sreejith
_______________________________________________ vpp-dev mailing list vpp-dev@lists.fd.io https://lists.fd.io/mailman/listinfo/vpp-dev