Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp58976rwl; Thu, 30 Mar 2023 12:07:14 -0700 (PDT) X-Google-Smtp-Source: AKy350ay9DqOMYR8aOp4d8Vfef6mlhplCKXtcFsmBv9lhYCl9zi7xOqlpAFoqZCNHz3PQOrJk+Nj X-Received: by 2002:a17:906:1ce:b0:92e:f520:7762 with SMTP id 14-20020a17090601ce00b0092ef5207762mr3121269ejj.6.1680203234529; Thu, 30 Mar 2023 12:07:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680203234; cv=none; d=google.com; s=arc-20160816; b=TrAOx5Uij/mQLWLeW2EjdPU4xOZiE8uDnl7+9jimCBtv8FmrAn+ccJyN6LyJtjbSci b4YztRBC5g1OdIEhRGt7kL6TeOcPfT8rJ1kTW/3xfJLhQ1pPUdxPEDselW3L+NG/QiAW q+W4d1+a/UExiCtHWhvRLPIQS3xTB2mTqdTgqD540VP8BDUqdxjRTLvDvac8s0Z4LIcy tA/G+/FGs+pKNqcQG8Sixm0AWeDaHbgSbDrlIgLR5WLcQmMK1e4VNhHkLd2AUJ2tLHRs /+fkky54Xj+3pHEcTmLn3b0QPOMgyndj0Ax47jp9GwVO8WKj6UOSQHvpjhzMUNfyeYaT nmmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :to:content-language:subject:cc:user-agent:mime-version:date :message-id:from:dkim-signature; bh=AjWL/5ulXSBNWvEtpYPDT+pUxocHBbNGFxfjDnuHH+M=; b=y2z3K6LiU7t5J+JMJUjemFe1YurRNLZctzBj4REPxD+PhPRqKsqKKRGEPmrDf+6N9A zqbsEEzO+bGjZdW4VUcZOEJfWL5i3zzrDyP36vTjWE/6OcARCJnTeswgyKHcVII392JD krR4SrjrVqOd1bvC1tqnpfPxbuJ181x0PT5Ou5gtkHh6VbxIKgeBHow1G/fA+YHuDhT8 lMtnob4B38zL8hozLO7zGT0adnZtjcBuWTB97yjtn9/EZT2h8nkpB4YNGWKjWmGKOUXC WMP8br0rx7N0WspPV/FBQV/llMRDw+sbadYjlxCwPwT3crF+TN7C1LXfpDdQR5rh9Pf7 +/vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZXIvEA8x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j21-20020a170906831500b009334efbad65si282678ejx.163.2023.03.30.12.06.48; Thu, 30 Mar 2023 12:07:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZXIvEA8x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231912AbjC3TFu (ORCPT + 99 others); Thu, 30 Mar 2023 15:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231838AbjC3TFr (ORCPT ); Thu, 30 Mar 2023 15:05:47 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4007B26B9 for ; Thu, 30 Mar 2023 12:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680203104; 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=ZXIvEA8xOHzc/0lT9hLiQl6yDBjgc1z3+LjloazkNQ7oNNbJL2+aZNKe9LPNLPAhJdoLDO TEc8RZUWF2nHSpura0PpDxzDOTsj7YtZSS5YuD0XrYMxlkwHmFvChHxVO1oqOhdvXxYaF6 bT58zv5h0GFLIzAiY7XUohv+Y9ndgEE= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-632-LcuURCw7OMCaOY8GOMBirQ-1; Thu, 30 Mar 2023 15:05:02 -0400 X-MC-Unique: LcuURCw7OMCaOY8GOMBirQ-1 Received: by mail-lj1-f199.google.com with SMTP id b5-20020a2ebc05000000b00295bab7c7d0so4531597ljf.15 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=BCo1jhV05NSzq8l26q7g/1kAelBJVCRj16cYDGbD+2xGDfR+BUSOG4Fle6bM+mfLNo xittIgPCT7eB9ZUaKs4S/IU1GBnG7lWsISnGHD0bNYEHeOUZkdCmmonzykG6IlG5E4hw hNz5bvJAFbg3QZvVZmBCS+muVXe4s0DR8TOCeWog9Dvnoa3LidNFT4t7WLbWphdfEq49 lhdiQachvWJr68u/cxv1SKEN7okU/vyKHoHGFK/7wm9MWM3orBSiGAJ3S9YQU5tdIEWq m8Y64g0X9oP8JLxI7PWNwnf3yitzxhsh7GZ/BUO9lg9uFEZakTcGCA00OCINhk7CckkA LXqQ== X-Gm-Message-State: AAQBX9dj6dC4A6nPMXPSkP80diC4lZyxz0QppC/ok9jgJa7QQBAnysC4 l2uCHYdDtuw5YX3K72qf/SbG2tCw79SBsyWKPuRGBq5IE8NUk1OIzM5ZWzRJ48D0d+7oIBcHr1H lzxrp4OK5S9tvW8iEYTvVfo+u X-Received: by 2002:ac2:596f:0:b0:4eb:e03:9e6c with SMTP id h15-20020ac2596f000000b004eb0e039e6cmr1997565lfp.33.1680203101215; Thu, 30 Mar 2023 12:05:01 -0700 (PDT) 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 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 Subject: Re: [PATCH bpf RFC-V3 0/5] XDP-hints: API change for RX-hash kfunc bpf_xdp_metadata_rx_hash Content-Language: en-US To: Stanislav Fomichev References: <168019602958.3557870.9960387532660882277.stgit@firesoul> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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