Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-14 Thread techiek7
[Edited Message Follows] Hello all, Thank you for your inputs. Let me elaborate my use case. I currently have DPDK router pipeline where DPDK-APP-A controls intel NICs through DPDK drivers. DPDK-APP-A is also responsible for routing between multiple physical interfaces(NICs). DPDK-APP-B is a

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-14 Thread techiek7
Hello all, Thank you for your inputs. Let me elaborate my use case. I currently have DPDK router pipeline where DPDK-APP-A controls intel NICs through DPDK drivers. DPDK-APP-A is also responsible for routing between multiple physical interfaces(NICs). DPDK-APP-B is a packet inspection

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-14 Thread techiek7
Hello Neale Ranns, How libmemif is supposed to be used then ? Did you get a chance to look into use case above ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17229): https://lists.fd.io/g/vpp-dev/message/17229 Mute This Topic:

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-13 Thread techiek7
[Edited Message Follows] 172.16.16.18 and 172.16.82.247 are IP addresses assigned to vpp physical interfaces. 172.16.16.17 and 172.16.82.4 are hosts(different machines) attached to those interfaces. VPP is acting as router. That works perfectly. Now I just want to let some non-vpp application

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-13 Thread techiek7
172.16.16.18 and 172.16.82.247 are IP addresses assigned to vpp physical interfaces. 172.16.16.17 and 172.16.82.4 are hosts(different machines) attached to those interfaces. VPP is acting as router. That works perfectly. Now I just want to let some non-vpp application to read packets. Hence

Re: [vpp-dev] Unable to create fib table and add interfaces in vpp 20.09

2020-08-13 Thread techiek7
[Edited Message Follows] Got it. Thanks.. in vpp v17 there was no ip table add/del in newer version it is introduced I guess... -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17201): https://lists.fd.io/g/vpp-dev/message/17201 Mute This

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-13 Thread techiek7
On Thu, Aug 13, 2020 at 01:38 AM, Benoit Ganne (bganne) wrote: > > vppctl ip route add 172.16.82.4/32 via 192.168.1.1 memif0/0 next-hop-table > 1 It shows following error: ip route: parse error `via 192.168.1.1 memif0/0 next-...' -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-13 Thread techiek7
Hi ben, Please find below trace (dpdk-input and memif-input) in application I am just writing back buffers I received on memif.. 00:02:56:971957: dpdk-input GigabitEthernet4/0/0 rx queue 0 buffer 0x98114: current data 0, length 74, buffer-pool 0, ref-count 1, totlen-nifb 0, trace handle

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-12 Thread techiek7
Can anyone please check and revert on this config ? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17214): https://lists.fd.io/g/vpp-dev/message/17214 Mute This Topic: https://lists.fd.io/mt/76099289/21656 Mute #vpp-memif:

Re: [vpp-dev] Unable to create fib table and add interfaces in vpp 20.09

2020-08-12 Thread techiek7
Got it. Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17201): https://lists.fd.io/g/vpp-dev/message/17201 Mute This Topic: https://lists.fd.io/mt/76146302/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:

[vpp-dev] Unable to create fib table and add interfaces in vpp 20.09

2020-08-12 Thread techiek7
Hello Team, I have two physical NIC attached to vpp-dpdk. vpp throws following error when I try to create fib table and add interface to it. set interface ip table GigabitEthernet4/0/0 1 ---> set interface ip table: no such table 1 "set interface ip table" command should create table for

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-12 Thread techiek7
Hello Ben, I tried below configuration, Packet rx on physical nic are visible in application through memif, and they are written-back successfully to memif. but they are not reaching intended destination. vppctl create interface memif id 0 master vppctl set int state memif0/0 up vppctl set int

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-10 Thread techiek7
[Edited Message Follows] Thanks. But I am having trouble figuring out routing or ABF in former case. Once I send packet back to VPP after processing from my application, how VPP can send it out on physical interface. I have two physical interfaces. Normally packets flow between two using link

Re: [vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-10 Thread techiek7
Thanks. But I am having trouble figuring out routing or ABF in former case. Once I send packet back to VPP after processing from my application, how VPP can send it out on physical interface. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online

[vpp-dev] #vpp-memif Send packets out on physical interface controlled by vpp(DPDK) once they are received through memif

2020-08-09 Thread techiek7
Hello Team, How do I send packets out on a physical interface after I received them through libmemif in non-vpp application from VPP(DPDK)? Do I need to send them back to vpp so that VPP can send them out on a physical interface. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to

Re: [vpp-dev] #vpp [Linux] Selective inline packet share to non-vpp application using libmemif

2020-08-06 Thread techiek7
Thanks Ben, Got it now. I hope memif is the ONLY right way of sharing packets to non-vpp applications. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17153): https://lists.fd.io/g/vpp-dev/message/17153 Mute This Topic:

[vpp-dev] #vpp [Linux] Selective inline packet share to non-vpp application using libmemif

2020-08-06 Thread techiek7
Hello team, I have a setup where vpp is running with dpdk on two nics. I have added NAT and other configurations and hence vpp is working as router. I want to integrate my DPI application hence need to intercept packets. I have looked at libmemif and its icmp-responder applications. But I was