Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp531171ybl; Tue, 7 Jan 2020 10:21:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwAi/Fhv/g0HjPmibVyRjs1nwCCuOqqTfATyHemMM+uDiFldSqcSbtuzCN6HhNwquOWmbgG X-Received: by 2002:a05:6830:1bf9:: with SMTP id k25mr1174351otb.36.1578421268144; Tue, 07 Jan 2020 10:21:08 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1578421268; cv=pass; d=google.com; s=arc-20160816; b=u8Sg5ygh6lNS1DlkTI1f97VUPJ88zdBEZv7XRaOPSU8R1qYpGR/02GMt0MBya2KsDB HNPirEFZV3ELaIfmLOHpy4Bvws+wYEkL4EOYBwq1FHywJ+0B7dMfIP+7mhVtPz7GNHks WO2lD7wThxdoQldYNHbirFqJ7C3JL1vmr7iTdvCEhiuopf7tzncs/ZJsweMXhlYMy4f4 dvOqL0yDHq7ERKYIF/N5o5o+AS5DAawGTTG2H7yQshj4q/qJfHi4sSJBAVX23WVg657X KwSFxv1IppUQzHEATxzaMYVz2A0RXocR+LPYWF/93lMN6Y5+7mcp8OFyyj62gmK1F6x1 a4mw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=S+dZwKKhJZMdeR/o+nLp6vdIohd9mkXR0UMI1TA6MMY=; b=ZahSRfeHfBzFLP4B9QrKLaWsIzetMHk8zYGUX9WLMOrSp8XdDZvv01DC2WEKzVpMxi YgEWzJC3qylni42+HIBjw6MVdpqFL9Y5+I6SA4zWFPWUorYZpuaJ3qU/AzCFB0DfxZ6E EHq5CbjnkxBn9UUutSsXUPkkvFQZLZx0Tksjj34aRFxzJHdSkYFlGHF1HcR3qNasqKhO O8FuGQg22hjaakS9VLB/ji1UZXgrjNnwbKs3lVXqYh0WsBW+toURDxQq4Sori+Fc6k0V +o2FFHNk/l7swz8OifhLPGrtNnIS8y8i74R7M0qEE+Qb7HTBJCYNzDYPafU9QxuCdoqn zH/g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=gaRVRZXD; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=NwSKxwu4; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e18si318333oti.153.2020.01.07.10.20.54; Tue, 07 Jan 2020 10:21:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=gaRVRZXD; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=NwSKxwu4; arc=pass (i=1 spf=pass spfdomain=fb.com dkim=pass dkdomain=fb.com dmarc=pass fromdomain=fb.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728598AbgAGSSt (ORCPT + 99 others); Tue, 7 Jan 2020 13:18:49 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:48276 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728573AbgAGSSs (ORCPT ); Tue, 7 Jan 2020 13:18:48 -0500 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 007IDoil003742; Tue, 7 Jan 2020 10:18:31 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=S+dZwKKhJZMdeR/o+nLp6vdIohd9mkXR0UMI1TA6MMY=; b=gaRVRZXDtv3gCi4NKSn14TGl/WxOy3HfqngNY/bs5XGIqt/wamw30+nKHIjlEjqtu/Ff AFhfgsSlyluYJjxYLq+HUhb1EkcP7cstLqGCeSXh0/7gl0PWg4A1Y48B1fl09m1T/t8V tOLUgMpRwGIfc66GTl7TvuN8S1qpTHsNq0s= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2xcr85t7xm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 07 Jan 2020 10:18:30 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.36.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 7 Jan 2020 10:18:29 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JFxPpTHlMSfvZ9gvgZ1IJwSQ7nM8owmP7CWKaHOB9SpDBkFWpV3cjUKK/4LSakVr+NixzMncCCT8hX/wHpyOnY8j/9RazDdbb82gkhPYxWzQHDNWfDIFoO97dbfSSvFKV1PRP13lHuxUQw58hXSpoWvbtmFUrDNphkT0YcKAEbFR2a1RAU3kP+0ON46XeVkXvd6oGddOJHQJ7gjraKzfsu5EYGEaC1D/FDCh5e2g0zpJjSWfGlZUi30vA9Uy1JFqxEiPFFc18S87tWM31SvdcCzoPUM0338NYstx3q1ydtK3OkQu+t45qfRCZOSS2MudsTL/aRJvTH63tSL8AKNOEw== 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-SenderADCheck; bh=S+dZwKKhJZMdeR/o+nLp6vdIohd9mkXR0UMI1TA6MMY=; b=oKl/0kqSNOC4Ua29RDiS/PFPrY2mPzSbHzUUqm1b8Q4ITcqeAAzjIW3GeJH0ceQx9aLioaY2gDq5DzKuYRw4NWzF/Ruc6Ho8hK2ZtlmS1JJ/8ZnfPZ38YwZUFrziMtT/9E1AQkLZenW2abN+7tBuPwMw/DpP7x6Oz9I5P9l5f09zO4f4J79t3my6rTaMaCwdstUQ0TI7E873z24F4q7UL1PcrY34A92w0m82ORoXq6z7VqIpZz0w8wjQY7f7/yQ0hiku3IjQwKa+4G5h+TIowBNI+vu6o/ub5mj4ErmHUvnGgmKQWiJWgZuNY8vGBrcz1zj2rz5Ul7DO3RoB+rl1Mw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=fb.com; dmarc=pass action=none header.from=fb.com; dkim=pass header.d=fb.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector2-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S+dZwKKhJZMdeR/o+nLp6vdIohd9mkXR0UMI1TA6MMY=; b=NwSKxwu4mkmwLYcjHDG3+lV0vpNm3OPKcoxVHy91cvJFlfJl0sb4paP6yAhdu9RMUIqKnGynblaJ6S9o5BoADk74AUSL2FFA9FWVeV/JWpXa+95Hr7iQxtC8K+eNw+tRD+Z2npC1FQYHs29NZk22kwJipTkBFPcqeSAuN2T37vc= Received: from DM5PR15MB1675.namprd15.prod.outlook.com (10.175.107.145) by DM5PR15MB1113.namprd15.prod.outlook.com (10.173.210.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.8; Tue, 7 Jan 2020 18:18:17 +0000 Received: from DM5PR15MB1675.namprd15.prod.outlook.com ([fe80::1cbf:c518:3a4d:291b]) by DM5PR15MB1675.namprd15.prod.outlook.com ([fe80::1cbf:c518:3a4d:291b%11]) with mapi id 15.20.2602.016; Tue, 7 Jan 2020 18:18:16 +0000 Received: from macbook-pro-52.dhcp.thefacebook.com (2620:10d:c090:200::1:2af9) by MW2PR16CA0061.namprd16.prod.outlook.com (2603:10b6:907:1::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.11 via Frontend Transport; Tue, 7 Jan 2020 18:18:15 +0000 From: Yonghong Song To: Brian Vazquez CC: Brian Vazquez , Alexei Starovoitov , Daniel Borkmann , "David S . Miller" , Stanislav Fomichev , Petar Penkov , Willem de Bruijn , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" , "bpf@vger.kernel.org" Subject: Re: [PATCH v3 bpf-next 06/11] bpf: add batch ops to all htab bpf map Thread-Topic: [PATCH v3 bpf-next 06/11] bpf: add batch ops to all htab bpf map Thread-Index: AQHVsHMuYMDKZmq21kWyUxx3YJSoMae4bbuAgCaCG4CAALzqAA== Date: Tue, 7 Jan 2020 18:18:16 +0000 Message-ID: <8ba54068-0a0f-479e-e4d7-42bfb7f8ed55@fb.com> References: <20191211223344.165549-1-brianvv@google.com> <20191211223344.165549-7-brianvv@google.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MW2PR16CA0061.namprd16.prod.outlook.com (2603:10b6:907:1::38) To DM5PR15MB1675.namprd15.prod.outlook.com (2603:10b6:3:11f::17) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::1:2af9] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 957c5fe8-5d56-402b-33b2-08d7939df775 x-ms-traffictypediagnostic: DM5PR15MB1113: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4125; x-forefront-prvs: 027578BB13 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(199004)(189003)(6506007)(53546011)(7416002)(71200400001)(52116002)(2616005)(8936002)(186003)(16526019)(6486002)(31686004)(81166006)(81156014)(6916009)(8676002)(5660300002)(6512007)(54906003)(31696002)(86362001)(2906002)(498600001)(4326008)(36756003)(966005)(66476007)(66446008)(64756008)(66946007)(66556008);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR15MB1113;H:DM5PR15MB1675.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mYTql+AN8IBLXQWsN+PoUqDMQK/JzzQ5frEgkEcKl1SXPJVMuGnCtsBQPPf6tWE4aG76wsAjsEk08YYhXYwQS6j9Ae+kW4rhvHajrihx7DrRhjxqoQZUIz1ID+vPJjIWFNjwYmqyNAvFGLMjUsYecb+CYac9XpPvrffmcWHf/l5chdYUtsLg0M+X9et9mMyS4YrQDZUJaNVyO1t4d95eqLIiqhaAQIr51H7AaCcaEZOLFCCPIw1apfqXTjJ+/k0mxtJje6FJTZC6G9gLnXcoBZ6fGv8ARMsLn/qkpivDm/1C4VLMFsktuDtkEXXMNrtdWbMcLpSqEXsXH0DaS+kLHkluHkI5YUemn1dnkpIhiMcSXPtYWCExTpMi+RGxUaqejDgos7DKfDlFXGUYS1B9BeNopMaMJVbgRv2xeoK0aILz9Jr8+ggvYa8VCl6OF9qkhfdjHmsmDEJRJNHlERrJBtRyqCyx9QE8GtTe3tHA+fUOliw+gJB9TTKOvLUJ7RFnFXyUTQOIfpOgzK8MfryJ+A== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <84FCF98D8EA57B438098981CC895CAFC@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 957c5fe8-5d56-402b-33b2-08d7939df775 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2020 18:18:16.8725 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZDd5IhS9OOC8TAnET3Qfb5+H56vN62+yf7fa7hhkR72I0kOFR5EoqBG1YDevzE78 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR15MB1113 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-07_06:2020-01-07,2020-01-07 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 malwarescore=0 suspectscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 spamscore=0 adultscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001070144 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDEvNi8yMCAxMTowMiBQTSwgQnJpYW4gVmF6cXVleiB3cm90ZToNCj4gT24gRnJpLCBE ZWMgMTMsIDIwMTkgYXQgMTI6NTggUE0gWW9uZ2hvbmcgU29uZyA8eWhzQGZiLmNvbT4gd3JvdGU6 DQo+Pg0KPj4NCj4+DQo+PiBPbiAxMi8xMS8xOSAyOjMzIFBNLCBCcm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vdGFsID09IDApDQo+Pj4gKyAgICAgICAgICAgICAgICAgICAgIHJldCA9 IC1FTk9TUEM7DQo+Pj4gKyAgICAgICAgICAgICBnb3RvIGFmdGVyX2xvb3A7DQo+Pj4gKyAgICAg fQ0KPj4+ICsNCj4+PiArICAgICBobGlzdF9udWxsc19mb3JfZWFjaF9lbnRyeV9zYWZlKGwsIG4s IGhlYWQsIGhhc2hfbm9kZSkgew0KPj4+ICsgICAgICAgICAgICAgbWVtY3B5KGRzdF9rZXksIGwt PmtleSwga2V5X3NpemUpOw0KPj4+ICsNCj4+PiArICAgICAgICAgICAgIGlmIChpc19wZXJjcHUp IHsNCj4+PiArICAgICAgICAgICAgICAgICAgICAgaW50IG9mZiA9IDAsIGNwdTsNCj4+PiArICAg ICAgICAgICAgICAgICAgICAgdm9pZCBfX3BlcmNwdSAqcHB0cjsNCj4+PiArDQo+Pj4gKyAgICAg ICAgICAgICAgICAgICAgIHBwdHIgPSBodGFiX2VsZW1fZ2V0X3B0cihsLCBtYXAtPmtleV9zaXpl KTsNCj4+PiArICAgICAgICAgICAgICAgICAgICAgZm9yX2VhY2hfcG9zc2libGVfY3B1KGNwdSkg ew0KPj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJwZl9sb25nX21lbWNweShkc3Rf dmFsICsgb2ZmLA0KPj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICBwZXJfY3B1X3B0cihwcHRyLCBjcHUpLCBzaXplKTsNCj4+PiArICAgICAgICAgICAgICAg ICAgICAgICAgICAgICBvZmYgKz0gc2l6ZTsNCj4+PiArICAgICAgICAgICAgICAgICAgICAgfQ0K Pj4+ICsgICAgICAgICAgICAgfSBlbHNlIHsNCj4+PiArICAgICAgICAgICAgICAgICAgICAgdmFs dWUgPSBsLT5rZXkgKyByb3VuZHVwX2tleV9zaXplOw0KPj4+ICsgICAgICAgICAgICAgICAgICAg ICBpZiAoZWxlbV9tYXBfZmxhZ3MgJiBCUEZfRl9MT0NLKQ0KPj4+ICsgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIGNvcHlfbWFwX3ZhbHVlX2xvY2tlZChtYXAsIGRzdF92YWwsIHZhbHVlLA0K Pj4+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0 cnVlKTsNCj4+PiArICAgICAgICAgICAgICAgICAgICAgZWxzZQ0KPj4+ICsgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIGNvcHlfbWFwX3ZhbHVlKG1hcCwgZHN0X3ZhbCwgdmFsdWUpOw0KPj4+ ICsgICAgICAgICAgICAgICAgICAgICBjaGVja19hbmRfaW5pdF9tYXBfbG9jayhtYXAsIGRzdF92 YWwpOw0KPj4+ICsgICAgICAgICAgICAgfQ0KPj4+ICsgICAgICAgICAgICAgaWYgKGRvX2RlbGV0 ZSkgew0KPj4+ICsgICAgICAgICAgICAgICAgICAgICBobGlzdF9udWxsc19kZWxfcmN1KCZsLT5o YXNoX25vZGUpOw0KPj4+ICsgICAgICAgICAgICAgICAgICAgICBpZiAoaXNfbHJ1X21hcCkNCj4+ PiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICBicGZfbHJ1X3B1c2hfZnJlZSgmaHRhYi0+ bHJ1LCAmbC0+bHJ1X25vZGUpOw0KPj4+ICsgICAgICAgICAgICAgICAgICAgICBlbHNlDQo+Pj4g KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZnJlZV9odGFiX2VsZW0oaHRhYiwgbCk7DQo+ Pj4gKyAgICAgICAgICAgICB9DQo+Pj4gKyAgICAgICAgICAgICBpZiAoY29weV90b191c2VyKHVr ZXlzICsgdG90YWwgKiBrZXlfc2l6ZSwga2V5cywga2V5X3NpemUpIHx8DQo+Pj4gKyAgICAgICAg ICAgICAgICBjb3B5X3RvX3VzZXIodXZhbHVlcyArIHRvdGFsICogdmFsdWVfc2l6ZSwgdmFsdWVz LA0KPj4+ICsgICAgICAgICAgICAgICAgd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