Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3936231ybc; Thu, 21 Nov 2019 16:37:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwBZDfR/A1ja/Oy8oD+DHrD5bDmRvG4tNC3dybXwZc5vwmaUnMgd8px4WWCgtFhwabGu15T X-Received: by 2002:a17:906:7fcb:: with SMTP id r11mr17711366ejs.85.1574383032261; Thu, 21 Nov 2019 16:37:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574383032; cv=pass; d=google.com; s=arc-20160816; b=GbkGIXMCfN0AqObXnZAQPcQIeoWweWTmo960Dmx8ayF3yGiy/jRuSI034dXkVXcmCg Wy6WBV93brBKXBHaP/BPSBRZOo5tcTKazGSWKX9/l1h6OapQBA8SGj95cH8dTDARlAmv 4+yWzBcsSDwlFI0TE5wswhB5UhbV7wcmkSHxs7SEA8t4gLIZwJDBFmMAKaviZ8DmSBPO Z+ECLtI4aWtjoJAQUlw5yE4sv3+ITAp52jY2mlzhx9VNx0ebuEUlBYMiX5zhrxnkVQ6u DPWCUZ0wPmw1dOEDKSAJv9xF3ICnNjJ4znExAX3uNxsramZxvybEGidD0P8QhvQbnh8U cxTQ== 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=bRY5V8A+3pwHDmINYlTTY7j8M9vHzzXNl+pk+x21kAs=; b=AY8JlZf/rIjFTp/Z7AIPl7pKH6C8dh0PDQf6KkByeiY8uDNbTcIGXcE99vQBG3pUuF QfkDRg9nwszkY95nFKAKoMEBgsYE4i4NpWe9hBYGXeTQhrEMvG0tkvN5VgIFVXkNfGt2 CzcK92q+E17c6unH4FULrJXfL1wQQRbrHo6zZj6vwhbiwgyIJ6uilV0vhxtGZ9Xy1bOy r1cM0Z5Im7B3aVw3uJ0mIXvY5LHLeNapltwbk8ziR4PFLC5WFyY2VEdp959/N/kJ9CAi lT5pnk49dI0vksyIMcWOzQXQgrI6HQfFZduFdqHfZG/Fq5uHKkw+0UTW6zWXb/CDjsyR AGKg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b="MA0+/kVV"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=BeP1W9ZS; 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 be7si3377184edb.438.2019.11.21.16.36.46; Thu, 21 Nov 2019 16:37:12 -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="MA0+/kVV"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=BeP1W9ZS; 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 S1726666AbfKVAeh (ORCPT + 99 others); Thu, 21 Nov 2019 19:34:37 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:61316 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbfKVAeh (ORCPT ); Thu, 21 Nov 2019 19:34:37 -0500 Received: from pps.filterd (m0109332.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xAM0TOkX016556; Thu, 21 Nov 2019 16:34:18 -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=bRY5V8A+3pwHDmINYlTTY7j8M9vHzzXNl+pk+x21kAs=; b=MA0+/kVVJdnxUwpU74lg7RZq+qV9Ogw4/sG67REpniqtLUKys1MekksQwdqwXgs3iqh2 z/gZJEBF6bEySZRzKZwUAaAoeOkxZFIxmtf6TcTVpzk22uOhjARDTg4Hfxe1SuGBPEK1 9sbfYmQ4OHkH9wrHMTGpX2NOSUH/3Buzz6I= Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2wda3vm7yj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 16:34:18 -0800 Received: from prn-hub02.TheFacebook.com (2620:10d:c081:35::126) by prn-hub03.TheFacebook.com (2620:10d:c081:35::127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Thu, 21 Nov 2019 16:34:17 -0800 Received: from NAM05-DM3-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5 via Frontend Transport; Thu, 21 Nov 2019 16:34:17 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CIumxcKYg/NbNWIYbOiWnf+3iPt3KTDLLi2Ddxr2s6ycB0zN4x/YCEeajRXGNJST4/b0oRLSEyEttHq4+lLI14mDL1AxGAKar7CEUJri6vipUcTSsHT3z47k2gtKu9Agp6UfeW/2YfkH8wK8zu1e/OpUq3AHbsLO0NZP0MpzwTx3VrpQxjTViSPdHoLdUodClSZ++kb3fxttGJ9zbxhFBfMrH5j+KF1QOdBIwOWKIO9Qx8ywII++wPD+t8KE7qywc2tn7USRqSCcc6z34DcUGJJXuvBrkB/e6mziJC8gTHw+mm+DcJunV/qZYEaGEao52j9NhLIkB1jFM8YUSPRB4w== 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=bRY5V8A+3pwHDmINYlTTY7j8M9vHzzXNl+pk+x21kAs=; b=Jf/h7vytKDAPKzYGSlRGrOIzNQRXv61BeesIDAl2Y1sboPL24w4Daz4p+XBrWPLxIaXS4o0jcnSqKzZGbpdPERZzwkh6zTyUrmhHCukJAMKi2c6+2YvB+tjGoH0bQaOtO23IaQgeLL1yLncaaV5wBrrsMbGMJJcHkc4awE/6lK+oeNOEw4YNEgSP7TPJIaW0ahduLM7k66f5vIAYyM2UKhCi4I1DN5dtbeymQvHAM6Jf7YEYxy+hQLJUpxNZvPkV1pATtAfHUAB0y85P+b0AOxXIbB9kbqubi5/pBopMuqkakYwlyqc2okmxWvf9yFoXwoYV+mbfXWW4ibYV92OKzg== 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=bRY5V8A+3pwHDmINYlTTY7j8M9vHzzXNl+pk+x21kAs=; b=BeP1W9ZSYFFI6JjFjxpvkuPw50ztO8iZ7QglhHoc4dtJK9tJ/ilOrbq4l728cMMManKVrLUrzI4tWZTdJnMj0PtjY1Tp1sUXTcdOQR/FE1eLSwec49mWbw/xnkDu/2gcTSF930EkhJ4Mh58m+hd6RqxGb1PcTf75EPb7M1qVpgQ= Received: from BYAPR15MB3384.namprd15.prod.outlook.com (20.179.60.27) by BYAPR15MB3192.namprd15.prod.outlook.com (20.179.59.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2451.30; Fri, 22 Nov 2019 00:34:15 +0000 Received: from BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::a9f8:a9c0:854c:d680]) by BYAPR15MB3384.namprd15.prod.outlook.com ([fe80::a9f8:a9c0:854c:d680%4]) with mapi id 15.20.2474.019; Fri, 22 Nov 2019 00:34: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 v2 bpf-next 2/9] bpf: add generic support for lookup and lookup_and_delete batch ops Thread-Topic: [PATCH v2 bpf-next 2/9] bpf: add generic support for lookup and lookup_and_delete batch ops Thread-Index: AQHVnw/qHa5aYibJs0i7hlxvNzQNFKeV5i4AgABDLoCAADGjAA== Date: Fri, 22 Nov 2019 00:34:15 +0000 Message-ID: References: <20191119193036.92831-1-brianvv@google.com> <20191119193036.92831-3-brianvv@google.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR12CA0032.namprd12.prod.outlook.com (2603:10b6:301:2::18) To BYAPR15MB3384.namprd15.prod.outlook.com (2603:10b6:a03:112::27) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::3:ffef] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 91128186-1bd5-42fd-5926-08d76ee3b3fc x-ms-traffictypediagnostic: BYAPR15MB3192: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1850; x-forefront-prvs: 02296943FF x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(396003)(366004)(346002)(376002)(39860400002)(199004)(189003)(6512007)(4326008)(14454004)(6486002)(66556008)(66446008)(7736002)(305945005)(31686004)(36756003)(229853002)(66476007)(64756008)(54906003)(316002)(6246003)(478600001)(66946007)(99286004)(6436002)(86362001)(76176011)(52116002)(81166006)(81156014)(102836004)(71190400001)(8676002)(46003)(2906002)(186003)(446003)(31696002)(256004)(14444005)(386003)(6506007)(11346002)(2616005)(71200400001)(6916009)(5660300002)(53546011)(7416002)(25786009)(6116002)(8936002)(41533002);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB3192;H:BYAPR15MB3384.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: MSj5/jyV45vROmea4XtHiwqnFw1hvI8KP74XEB3S1X8gifEpI2TaoSJVUA4bvv+kW/QFIJ0DMUksfuiesYwm7bPkcAYcaMBfyXvylMk0Zvr3LAJZDp/l5OFV2hR6IMh5L8JC1LCSwE6bWqnV1nIwJOXbjKH/zniDSyhx8dLKc850+/fhFZ37+iUWrMXNH3Yax59yCtohDDIVXfHLiBMJoYDU6DYPgYzix88A73tLGsdAH0o4D6DGFBnulm/B95Wd6bNaVF3lkSAp4DZXjafbEsXbX5wGp9rqms3ziCp1ZsTUwtYR8PLBjX7jNBqRvqyevQoQDqA3RucbRSoEOj0TgSjZurSWZDlY+NGKgWQKIp4UaCqWkAinZk/JQKOT5ToC2ChsTAoM1UNB0nEONkAcsqkMbmp7Pt2i4cuMn5Ueawm812+RGF3RC3jCSAI+kCWV x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <64FAF966C0F0E342BDD6BE12F231A934@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 91128186-1bd5-42fd-5926-08d76ee3b3fc X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2019 00:34:15.4224 (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: vldueZd8n4hK2fCfb54o49K+nWUh1QmSJunMYOfwWOyU43TVuNBSre+BgB7hKVQN X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB3192 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-21_07:2019-11-21,2019-11-21 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 phishscore=0 adultscore=0 mlxlogscore=999 lowpriorityscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 bulkscore=0 clxscore=1015 mlxscore=0 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911220001 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDExLzIxLzE5IDE6MzYgUE0sIEJyaWFuIFZhenF1ZXogd3JvdGU6DQo+IEhpIFlvbmdo b25nLA0KPiB0aGFua3MgZm9yIHJldmlld2luZyB0aGUgcGF0Y2gsIEkgd2lsbCBmaXggYWxsIHRo ZSBkaXJlY3QgcmV0dXJucyBhbmQNCj4gc21hbGwgZml4ZXMgaW4gbmV4dCB2ZXJzaW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