mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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>
This commit is contained in:
committed by
Ethan Jackson
parent
11bfdaddf2
commit
2bc1bbd27d
@@ -834,7 +834,7 @@ netdev_dummy_rxq_recv(struct netdev_rxq *rxq_, struct dp_packet **arr,
|
||||
ovs_mutex_unlock(&netdev->mutex);
|
||||
|
||||
dp_packet_pad(packet);
|
||||
dp_packet_set_dp_hash(packet, 0);
|
||||
dp_packet_set_rss_hash(packet, 0);
|
||||
|
||||
arr[0] = packet;
|
||||
*c = 1;
|
||||
|
Reference in New Issue
Block a user