DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] ARP reply packet fail to transmit on the wire on 82599ES
@ 2015-10-20  6:05 Du, Fan
  2015-10-20 14:13 ` [dpdk-users] [ovs-discuss] " Chandran, Sugesh
  0 siblings, 1 reply; 2+ messages in thread
From: Du, Fan @ 2015-10-20  6:05 UTC (permalink / raw)
  To: users; +Cc: discuss

hi dpdk and ovs experts

My test bed is pretty simple, setup host1 and host2 with following topology.
I use dpdk-2.0.0 with ovs head commit.

On host1:
kvm guest1 -> dpdkvhostuser -> br-int -> vxlan port -> br-ex -> dpdk port
ifconfig br-ex 192.168.1.2/24

On host2:
kvm guest2 -> dpdkvhostuser -> br-int -> vxlan port -> br-ex -> dpdk port
ifconfig br-ex 192.168.1.4/24

All ovs bridge are on user space, both hosts are connected with DAC 
using 82599ES,
the first packet between guest1 and guest2 triggers arp resolution for 
the vxlan
outer mac address for br-ex ip address.

tcpdump on host1 br-ex with dummy device:
09:32:58.393875 ARP, Request who-has 192.168.1.4 tell 192.168.1.2, length 28

tcpdump on host2 br-ex with dummy device:
21:21:31.766201 ARP, Request who-has 192.168.1.4 tell 192.168.1.2, length 46
21:21:31.766273 ARP, Reply 192.168.1.4 is-at 90:e2:ba:64:f4:05, length 46

It's wired that host1 failed receive ARP Reply packet from host2, so 
guest1 and
guest2 cannot talk to each other. When I replace dpdk port with normal 
net device
ens803f1 using the same NIC physical port, two guests talk to each other 
well.

After some digging, the ARP reply packet did reach on ixgbe tx_pkt_burst 
function,
whether or not RTE_IXGBE_INC_VECTOR is set, ARP reply packet didn't show 
on wire.

This looks like a bug to me, or am I missing something somewhere obviously.
Any suggestions and pointers is appreciated.

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

* Re: [dpdk-users] [ovs-discuss] ARP reply packet fail to transmit on the wire on 82599ES
  2015-10-20  6:05 [dpdk-users] ARP reply packet fail to transmit on the wire on 82599ES Du, Fan
@ 2015-10-20 14:13 ` Chandran, Sugesh
  0 siblings, 0 replies; 2+ messages in thread
From: Chandran, Sugesh @ 2015-10-20 14:13 UTC (permalink / raw)
  To: Du, Fan, users; +Cc: discuss

Have you set the dpdk-port mac address to br-ex using the following command ??
	" ovs-vsctl set bridge br-ex other-config:hwaddr=aa:bb:cc:dd:ee:ff"

Regards
_Sugesh

-----Original Message-----
From: discuss [mailto:discuss-bounces@openvswitch.org] On Behalf Of Du, Fan
Sent: Tuesday, October 20, 2015 7:06 AM
To: users@dpdk.org
Cc: discuss@openvswitch.org
Subject: [ovs-discuss] ARP reply packet fail to transmit on the wire on 82599ES

hi dpdk and ovs experts

My test bed is pretty simple, setup host1 and host2 with following topology.
I use dpdk-2.0.0 with ovs head commit.

On host1:
kvm guest1 -> dpdkvhostuser -> br-int -> vxlan port -> br-ex -> dpdk port ifconfig br-ex 192.168.1.2/24

On host2:
kvm guest2 -> dpdkvhostuser -> br-int -> vxlan port -> br-ex -> dpdk port ifconfig br-ex 192.168.1.4/24

All ovs bridge are on user space, both hosts are connected with DAC using 82599ES, the first packet between guest1 and guest2 triggers arp resolution for the vxlan outer mac address for br-ex ip address.

tcpdump on host1 br-ex with dummy device:
09:32:58.393875 ARP, Request who-has 192.168.1.4 tell 192.168.1.2, length 28

tcpdump on host2 br-ex with dummy device:
21:21:31.766201 ARP, Request who-has 192.168.1.4 tell 192.168.1.2, length 46
21:21:31.766273 ARP, Reply 192.168.1.4 is-at 90:e2:ba:64:f4:05, length 46

It's wired that host1 failed receive ARP Reply packet from host2, so
guest1 and
guest2 cannot talk to each other. When I replace dpdk port with normal net device
ens803f1 using the same NIC physical port, two guests talk to each other well.

After some digging, the ARP reply packet did reach on ixgbe tx_pkt_burst function, whether or not RTE_IXGBE_INC_VECTOR is set, ARP reply packet didn't show on wire.

This looks like a bug to me, or am I missing something somewhere obviously.
Any suggestions and pointers is appreciated.
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

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

end of thread, other threads:[~2015-10-20 14:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-20  6:05 [dpdk-users] ARP reply packet fail to transmit on the wire on 82599ES Du, Fan
2015-10-20 14:13 ` [dpdk-users] [ovs-discuss] " Chandran, Sugesh

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).