From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E0A638FB3 for ; Tue, 19 Dec 2023 18:36:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VCFFYINl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1703010991; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=v47UTmHzAdl2Nt8HKA6jp1il3Lpc0GyKxIVnJREGniE=; b=VCFFYINlSC8B9VqE5Pvedsb4Z376BYQtkxncEGEiuMJU7RAOC7cCLhOCQgkwFFSE6SXuO2 mxQuxdvRucg3viWk0jIwSL+3EqFdRYV3f/mSwhERGCWgbcRERpZ0yMRjSGxejCApNGBDeS dr7G3IN2nqAFfoJNGkVyJbk932oA4II= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-S0KfxSKQPt-q_IvgayRTwQ-1; Tue, 19 Dec 2023 13:36:29 -0500 X-MC-Unique: S0KfxSKQPt-q_IvgayRTwQ-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-3366dcb20e0so1091126f8f.2 for ; Tue, 19 Dec 2023 10:36:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703010988; x=1703615788; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=v47UTmHzAdl2Nt8HKA6jp1il3Lpc0GyKxIVnJREGniE=; b=GOOyA4sr7l/UCxN4atbNy9j/BASKIZuPLlG+ljv3UXaycpgnkqZ246t/kT+hqsj+BZ PgjO/UDhKc5PSxqJxIWTzKKhslA8NVavK8ajkySHjABFciFFvKUIltHQW9IeHKT8+TOL gM0uIMaFU96drGF1iyRW9JCNOB/iEWCDqQkLmI4PnsvHKxabfwaGW+gvAc+PLzoKWtUS nMCI2ocWS1LSfh2vsYraDRsgw9o8wz0ZsTZ0oDprZjLozDmI3VLvzlWH9madfCSIerDq xHgBssra4xVXBJoAzwJjoSVUgH84LaaRGy4f9/t6PzBhNhcS/wqt6RylEyui4EYC9Z5j qRLg== X-Gm-Message-State: AOJu0Yzxn5afN1NL8c2CRABhoVbZw00aPSTMuUd9DNoXUaoB2d+69vjv szqh2we+ElCJ9vOXesYmFPR1FFZw5TeYLaqDR2ZAMvuaOVLzBaJbYdm3OuZ1+n2QpCsO9b5xeXE mdHqPiYv6svGJTK+K X-Received: by 2002:adf:fc43:0:b0:336:73ea:b831 with SMTP id e3-20020adffc43000000b0033673eab831mr846383wrs.50.1703010988639; Tue, 19 Dec 2023 10:36:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7ZDUfdCp8TeJng+VjBTvRf6OjZ70v7Qzcn/FZ5sz+Lbr05EsgZlGNV4j59UjFadCCiaJivQ== X-Received: by 2002:adf:fc43:0:b0:336:73ea:b831 with SMTP id e3-20020adffc43000000b0033673eab831mr846375wrs.50.1703010988261; Tue, 19 Dec 2023 10:36:28 -0800 (PST) Received: from redhat.com ([2.52.148.230]) by smtp.gmail.com with ESMTPSA id p16-20020a5d48d0000000b0033616ea5a0fsm26973853wrs.45.2023.12.19.10.36.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 10:36:26 -0800 (PST) Date: Tue, 19 Dec 2023 13:36:22 -0500 From: "Michael S. Tsirkin" To: Steffen Trumtrar Cc: Jason Wang , Xuan Zhuo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Richard Cochran , virtualization@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Willem de Bruijn Subject: Re: [PATCH RFC 1/4] virtio-net: support transmit hash report Message-ID: <20231219133545-mutt-send-email-mst@kernel.org> References: <20231218-v6-7-topic-virtio-net-ptp-v1-0-cac92b2d8532@pengutronix.de> <20231218-v6-7-topic-virtio-net-ptp-v1-1-cac92b2d8532@pengutronix.de> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231218-v6-7-topic-virtio-net-ptp-v1-1-cac92b2d8532@pengutronix.de> On Mon, Dec 18, 2023 at 12:37:08PM +0100, Steffen Trumtrar wrote: > diff --git a/include/uapi/linux/virtio_net.h b/include/uapi/linux/virtio_net.h > index cc65ef0f3c3e2..698a11f8c6ab9 100644 > --- a/include/uapi/linux/virtio_net.h > +++ b/include/uapi/linux/virtio_net.h > @@ -56,6 +56,7 @@ > #define VIRTIO_NET_F_MQ 22 /* Device supports Receive Flow > * Steering */ > #define VIRTIO_NET_F_CTRL_MAC_ADDR 23 /* Set MAC address */ > +#define VIRTIO_NET_F_TX_HASH 51 /* Driver sends hash report */ > #define VIRTIO_NET_F_VQ_NOTF_COAL 52 /* Device supports virtqueue notification coalescing */ > #define VIRTIO_NET_F_NOTF_COAL 53 /* Device supports notifications coalescing */ > #define VIRTIO_NET_F_GUEST_USO4 54 /* Guest can handle USOv4 in. */ Please make sure to register the feature bit with virtio tc to avoid collisions. -- MST