Hi Mohsin,

Thanks a lot for clarifying the doubt. Appreciate the help.

Thanks & Regards,
Sreejith

[banner5]



Sreejith Surendran Nair
Engineer - Software
srsur...@cisco.com<mailto:srsur...@cisco.com>
Tel:

Cisco Systems, Inc.
Block C 9/7 Hosur Road
BANGALORE
560 029
India
cisco.com


[http://www.cisco.com/assets/swa/img/thinkbeforeyouprint.gif]Think before you 
print.

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.
Please click 
here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for 
Company Registration Information.


From: Mohsin Kazmi (sykazmi)
Sent: Thursday, December 15, 2016 4:31 PM
To: Sreejith Surendran Nair <sreejith.surendrann...@linaro.org>; vpp-dev 
<vpp-dev@lists.fd.io>
Cc: Sreejith Surendran Nair -X (srsurend - TECH MAHINDRA LIM at Cisco) 
<srsur...@cisco.com>
Subject: Re: [vpp-dev] Query regarding VPP Af_packet/Netmap


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<mailto:vpp-dev-boun...@lists.fd.io> 
<vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io>> on behalf of 
Sreejith Surendran Nair 
<sreejith.surendrann...@linaro.org<mailto: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
  • [vpp-de... Sreejith Surendran Nair
    • Re... Mohsin Kazmi (sykazmi)
      • ... Sreejith Surendran Nair -X (srsurend - TECH MAHINDRA LIM at Cisco)

Reply via email to