[ovs-git] [openvswitch/ovs] f2f44f: dpif-netdev: Check for PKT_RX_RSS_HASH flag.
GitHub
noreply at github.com
Fri Sep 11 16:45:24 UTC 2015
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: f2f44f5da083c3a0c31f9080289af1941315b1ad
https://github.com/openvswitch/ovs/commit/f2f44f5da083c3a0c31f9080289af1941315b1ad
Author: Daniele Di Proietto <diproiettod at vmware.com>
Date: 2015-09-11 (Fri, 11 Sep 2015)
Changed paths:
M lib/dp-packet.h
M lib/dpif-netdev.c
M lib/netdev-bsd.c
M lib/netdev-dpdk.c
M lib/netdev-dummy.c
M lib/netdev-linux.c
Log Message:
-----------
dpif-netdev: Check for PKT_RX_RSS_HASH flag.
DPDK mbufs contain a valid RSS hash only if PKT_RX_RSS_HASH is
set in 'ol_flags'. Otherwise the hash is garbage and doesn't
relate to the packet.
This fixes an issue with vhost, which, being a virtual NIC, doesn't
compute the hash.
Reported-by: Dongjun <dongj at dtdream.com>
Suggested-by: Flavio Leitner <fbl at sysclose.org>
Acked-by: Kevin Traynor <kevin.traynor at intel.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
More information about the git
mailing list