Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1594285rdb; Thu, 7 Dec 2023 03:53:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFiW59AriPASKe73x7CEgSz6MgwihxOaRVj3INkiXJYMOTi0Q3hGEKI5OoxY9W86pCBTr0X X-Received: by 2002:a05:6e02:1d8f:b0:35d:6fee:19a7 with SMTP id h15-20020a056e021d8f00b0035d6fee19a7mr3391451ila.26.1701950029584; Thu, 07 Dec 2023 03:53:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701950029; cv=none; d=google.com; s=arc-20160816; b=nEHtGIF6qxT5I+d6C8js2Wq8QHlVAOJORylAkfVhEt1a92+MM7am1SjVnsbxQzUR2y A4Ra1UT7iq0/nlxHIKm6XhT0mEoI4xlr5sJaz7R2YiyIJvtnwgS+qhjXUzUTqfjtLzco BOu0E6stYU4LDBN80V6A0Yu59tx3XATBRHzwJniqHz3C3Eegi/acbYac92F/2CQchXde 7FcZirjRA3wu9AfqZaacrZfcOFzEUIx/U1QXTQPrt0hmmJ2oUlmD4ajkmu+b+re6btSX ljj4bOxd6rFiuPQL3mO8lRQ6iMrq/VPN4/xLE81tU/1KoQ7GVJAGdW5GTAS0QixnhFIh sq2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-filter; bh=9f501q9ShAm0hj89EjusFvxtFDqwlRusnLwKcvi42mk=; fh=1NwqTr5T4umJt2qXffrcm5HzT6vtJcfvs45kte/ATSY=; b=yq3sfeA4oI6P/auvGInWIDkie6bolyksiq/npuij1SkLSq4pNvqWRzlSpzvU2d6gZo OBTWRZhFc4Mg6FPJIUacfGG2tJBP9NQGsZYRcH+Kw2K7ILsixWAHtl2fV3ELWKYrHIRL 7uhRgKr/D0fRRqRMxOl7XUcw1vWKTmKaUQDNV+YOzmaZGYfSive65GskBTWZtazCPxDK mFNeo2iufhvyV+Qv6qyPvynvJ8wsHWGnR7UBIUOw8uSs1HAl+GLillBub17RSifX7xlv cPpySZ3FxVLE2pkAVI3QvQJpAOUo4/zhhFQ/Vj6OwPUQ2lIVhD5sC5VZ2GvcdzU5Ya24 cIQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=D7CepgAJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id o14-20020a63e34e000000b005bdd6c412dasi1076058pgj.108.2023.12.07.03.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 03:53:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@secunet.com header.s=202301 header.b=D7CepgAJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id AE950808EE6C; Thu, 7 Dec 2023 03:53:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379016AbjLGLxd (ORCPT + 99 others); Thu, 7 Dec 2023 06:53:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232395AbjLGLxb (ORCPT ); Thu, 7 Dec 2023 06:53:31 -0500 Received: from a.mx.secunet.com (a.mx.secunet.com [62.96.220.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2951FAA; Thu, 7 Dec 2023 03:53:37 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by a.mx.secunet.com (Postfix) with ESMTP id EBAA5207D5; Thu, 7 Dec 2023 12:53:35 +0100 (CET) X-Virus-Scanned: by secunet Received: from a.mx.secunet.com ([127.0.0.1]) by localhost (a.mx.secunet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xdw25MNClfav; Thu, 7 Dec 2023 12:53:35 +0100 (CET) Received: from mailout1.secunet.com (mailout1.secunet.com [62.96.220.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by a.mx.secunet.com (Postfix) with ESMTPS id 6980F20799; Thu, 7 Dec 2023 12:53:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 a.mx.secunet.com 6980F20799 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=secunet.com; s=202301; t=1701950015; bh=9f501q9ShAm0hj89EjusFvxtFDqwlRusnLwKcvi42mk=; h=Date:From:To:CC:Subject:References:In-Reply-To:From; b=D7CepgAJkUf8ObQV59bX3sjzotaZC7yz4W8BbEEPxFsauN4JnpriOKHOeNnLHd5z5 k8rU2E+qi07ZeozaTsqqQgYa6F346EcDYsYta3MAdRrJ9XRNp8MlHillXqujCYCXYl X8ayrwgbFlTUrkT5Ycu6VDrhmmEvZSkathdTTzuQ+YTSzOW1NJFotPf8qRBrWglVqJ JvrwR6zaofalFArBdycd/q9lCM+s332FqDrXlzvlQv2/uUGbl7h1D17ll9/7VGdngR B3UyX6A3ve7OV7Q4X87fb71kWatYzzj88BPnLLGSdHd9ySD3o+HW24I/i2G3Grj7Et inCpW/iZVW0+g== Received: from cas-essen-01.secunet.de (unknown [10.53.40.201]) by mailout1.secunet.com (Postfix) with ESMTP id 635E980004A; Thu, 7 Dec 2023 12:53:35 +0100 (CET) Received: from mbx-essen-02.secunet.de (10.53.40.198) by cas-essen-01.secunet.de (10.53.40.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 7 Dec 2023 12:53:35 +0100 Received: from gauss2.secunet.de (10.182.7.193) by mbx-essen-02.secunet.de (10.53.40.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 7 Dec 2023 12:53:34 +0100 Received: by gauss2.secunet.de (Postfix, from userid 1000) id AD2A231848F7; Thu, 7 Dec 2023 12:53:34 +0100 (CET) Date: Thu, 7 Dec 2023 12:53:34 +0100 From: Steffen Klassert To: Daniel Xu CC: , , , "Herbert Xu" , , , , , , , , , , , , , Subject: Re: [PATCH bpf-next v4 02/10] bpf: xfrm: Add bpf_xdp_get_xfrm_state() kfunc Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: cas-essen-02.secunet.de (10.53.40.202) To mbx-essen-02.secunet.de (10.53.40.198) X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 07 Dec 2023 03:53:46 -0800 (PST) On Mon, Dec 04, 2023 at 01:56:22PM -0700, Daniel Xu wrote: > This commit adds an unstable kfunc helper to access internal xfrm_state > associated with an SA. This is intended to be used for the upcoming > IPsec pcpu work to assign special pcpu SAs to a particular CPU. In other > words: for custom software RSS. > > That being said, the function that this kfunc wraps is fairly generic > and used for a lot of xfrm tasks. I'm sure people will find uses > elsewhere over time. > > Co-developed-by: Antony Antony > Signed-off-by: Antony Antony > Signed-off-by: Daniel Xu Acked-by: Steffen Klassert