NetRxPkt: fix hash calculation of IPV6 TCP
commit2683a927ff21b54a7300ac70c3c89652f2194969
authorYuri Benditovich <yuri.benditovich@daynix.com>
Mon, 27 Jan 2020 11:54:05 +0000 (27 13:54 +0200)
committerJason Wang <jasowang@redhat.com>
Tue, 3 Mar 2020 10:04:47 +0000 (3 18:04 +0800)
treed395a30c7f7a7a2b7870a8f98be3a21805d1f698
parent33bbc05eabe5109d270faf10493a3ebebd541ecd
NetRxPkt: fix hash calculation of IPV6 TCP

When requested to calculate the hash for TCPV6 packet,
ignore overrides of source and destination addresses
in in extension headers.
Use these overrides when new hash type NetPktRssIpV6TcpEx
requested.
Use this type in e1000e hash calculation for IPv6 TCP, which
should take in account overrides of the addresses.

Signed-off-by: Yuri Benditovich <yuri.benditovich@daynix.com>
Acked-by: Dmitry Fleytman <dmitry.fleytman@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c
hw/net/net_rx_pkt.c