Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1357522pxb; Fri, 13 Nov 2020 10:30:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJzo45LgrRdoZHjMafY1bqtLCAZBUnNkae2d4g3V7siX/Dx8kdY0thG1xKV7DCRwz2jWtucT X-Received: by 2002:a17:906:d7a3:: with SMTP id pk3mr3194898ejb.208.1605292246693; Fri, 13 Nov 2020 10:30:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605292246; cv=none; d=google.com; s=arc-20160816; b=yRCIKQ44n+lHSaSDGGYRxT+3duQd9vdfx7mZhhD/c7broDL0hrfz9DNR0pqz9HZxWb y8gVg8MinRJzgQRsLYyQVvE97emWZuE12EQeK1EAhoQL3YQSPAS9Z8bQmQL3bnzaHUbs 9OFn0k+Mk1/aT9jtyY/M4WGTJk7W3l76gVxHXaN2dwy3NWKJIMw3yIVOJH55hdz7RlxO jMn1B+UMqYoCIEJvoON6FZPY5w4ug5wWIe9+JJV/meF6XtZaOyW5TXidwJMHI8/3VWAL rwclWXoNna9g98DsHgeVRfOSEgg9k5DaTs32f4INhiQZJe1Atya8TNLs6Fv2mXSAbQKR 5YYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=Ng2VvXg7vNgUseRrMkMXXM0qsKkjJ84iIXJLcjxcu38=; b=WO5Qw/J/xHKoMfU+UYErzMu7pnUREvepubtHll4uX21PBvFXyeiehpYM4fAC2SSW/q BC6IzamuRckGs0wvj8rIpqynMLYs2hsGm2owDqfe7sQnGW6rewv0d/briJgAQLS+Mn6p pAdjifXIM2d70BNabT8lQbPi9hHsGzLE6ApvEyMs9vDO2+9Jx8Md6mCQMJhRp+THKuHz ZZCy7dhfjjXG428knVygS9uHA/0qJcgT7e2Blr2N2TqMhIVEAXMwvQeWtM1o608wBb1Q yGZOdXjGAI17+jT5bUIU8RXuwg6eOnzxZ2JzsOBQ8Bfa+ELfO88TdJAwlFtt1D8geEIA QoPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FVGsLbXP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q1si4469269edr.229.2020.11.13.10.30.20; Fri, 13 Nov 2020 10:30:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FVGsLbXP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726301AbgKMS2z (ORCPT + 99 others); Fri, 13 Nov 2020 13:28:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgKMS2y (ORCPT ); Fri, 13 Nov 2020 13:28:54 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 814FCC0613D1 for ; Fri, 13 Nov 2020 10:28:54 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id s8so10993524wrw.10 for ; Fri, 13 Nov 2020 10:28:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=Ng2VvXg7vNgUseRrMkMXXM0qsKkjJ84iIXJLcjxcu38=; b=FVGsLbXP42Ja2KvJ+ArlS6vyZbaEwBpcVH4K0t0qpSfpD+Yi6gRw5Oj+1pGJxsyprf KeX3ljBJlp9gE4lF5dOvntv7B/VMifX9EVDWBn54VnW4SYc54SH7UzPTrACryAKVysCK 0CWLiAZA76MujIkb1WO9eVG+pcaZzCKuKnSfU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Ng2VvXg7vNgUseRrMkMXXM0qsKkjJ84iIXJLcjxcu38=; b=kPvZD+YRFWjNYZQtLEf0haWhOgfsh/PbpVsU4r6vV4xam2Re2jRyC6TNg6apzHH+Qx o6uc/P0P5Bcyrh1q6KZ1lpA4Iu5/+SVs8Qx6VO5XS06fBfoczKz5bvqz+JIfU0E4opM8 XfmllXggRzLDkVTVUs4c3mmm9CDAT0IaJxBRI7tqtPF2p6oS77yWDxcdeLaI4Ns+QeLw VqbAv9o0C1gRtklO8dLRRqQJmqkk7qBHAMyamH0GPfBEMiallBLxpClihyfHUZj01+x+ Yc/lltfWRdL8rQseWsd7gZnoayc7yDORff75DKMlmHvYO0bb22aGD7Ga1rMSZtl1D6fe dShQ== X-Gm-Message-State: AOAM531RSeP4V+x773Fu6kSF2zPtLK6TWYQtA5yZ7AtCENt+Om1CTrJh 8PpCRRdWjEJh8jKv8KVrYeeSGw== X-Received: by 2002:adf:e544:: with SMTP id z4mr5089010wrm.83.1605292133214; Fri, 13 Nov 2020 10:28:53 -0800 (PST) Received: from ?IPv6:2a04:ee41:4:1318:ea45:a00:4d43:48fc? ([2a04:ee41:4:1318:ea45:a00:4d43:48fc]) by smtp.gmail.com with ESMTPSA id o205sm11138131wma.25.2020.11.13.10.28.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 10:28:52 -0800 (PST) Message-ID: <4c446d3f19dd644eb520ae29a4d0b91a7ea3b956.camel@chromium.org> Subject: Re: [PATCH] bpf: Expose bpf_sk_storage_* to iterator programs From: Florent Revest To: Martin KaFai Lau Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, yhs@fb.com, andrii@kernel.org, kpsingh@chromium.org, jackmanb@chromium.org, linux-kernel@vger.kernel.org, Florent Revest Date: Fri, 13 Nov 2020 19:28:51 +0100 In-Reply-To: <20201112215742.mzznj7py3fmnl5ia@kafai-mbp> References: <20201112200914.2726327-1-revest@chromium.org> <20201112215742.mzznj7py3fmnl5ia@kafai-mbp> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2020-11-12 at 13:57 -0800, Martin KaFai Lau wrote: > Test(s) is needed. e.g. iterating a bpf_sk_storage_map and also > calling bpf_sk_storage_get/delete. > > I would expect to see another test/example showing how it works end- > to-end to solve the problem you have in hand. > This patch probably belongs to a longer series. Fair point, I'll get that done, thank you! > BTW, I am also enabling bpf_sk_storage_(get|delete) for > FENTRY/FEXIT/RAW_TP but I think the conflict should be manageable. > https://patchwork.ozlabs.org/project/netdev/patch/20201112211313.2587383-1-kafai@fb.com/ Thanks for the heads up, should be no problem :)