Juniper / contrail-vrouter

Contrail Virtual Router
BSD 2-Clause "Simplified" License
217 stars 169 forks source link

GRE over IPv4 traffic from VM to Contrail is not destributed #99

Open aalexeykhan opened 7 years ago

aalexeykhan commented 7 years ago

When VMs exchange tunneled like GRE over IPv4 traffic between each other traffic is not geting destributed accross contrail cores which cause overload of one conrail core and leads to packet drops.

Following patch fix that: branch R3.2 version cd1162a112a48745f1ba9c215faede962bfed7d8

diff --git a/dpdk/vr_dpdk_ethdev.c b/dpdk/vr_dpdk_ethdev.c index c11fc4d..437e0f5 100644 --- a/dpdk/vr_dpdk_ethdev.c +++ b/dpdk/vr_dpdk_ethdev.c @@ -769,6 +769,20 @@ dpdk_mbuf_rss_hash(struct rte_mbuf mbuf, struct vr_ip ipv4_hdr, case VR_IP_PROTO_UDP: hash = rte_hash_crc_4byte(*l4_ptr, hash); break;

+struct vr_gre_key {