Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4258107rwl; Mon, 10 Apr 2023 08:21:40 -0700 (PDT) X-Google-Smtp-Source: AKy350Zy4rUX/zA8Ou41+jY70F4k3+Lmozs5Wphs0vhdIakXMaphtTzoyo7wlg5233zPnlA2C8AV X-Received: by 2002:a17:906:858f:b0:94a:9f9a:b3c4 with SMTP id v15-20020a170906858f00b0094a9f9ab3c4mr1929997ejx.49.1681140100412; Mon, 10 Apr 2023 08:21:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681140100; cv=pass; d=google.com; s=arc-20160816; b=gdWWkI9gzNsjjfz+VmscT308sGDabILwlJw/dUZMaj0OJbzExoAiZvbapLc0Uyuy/F D9GvVky6Bt9euoKrwphszjChDf7+NKln9BlmrSK0HjG/5XlgMg+CIVCf2qx9gglw/K7W 123+W/JGWGSRHQUyj2/SqvgblwaMyaD1b4XeCuFjB/97FpBJBTOdz0QuMHJxcIpFPvst Ze00VqlkcIyQZ+t+eyokeEWfOWzXHXq8y+pFmTdYTUejhCYLmeBo0uo53vbP+nvu45y5 wyIcFxZFyN0eN8wpY48lSFvZXv6BKPZLZ1ZaZBLEK63ghbSPQ0DY/ZH+Hghp7pmDeMg1 SyHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to :content-transfer-encoding:content-disposition:references:message-id :subject:cc:to:from:date:dkim-signature; bh=u2XOkVrsyx5loF4I4U/XeYO4ZK+PLPN42PMPWmgUTnI=; b=Erlh2kVBQYXSH9kB7/Z3KQ5AfrbHDks2/P1LJCYXi407aeLtC8AnoyG7riBLf8CUTF 4QLRdiinM0TgrDMeo9zSVN3l5av4OYdfTHNjxyuqdjfr9HpZ1U7W/TGlAHUYk8z30TwQ 9k+mMSJQRvWBY9sfWwsmIokPiSrm0cYQXpi7HEINSYa9yOA8mgtHh6F4mkr/QHRwZ95M MOoi79Rz2kolJOvcN2WnMjqlu+rGGaLvA6gL1uTvL1MDT4n3PsiKrs4BFCCQOmAABn9k kH7dam+faEzKA1vbwNFxF03+hfhobI49JA460Kj2jI2J3Z9FS75kUvtoav9QJrzRnq6X FNow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=Tzn2EdXb; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt5-20020a170907728500b00926b7e35cf0si12093387ejc.165.2023.04.10.08.21.16; Mon, 10 Apr 2023 08:21:40 -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=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b=Tzn2EdXb; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229842AbjDJPM3 (ORCPT + 99 others); Mon, 10 Apr 2023 11:12:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbjDJPM1 (ORCPT ); Mon, 10 Apr 2023 11:12:27 -0400 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2106.outbound.protection.outlook.com [40.107.244.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7488035B7; Mon, 10 Apr 2023 08:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MKROnHI9pvqOIDyLWFQNfwvjgOLQdiCj+Jwq+GaIKCiEPkJayRW8zZGVDvQBViIjHgOsONgE4CUn2y7IXjCfTSnstaiIubRTbEFVSHq1JTcHqPzn5dIv4dJXfDgnlm78Ylp5xslr6Peu2fjvOBNvU8QMFqa0+FkE1ySQfrExjJzvBBFfZSybIifQAMV74wdoO51/PC4WJeL8qwRkQ/SsxKhxs0gOWbxNGxjoRbX1vxJGgTjKWTfao6uaGOUXINtTkoS6WH6D/Ut/hw7i504qaqXpCwysBzCJzF6KcFMLJTppCuBBR5Q9yxMozY6qEx92fobP5RSuH8uy/2D4kX3JDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=u2XOkVrsyx5loF4I4U/XeYO4ZK+PLPN42PMPWmgUTnI=; b=db6UyVJuwyDqMd7E3KhbMm2ZCD1xaEaEws0+zsJw5zlaG+iThP3mbSh0PoSmD39vBTDuMEFmoNit5IK0C1akKcJd8DlM4fZwCl/RapwY6LrWe2JwAx/+tjg8bf1nOJbMn32djRX+tsjPfX611xBMD/Mtvx/j+hQng/wE4q0WQctX6hrkpuIWaLhrKOrwyAnU2Rp4k/Sz1+K+0Tn8k/Qts73035uSocjhRKw77atvG+RBTGirKEWnme5mcnTD6eTW9r7lsSfp99qH/Jpy4ln5HggRiJGRVl/aGEttN/2V5+7yGfBVe5KFehCiFZ2TTyE5rEsAK3msA+gqZY7yE9VRnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u2XOkVrsyx5loF4I4U/XeYO4ZK+PLPN42PMPWmgUTnI=; b=Tzn2EdXbr4ADiLlNF4d1bDWsuxHwIXnA2iILeUJWtWGpxJ+BY5w+mzNRiNgE7Nus+9YnryGVM9VuPR7pMiUaQOIUmawRCTTt2jLkrC9GBsHdfAvohv7igRNtZE5rMvtY16I84TrbOXtrlwFqS+qXP2NhfrNprg4fxI31Z7Ph0RA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by SA1PR13MB5418.namprd13.prod.outlook.com (2603:10b6:806:231::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Mon, 10 Apr 2023 15:12:24 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::89d1:63f2:2ed4:9169]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::89d1:63f2:2ed4:9169%5]) with mapi id 15.20.6277.038; Mon, 10 Apr 2023 15:12:24 +0000 Date: Mon, 10 Apr 2023 17:12:16 +0200 From: Simon Horman To: Jesper Dangaard Brouer Cc: bpf@vger.kernel.org, Stanislav Fomichev , Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= , 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, tariqt@nvidia.com, saeedm@nvidia.com, leon@kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH bpf V7 6/7] mlx4: bpf_xdp_metadata_rx_hash add xdp rss hash type Message-ID: References: <168098183268.96582.7852359418481981062.stgit@firesoul> <168098190669.96582.15579713988345319189.stgit@firesoul> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <168098190669.96582.15579713988345319189.stgit@firesoul> X-ClientProxiedBy: AM0PR07CA0026.eurprd07.prod.outlook.com (2603:10a6:208:ac::39) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|SA1PR13MB5418:EE_ X-MS-Office365-Filtering-Correlation-Id: 8c8b587b-d2fa-4c12-7f32-08db39d5fd41 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 97L2T+v7iP8Jwq/nW1P95KXsfCHsBb9Apv1MGjmn0Qi7S1Nlwko6yCyokyTKZXoEcaqgqD5QQOH4HKUq/yRBp151sZbBiVlvzDJ+HKpESV3wXsLHe6rYLv1AgJ0b4lcqkEsuLx3IH27y49LzWPkyMJaqmlfJQsy/ot6PbttlTG3vUaiJ8UZlZe/syIhLynobL7T8J3LRZ9Mp+OEXJ/1N6aVX5+uL3kCTKfVFpZQjS+GWcbjlTLF0/bs/T2OxzxMf3zpLpUr6UcQpDubSD970XGVh0eB+8cl/w/c5ZHzbtpzn33vivmK/D1u2GvrEkaDmp1yQJo9oHboTnR80ODvD4PmDXWksn8S09vHT4MfZrF6dXgpylRIyxQh9C/MDdKENMTMYC8tNxqYUSmQmiqadvrBgHz44Wu8Qc2MMXL0+9sTv69CsFGX/YV2OaZsDCleItRMhzxkelHbCBXuxlh5yMTwPWyNN+WTW96NK4t6fDf5iSyShKeeqV3HGVR0U1gQQXTVdpz7y7FniiyT1nUvjZzM9xpEbn+Np1pDddSaXdXvibRAJPVfTI92DPBDEZb6t X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(346002)(366004)(136003)(376002)(39840400004)(451199021)(478600001)(316002)(54906003)(6512007)(6506007)(186003)(6486002)(6666004)(2906002)(4744005)(44832011)(66556008)(4326008)(66946007)(41300700001)(8936002)(6916009)(7416002)(5660300002)(66476007)(8676002)(38100700002)(86362001)(66574015)(36756003)(83380400001)(2616005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QW5NdGtwSGZGUDFKKzg4djFXVjRaODFVbFdBbjdtc210QXZxeEtjQ1hzMHA3?= =?utf-8?B?QVZUalVUZHRnTms5OTQ3TEllL0t2SnhjNUVOYW80cktCbUJVNFFIYnROV0Vs?= =?utf-8?B?M0lHM3cyaTFrbS9OdkVXUXgrdC80b3VseFNrT1NHY3c0ZjNTNHFWckJLKzlX?= =?utf-8?B?bHF3TkJzNU42aW1PaGVZUkZNUnJPYTZZZHlWK2tYd0hVdDNRL2oydUVEOGpu?= =?utf-8?B?YXZBQjE4UVpBbmt3Ukc5Mjh2N1NwNUwzWW9ieWM0L1puR0lOanFDUzFFMFM2?= =?utf-8?B?cHJYc1JyM3lMYWlPajVERG5URjF3SUszaHZCem5CcDhTWW1HSE5XaEV2dkZO?= =?utf-8?B?S2x1UDZ1T2tNWExEb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f-8?B?cUp4elNodTUrdi9KZGN6bG1wSUZESlBmQWluWWpqSTlPZEUyc1UwQ0NsM1pP?= =?utf-8?B?OW9sUDRXM3A4ZHBVYWNqazZYSzJRPT0=?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8c8b587b-d2fa-4c12-7f32-08db39d5fd41 X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Apr 2023 15:12:24.4601 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ggW0DsdPkbioiTR7shuDl+FKTkpoADl/pFhDx3TBNGSt6Rz5rzakJzMCDwWrrLrmXXUZCxbpi2NVBHs3d0PwK4uryrwJ8INalRGth2fUyOw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR13MB5418 X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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 Sat, Apr 08, 2023 at 09:25:06PM +0200, Jesper Dangaard Brouer wrote: > Update API for bpf_xdp_metadata_rx_hash() with arg for xdp rss hash type > via matching indiviual Completion Queue Entry (CQE) status bits. nit: s/indiviual/individual/ > > Fixes: ab46182d0dcb ("net/mlx4_en: Support RX XDP metadata") > Signed-off-by: Jesper Dangaard Brouer > Acked-by: Toke Høiland-Jørgensen > Acked-by: Stanislav Fomichev ...