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.133.124]) by mail.toke.dk (Postfix) with ESMTPS id 8F3489FA423 for ; Thu, 30 Mar 2023 21:05:06 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=JDFtspE3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680203105; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AjWL/5ulXSBNWvEtpYPDT+pUxocHBbNGFxfjDnuHH+M=; b=JDFtspE3HkjVMYFIQkq5HDOvxe5ejo9c3CAkh8BkadEQ+46EN3ptzSgxx2zOWa0LbbiN10 P9icKaLVvaY5FQ/buBh7nXZsVUAb1G31w08Z90TLheKPUPyFWGRggy3umaYuvOUUlZHasU gDhupWIVw7VDTCenWmc0s072ORMC9Y8= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-622-wvy6__YgMIiq3ULXIwsQZA-1; Thu, 30 Mar 2023 15:05:02 -0400 X-MC-Unique: wvy6__YgMIiq3ULXIwsQZA-1 Received: by mail-lf1-f71.google.com with SMTP id m5-20020a194345000000b004eae18274b7so7804918lfj.19 for ; Thu, 30 Mar 2023 12:05:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680203101; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AjWL/5ulXSBNWvEtpYPDT+pUxocHBbNGFxfjDnuHH+M=; b=EudZTvFyfLK5m1zxdQPKF7KaqpeO+KvkakUCM4zoc9WbojwzDbX90+h4lKQG69v666 l9k39ue//YeEi6gYB3Cx7xe6soitbX5r8UeLd/l1FaOfijflQzjDfe6yOeYs/ML1iFsI pQ8N77l5s1j77GO77hkKWJVQIArDrg2kGJjSkXqTeQfixEG/nTrf7nt9UbyP2SVljXhJ z4nwQKgbUxTgjrgsXFo34R3i4tnHhT7bC1fzf0xbHK4Rynrx+54mlPurjlO3HwMkOW0O oiINIxOhXCpNNBve3kn+Yy1IA6GcHosLJWC9PKzF05n+Hs019rhBH1/8gaZP2wFJgvvf j2Kg== X-Gm-Message-State: AAQBX9fv4IXnYNuQFDPbvVJEKw1tXXcSqLiAVfMHT87FKFlniCacc/KH HxdewWSgkDmthFMCWGJ8wCkG+csury/cqXuwCHfPM+sGnM+QZUha6U/KmD+GxhEEgrKmUIh2k1T 52kiWybvpvdIIhrN6Svfk X-Received: by 2002:ac2:596f:0:b0:4eb:e03:9e6c with SMTP id h15-20020ac2596f000000b004eb0e039e6cmr1997577lfp.33.1680203101319; Thu, 30 Mar 2023 12:05:01 -0700 (PDT) X-Google-Smtp-Source: AKy350aLpoXMI1x1xPT2ugdceXR972Lacx2zk/SiRRmV+Uf/xnP2xCALcA41ZMbTbuQxJnhXH31Y/w== X-Received: by 2002:ac2:596f:0:b0:4eb:e03:9e6c with SMTP id h15-20020ac2596f000000b004eb0e039e6cmr1997548lfp.33.1680203100914; Thu, 30 Mar 2023 12:05:00 -0700 (PDT) Received: from [192.168.42.100] (83-90-141-187-cable.dk.customer.tdc.net. [83.90.141.187]) by smtp.gmail.com with ESMTPSA id v28-20020ac2593c000000b004e9b42d778esm57581lfi.26.2023.03.30.12.04.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Mar 2023 12:05:00 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: <3423b37b-43d7-e9ee-6b1b-768b255a2773@redhat.com> Date: Thu, 30 Mar 2023 21:04:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Stanislav Fomichev References: <168019602958.3557870.9960387532660882277.stgit@firesoul> In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID-Hash: XNBYUZNTB4DPU65YW3FNNSO7EMODNDJJ X-Message-ID-Hash: XNBYUZNTB4DPU65YW3FNNSO7EMODNDJJ X-MailFrom: jbrouer@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: brouer@redhat.com, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, martin.lau@kernel.org, ast@kernel.org, daniel@iogearbox.net, alexandr.lobakin@intel.com, larysa.zaremba@intel.com, xdp-hints@xdp-project.net, anthony.l.nguyen@intel.com, yoong.siang.song@intel.com, boon.leong.ong@intel.com, intel-wired-lan@lists.osuosl.org, pabeni@redhat.com, jesse.brandeburg@intel.com, kuba@kernel.org, edumazet@google.com, john.fastabend@gmail.com, hawk@kernel.org, davem@davemloft.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf RFC-V3 0/5] XDP-hints: API change for RX-hash kfunc bpf_xdp_metadata_rx_hash List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On 30/03/2023 20.38, Stanislav Fomichev wrote: > On 03/30, Jesper Dangaard Brouer wrote: >> Notice targeted 6.3-rc kernel via bpf git tree. > >> Current API for bpf_xdp_metadata_rx_hash() returns the raw RSS hash value, >> but doesn't provide information on the RSS hash type (part of 6.3-rc). > >> This patchset proposal is to change the function call signature via adding >> a pointer value argument for provide the RSS hash type. > >> Alternatively we disable bpf_xdp_metadata_rx_hash() in 6.3-rc, and have >> more time to nitpick the RSS hash-type bits. > > LGTM with one nit about EMIT_BTF. > Great, others please review, so I can incorporate for tomorrow. I will send a official patchset V4 tomorrow. --Jesper