Return-Path: Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 7E1C4986505 for ; Wed, 9 Nov 2022 11:33:41 +0000 (UTC) From: Heng Qi Date: Wed, 9 Nov 2022 19:33:34 +0800 Message-Id: <20221109113336.121773-1-hengqi@linux.alibaba.com> MIME-Version: 1.0 Subject: [virtio-dev] [PATCH 0/2] virtio_net: support inner header hash for GRE-encapsulated packets Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="US-ASCII"; x-default=true To: virtio-dev@lists.oasis-open.org Cc: Jason Wang , "Michael S . Tsirkin" , Xuan Zhuo , Heng Qi List-ID: From: Heng Qi 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 thi= s 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(-) --=20 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