From mboxrd@z Thu Jan 1 00:00:00 1970 From: Song Liu Subject: Re: [PATCH v3 0/4] bpf: allow zero-initialising hash map seed Date: Fri, 16 Nov 2018 17:34:08 +0000 Message-ID: <5AA8DB5F-A852-451A-881F-56EB0030B709@fb.com> References: <20181001104509.24211-1-lmb@cloudflare.com> <20181116114111.31177-1-lmb@cloudflare.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "ast@kernel.org" , "daniel@iogearbox.net" , "netdev@vger.kernel.org" , "linux-api@vger.kernel.org" To: Lorenz Bauer Return-path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:56600 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729140AbeKQDrl (ORCPT ); Fri, 16 Nov 2018 22:47:41 -0500 In-Reply-To: <20181116114111.31177-1-lmb@cloudflare.com> Content-Language: en-US Content-ID: <20129410AB4DD94299301546CAC3CA6C@namprd15.prod.outlook.com> Sender: netdev-owner@vger.kernel.org List-ID: > On Nov 16, 2018, at 3:41 AM, Lorenz Bauer wrote: >=20 > Allow forcing the seed of a hash table to zero, for deterministic > execution during benchmarking and testing. >=20 > Changes from v2: > * Change ordering of BPF_F_ZERO_SEED in linux/bpf.h >=20 > Comments adressed from v1: > * Add comment to discourage production use to linux/bpf.h > * Require CAP_SYS_ADMIN >=20 > Lorenz Bauer (4): > bpf: allow zero-initializing hash map seed > bpf: move BPF_F_QUERY_EFFECTIVE after map flags > tools: sync linux/bpf.h > tools: add selftest for BPF_F_ZERO_SEED >=20 > include/uapi/linux/bpf.h | 9 ++-- > kernel/bpf/hashtab.c | 13 ++++- > tools/include/uapi/linux/bpf.h | 13 +++-- > tools/testing/selftests/bpf/test_maps.c | 68 +++++++++++++++++++++---- > 4 files changed, 84 insertions(+), 19 deletions(-) >=20 > --=20 > 2.17.1 >=20 For the series: Acked-by: Song Liu