Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp106684rdb; Tue, 19 Dec 2023 10:36:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9bIu9NM4WGhIrt4QBUp2fnMVep0Y2snkRRtq9anfj8GJayl4kXiW6o0xqcsXKiwb6Uzm9 X-Received: by 2002:a17:90a:ce0b:b0:28b:c53b:4567 with SMTP id f11-20020a17090ace0b00b0028bc53b4567mr974846pju.47.1703011007996; Tue, 19 Dec 2023 10:36:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703011007; cv=none; d=google.com; s=arc-20160816; b=LT0Qwfp5uE3ZYrcx+bIW3zq+6BJ3idmqn2ChoXigHqQH7+Ei0A6afU0wQWHdpiEwYf uTJOrX6milOg/RHwgsNBatXPaKlsW8dMmT4GDCWk/roY4XCx7WCJmJZwIxp2Hk/0ymiW RRXUeb2TvcQPuNfhvZpgIG6tuC9sjMzyOVEf3mhSE3lDPuu/pz0vfA0WuUDPdIv6a6M4 ApM7mJV63ZC/My6BWfH+yUfZfu4IR+SGM+OCBqW/By2/nuAuVnJvo6bxEYOXVzVmFQpk QfsZTfzPE+KlfNWgDG8F58fmfQEITrIrosgrhxchMuvboWfklWU9yaGO9ZjO6Dbsayao dOhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=v47UTmHzAdl2Nt8HKA6jp1il3Lpc0GyKxIVnJREGniE=; fh=7XNT8bH3WJ2SoyDH+rdK2jN1MBY1VVyphV56n5NMztY=; b=1DauTf5wmqSRRreHaJOfbZuyesrk8Lhddz3SE+0PAgbFMeXvpzG433ne0EQ0YC0j8h IABbKVNIwyc1pWz7hOxnZSSetEb20XVZkMtwY3Ea/U+/rO7C2/k1+Xile6E0LmH4bYrH fHYUEvtEZrHFHs56Op7aZegxWDCFy8ybxjblPhgyOfPtvU49zpXEsScMsScmHwfKJxj+ zT+VnE0zdv+ETCIAs4UMjk0YzRITsdffUFwgpbDIiP+qMZ1uPbLWrnA5C0zWF5IUWPHQ x3OSOYEG18NiyT1GOJdTAAVnCOQl74j4msX9gnZCT3YsqYCidBKU+Mw219P/+5Xar+GA E+QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VCFFYINl; spf=pass (google.com: domain of linux-kernel+bounces-5816-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y14-20020a17090a644e00b0028bc41fed36si686089pjm.128.2023.12.19.10.36.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 10:36:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5816-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VCFFYINl; spf=pass (google.com: domain of linux-kernel+bounces-5816-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5816-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A4E2A287090 for ; Tue, 19 Dec 2023 18:36:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F92037D32; Tue, 19 Dec 2023 18:36:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VCFFYINl" X-Original-To: linux-kernel@vger.kernel.org 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 4E0E438FB6 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 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-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-679-wwEir8tAPEaPDOaic6mdcg-1; Tue, 19 Dec 2023 13:36:29 -0500 X-MC-Unique: wwEir8tAPEaPDOaic6mdcg-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-33671e1efadso626978f8f.0 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=s5BYRYyxr3HmZ0GsL0kaIu3Phq8qIYvCyjhPXmP4l76reB/qWuvENnPJrhdpcHoleX tmCJNIAXSfjUZiMiPFrC76Ar6hemBU7tsuY2nNBhlc6rDCQJdDWKXHiIR/II1kCwrewX NsUXJ0UeQ+ZznloyauhKRgJbf5QzqsbHSYKtbblYs6Hcu4htk+J/qKeKIdeb6RlkQLcQ p3F2AzKgvyDOhxayW976//sxYzZe0OzzHbGjP7TOWOFppj+sPoaAl1ULgs8iIfRK7Nvc KgX13C2R/Bdflqc9xCB/dTPAUsTwbAYKeACcLyL+aEUXHu5HvfFaGwmbYAa/Mt2k9HXn Y8Qg== X-Gm-Message-State: AOJu0YxZyzOV9TWHliJh7rJK0Q/Fbpji9B502XQ2DmCCBpmZx/WkAOUg HxCknBRWW849QP4WK4qEr5RErCtL6cRu71IhjR4YwPz8Ddk4aJ+yF3sXmD0ZCG7BMtWztypc4CE 97O3pJQafikbdiHPjtR0f9SI+ X-Received: by 2002:adf:fc43:0:b0:336:73ea:b831 with SMTP id e3-20020adffc43000000b0033673eab831mr846388wrs.50.1703010988642; Tue, 19 Dec 2023 10:36:28 -0800 (PST) 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: linux-kernel@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