Discussion of the implementations of VIRTIO specification
 help / color / mirror / Atom feed
* [virtio-dev] [PATCH 0/2] virtio_net: support inner header hash for GRE-encapsulated packets
@ 2022-11-09 11:33 Heng Qi
  2022-11-09 11:33 ` [virtio-dev] [PATCH 1/2] virtio_net: fix syntax errors Heng Qi
  2022-11-09 11:33 ` [virtio-dev] [PATCH 2/2] virtio_net: support inner header hash for GRE-encapsulated packets Heng Qi
  0 siblings, 2 replies; 16+ messages in thread
From: Heng Qi @ 2022-11-09 11:33 UTC (permalink / raw)
  To: virtio-dev; +Cc: Jason Wang, Michael S . Tsirkin, Xuan Zhuo, Heng Qi

From: Heng Qi <henqqi@linux.alibaba.com>

Now, whether it is a tunnel-encapsulated packet or a normal packet, it can be
considered that the hash is calculated over the outer header. For the
tunnel-encapsulated packet in the same flow, the hash is the same under this
default behavior, and this is a point that can be optimized for multi-queue NICs.

This patch set adds a VIRTIO_NET_HASH_TYPE_GRE_INNER bitmask in \field{hash_types},
which supports inner header hash for GRE-encapsulated packets.

Heng Qi (2):
  virtio_net: fix syntax errors
  virtio_net: support inner header hash for GRE-encapsulated packets

 content.tex | 122 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 119 insertions(+), 3 deletions(-)

-- 
2.19.1.6.gb485710b


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2022-11-18  9:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-09 11:33 [virtio-dev] [PATCH 0/2] virtio_net: support inner header hash for GRE-encapsulated packets Heng Qi
2022-11-09 11:33 ` [virtio-dev] [PATCH 1/2] virtio_net: fix syntax errors Heng Qi
2022-11-09 11:33 ` [virtio-dev] [PATCH 2/2] virtio_net: support inner header hash for GRE-encapsulated packets Heng Qi
2022-11-10  3:35   ` [virtio-dev] " Jason Wang
2022-11-10  3:37     ` Heng Qi
2022-11-10  3:41     ` Heng Qi
2022-11-16 23:32       ` Yuri Benditovich
2022-11-17  2:52         ` Heng Qi
2022-11-17  4:29           ` Jason Wang
2022-11-17  5:00             ` Heng Qi
2022-11-17  5:34               ` Jason Wang
2022-11-17  6:00                 ` Heng Qi
2022-11-17  6:09                   ` Jason Wang
2022-11-17  7:48                     ` Heng Qi
2022-11-18  7:34                       ` Jason Wang
2022-11-18  9:25                         ` Heng Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox