mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +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
@@ -1058,7 +1058,7 @@ netdev_linux_rxq_recv(struct netdev_rxq *rxq_, struct dp_packet **packets,
|
||||
dp_packet_delete(buffer);
|
||||
} else {
|
||||
dp_packet_pad(buffer);
|
||||
dp_packet_set_dp_hash(buffer, 0);
|
||||
dp_packet_set_rss_hash(buffer, 0);
|
||||
packets[0] = buffer;
|
||||
*c = 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user