Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4858699rdb; Fri, 15 Sep 2023 14:49:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG2CpK+ery+BgO0MevI9xoqCcUczEhifW/GqydxHlrOw/lZG/JKQ9XnhsMxKoqE4QW09fr8 X-Received: by 2002:a17:90a:c584:b0:273:efde:2ea4 with SMTP id l4-20020a17090ac58400b00273efde2ea4mr2676083pjt.42.1694814571045; Fri, 15 Sep 2023 14:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694814571; cv=none; d=google.com; s=arc-20160816; b=T4khQgcFBh/mEoyITD0/RZPoiF6jMSFB6BUarwZf6JTLzSnytFr121t8rsciMu2d1h mVkPquUWFWK+IRyiitDzEJjLkBr+NN2c3pEC7poeX3H3X1vQieYQ4gpQiICrdBDdOknq BfqB6DiS0jdMHEbhNSjlsvOf9KTn3mf2MTwgoU2W/vJ76BdAAy0u/9EXRDeqcQHHDSoO vx0yZmmwXdQqP9wWSMTTZ+3ATaLTYKhpr7nBstwiP/aFv3LkmZnadbN8sKmn55W5gApE CMU6dIcA4egelJLI9tYdqwI3I4aB9KGKlQO4zbIaMWNFCGNjIR1OfDLITlWF7VTSekXL Ulpw== 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:from :references:cc:to:content-language:subject:mime-version:date :dkim-signature:message-id; bh=alWL3GHrQxakFacxE4oyxz8hAneeAlgh8UAl0NR/+y0=; fh=DqG/jjtHqQWlrVFuc4ojWa27nfIM59Qv9OVxU5Q+dtg=; b=P/5qduzIrvYOonQ08e8BlIyBH2rJ/bGlpwZTRnpgQ2GzuyR5YmRjtcp/ZYoaXQShfc 1d0Cn7O7fDXzGuXib+64tcqlPulKb+/ed5RjdHDLRs24fo8fTK7dX9y6mCXCYTVBr1gC wMCkFG9FNjaUuT5D/+goZjCp6aHXipW7PM4Ml/XYU5OwfeSm2IQi7vp1kBWiHNT/lhWn eayKiK6+t84wvH43X0UPTI8RHKyKtWFeq/5QoeqXlMb1Shwu26Ij/ebCkzg+bYmZ0nMt kEWiTGHr29CcrRYxADDpeeksXKIP/xjKw4pg40jCpQEIiNiXWQzDVQXiZ+JmmFDPpJpX rk5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=kr8idsAd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v6-20020a17090a634600b0026b466905adsi6010072pjs.71.2023.09.15.14.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 14:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=kr8idsAd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 472038373083; Fri, 15 Sep 2023 12:28:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236870AbjIOT1b (ORCPT + 99 others); Fri, 15 Sep 2023 15:27:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236643AbjIOT1K (ORCPT ); Fri, 15 Sep 2023 15:27:10 -0400 Received: from out-224.mta0.migadu.com (out-224.mta0.migadu.com [91.218.175.224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A05C318D for ; Fri, 15 Sep 2023 12:27:05 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1694806024; 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=alWL3GHrQxakFacxE4oyxz8hAneeAlgh8UAl0NR/+y0=; b=kr8idsAdVaY/Q1Gf1ctsFqEMe0gkbyhtTN26W4rx7pupcNoQSVyRZRZfLLNadgwIa5N511 x3DP9git8cdWpBxJtDig8cqjlWZFhrZnvi4DXadNBkA1wB8amBsqEindfUgdL+XiIrkl9i 0RiCWrrLevdtYtFb8FlQNO36Rudk3Ro= Date: Fri, 15 Sep 2023 12:26:34 -0700 MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v2] bpf: Allow to use kfunc XDP hints and frags together Content-Language: en-US To: Larysa Zaremba Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , linux-kernel@vger.kernel.org, Maciej Fijalkowski , bpf@vger.kernel.org References: <20230915083914.65538-1-larysa.zaremba@intel.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <20230915083914.65538-1-larysa.zaremba@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Fri, 15 Sep 2023 12:28:10 -0700 (PDT) On 9/15/23 1:39 AM, Larysa Zaremba wrote: > There is no fundamental reason, why multi-buffer XDP and XDP kfunc RX hints > cannot coexist in a single program. > > Allow those features to be used together by modifying the flags condition > for dev-bound-only programs, segments are still prohibited for fully > offloaded programs, hence additional check. Applied. Please do follow up with a test. Thanks.