DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] KNI Integration
@ 2016-11-19  5:25 John Pearson
  2016-11-23 18:40 ` John Pearson
  0 siblings, 1 reply; 2+ messages in thread
From: John Pearson @ 2016-11-19  5:25 UTC (permalink / raw)
  To: users

Hi,

I have a DPDK application with two interfaces acting as a load balancer. On
one of the interfaces, I am allocating a KNI interface so that certain
packets can be processed by the kernel. To test I have a DHCP server
connected to the physical port to which KNI is bound.

I'm having 3 issues:

1. kni_config_network_interface function set on the rte_kni_ops struct when
allocating the port is called multiple times when run "ifconfig vEth0 up".
This function is called 2 or 3 times every time.

2. After I receive DHCP, when I ping google.com to test, I get multiple
packets that are duplicates, which are repeats of the same ICMP Sequence
and with message "DUP!" attached (http://unix.stackexchange.com/a/13256)

3. After a while of running the interface KNI and using it process packets,
usually after transmitting 200-300 Pings, the interface "dies out" and
stops reading or sending packets to the kernel.

The statistics for ping:

--- google.com ping statistics ---

302 packets transmitted, 198 received, +95 duplicates, +49 errors, 34%
packet loss, time 310119ms

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-23 18:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-19  5:25 [dpdk-users] KNI Integration John Pearson
2016-11-23 18:40 ` John Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).