summaryrefslogtreecommitdiff
path: root/lib/netdev-bsd.c
diff options
context:
space:
mode:
authorDaniele Di Proietto <diproiettod@vmware.com>2015-04-15 19:11:48 +0100
committerEthan Jackson <ethan@nicira.com>2015-04-20 12:49:41 -0700
commit2bc1bbd27ded5752f438ff35673f38a527ea0915 (patch)
tree01616123675da80d731e1cb27b17adf398c8813c /lib/netdev-bsd.c
parent11bfdaddf2035efe054b6a098dc3b8aeeb65eeb6 (diff)
downloadopenvswitch-2bc1bbd27ded5752f438ff35673f38a527ea0915.tar.gz
dp-packet: Rename 'dp_hash' in 'rss_hash'.
We already have the 'dp_hash' embedded in the metadata. This caused confusion in the code. With this commit it should be clear that 'rss_hash' is the packet hash used for internal purposes, while 'md.dp_hash' is part of the flow, computed during the execution of certain actions. Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com> Acked-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/netdev-bsd.c')
-rw-r--r--lib/netdev-bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netdev-bsd.c b/lib/netdev-bsd.c
index cc01470b1..b3075dc82 100644
--- a/lib/netdev-bsd.c
+++ b/lib/netdev-bsd.c
@@ -642,7 +642,7 @@ netdev_bsd_rxq_recv(struct netdev_rxq *rxq_, struct dp_packet **packets,
dp_packet_delete(packet);
} else {
dp_packet_pad(packet);
- dp_packet_set_dp_hash(packet, 0);
+ dp_packet_set_rss_hash(packet, 0);
packets[0] = packet;
*c = 1;
}