Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1168390ybl; Fri, 13 Dec 2019 10:44:14 -0800 (PST) X-Google-Smtp-Source: APXvYqxz0TqUhWsz4psuU5XW4kJmUF5tQrhTJ8WVYuYpy/A/fdCN5NRthtU0D7renrxyBSOVnMbm X-Received: by 2002:a9d:6c8b:: with SMTP id c11mr17322235otr.280.1576262654574; Fri, 13 Dec 2019 10:44:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576262654; cv=pass; d=google.com; s=arc-20160816; b=GRp7MTTRX8u44OG2SWasK8Vt1gBI0z7QF3mRNErBkMEYvEsw5G4hClQviIhbMbJu9f MibJXk4KcZX7sWdaX09AU+7/40LKHNFpHjSx1QhVtNgLB7albkGDGQ3QGQZGmeGxSR8s vQeQrEm42V5BCpUEb84o04bZ1607eJF55RpfAvBgNYEBoBcTBAp7SPeydAzDacKmpHQ1 LNn3A/1JLyGvQuU6TnclTBmUH84kajszMvE6LW9OY2g2xL0zELQG/aGOCHXRFa/DPckG GEf/FdyhrYRBBLm8CNguQV5bKC8c86aF9piOguZE6r/Y9j25FkbffPelYJVtdXUKcRIg xoHg== 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=XOhp5m9nMlio3HXQ/APyC9XL3pUgpzPt3TEEkRndYh4=; b=TK2wAAfn3m+FVyYhU+Hz2u81zmL84noiPUkJWynP9wTRMz2lDp3pkdQQGFtElKrZCK 8nOb9neH8o2GNPSM12G6VO8vQFQe9ytWJcM6zqS7J/ailElGV/R8cE9uxraw6VxqWnWm NRD/L+RTiA3zqyQAuEOq6uFX2+bla5psRn6se2OP2uBIZqgfeUKtDyEsdGr9mxyXxiO/ hqHezGCeg4QlBLew6SZfcQDzQjm0oHowOERaMxMRLBl6EiJcmzbCFyYdchcZ/IzIhaK4 liL2fsL1UTj+mSBjgcTzvxdIZ5rb9KcfyAA5jH8ouQda/Tue+QLhSru3C5q/kBtE5GKK TgDg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=aq6fOJkm; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b="hgPyl3/D"; 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 q12si5316424otm.261.2019.12.13.10.44.01; Fri, 13 Dec 2019 10:44:14 -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=aq6fOJkm; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b="hgPyl3/D"; 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 S1728868AbfLMSnU (ORCPT + 99 others); Fri, 13 Dec 2019 13:43:20 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:53756 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728473AbfLMSnU (ORCPT ); Fri, 13 Dec 2019 13:43:20 -0500 Received: from pps.filterd (m0148461.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xBDIdmU2027933; Fri, 13 Dec 2019 10:41:04 -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=XOhp5m9nMlio3HXQ/APyC9XL3pUgpzPt3TEEkRndYh4=; b=aq6fOJkmVG2g5ECsRom2yBEjneUBEXNX2FtKU8Ev7tYfS48Gs+8f/DflyBkrXriMqyhv 8zFDF8z5Y+bxgi3yBJd7NUzOH0e0/lXE2jm0I3HP7RD8iekNfW3ab8FTLO8c5eibtdwF Z6HlhK33U5PAPUYJ2S4fPPiQpjzNKeu5qv0= Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2wuuxkd2ja-12 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 13 Dec 2019 10:41:03 -0800 Received: from prn-mbx06.TheFacebook.com (2620:10d:c081:6::20) by prn-hub01.TheFacebook.com (2620:10d:c081:35::125) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Fri, 13 Dec 2019 10:40:50 -0800 Received: from prn-hub02.TheFacebook.com (2620:10d:c081:35::126) by prn-mbx06.TheFacebook.com (2620:10d:c081:6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.1713.5; Fri, 13 Dec 2019 10:40:49 -0800 Received: from NAM02-SN1-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; Fri, 13 Dec 2019 10:40:49 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nmVime1Ky/miPGQiPgQtImYBZe5o9vOaE1I2McEYi3QvN4HFxqxRTr6YwTgkRmdKcsCNMswhpvIwHXp0G5fth8N78qO9JU0GTh2f75hqLZaZ5M4iCzIsqy1Novil5y5N0/5Bn4Y25h0vYadQ1Vi8uGozVfGODZtiglU2rpkwrxJ3CDSPhqfGYKzQaIUedxH4w+zKKvtaodNDSDbe9g9+5PzdDE5Q4+W730NMtLZ9WYP8i8sUofgwzn6myyrKsPJCSdaFHHcFr+Um/Bk2bl1TJseb1QXl3Ot2r8j0V03DeGQ3nDSUQBg39O5vkuZiZn5HZhqtfOt+ouFoiVFe+T9+QA== 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=XOhp5m9nMlio3HXQ/APyC9XL3pUgpzPt3TEEkRndYh4=; b=JNySVexw2Nf3BW1+NXpXIrHDn1GH2A6/O3uX2KutG5zjo5SAnoVE+neRVLPkaAeQCjPj24Vn/jUGxRX+Wxga/YvK7iVMfORhQEfRS/ahVzR8xCYcWxlXRrDo7uYC75IpuFFjEJMmFwNAlQht6yISm/qpW5PO+06tPGL6xmhlt71W/w82MNZJItup5U7DuBBnddteswHz+fQalr6gQZ0Qw0LvVApZNqRqMFYvJzcJdHDsVEjUgT6ns0b/CnrAS4zvOEp7ugKyXwlhGEoDodp+7Lopzp5haEjLEk9sKtcgqowZta8CxSKs1+lqG9DbDgZZ8Gg5hh13fznYYlXIUmof9A== 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=XOhp5m9nMlio3HXQ/APyC9XL3pUgpzPt3TEEkRndYh4=; b=hgPyl3/Dob62MGSxoiPPbXZmzpmMi24TbQT7jX9ya3wWzlq6+GkYA8EX7GLUlMvMPlMKJEgsXDcj5G1py/yQe7n991bOVN7RhlgIAMLqf79sqthVOaK55iuDI+b/5ARMZ48yrda9jiGI6x4oFhl1JxCamjvqamgqHqN1ordA6uo= Received: from DM5PR15MB1675.namprd15.prod.outlook.com (10.175.107.145) by DM5PR15MB1130.namprd15.prod.outlook.com (10.173.208.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.17; Fri, 13 Dec 2019 18:40:48 +0000 Received: from DM5PR15MB1675.namprd15.prod.outlook.com ([fe80::2844:b18d:c296:c23]) by DM5PR15MB1675.namprd15.prod.outlook.com ([fe80::2844:b18d:c296:c23%8]) with mapi id 15.20.2516.018; Fri, 13 Dec 2019 18:40:48 +0000 From: Yonghong Song To: Brian Vazquez , Brian Vazquez , Alexei Starovoitov , "Daniel Borkmann" , "David S . Miller" CC: 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 09/11] selftests/bpf: add batch ops testing for htab and htab_percpu map Thread-Topic: [PATCH v3 bpf-next 09/11] selftests/bpf: add batch ops testing for htab and htab_percpu map Thread-Index: AQHVsHM7yfbqfNzkC0GsbvFzTjuF76e4aMKA Date: Fri, 13 Dec 2019 18:40:48 +0000 Message-ID: References: <20191211223344.165549-1-brianvv@google.com> <20191211223344.165549-10-brianvv@google.com> In-Reply-To: <20191211223344.165549-10-brianvv@google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR19CA0014.namprd19.prod.outlook.com (2603:10b6:300:d4::24) To DM5PR15MB1675.namprd15.prod.outlook.com (2603:10b6:3:11f::17) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::2:e8f1] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fb2b207d-3928-4db7-6103-08d77ffbf8d7 x-ms-traffictypediagnostic: DM5PR15MB1130: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0250B840C1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(366004)(396003)(39860400002)(346002)(376002)(199004)(189003)(54906003)(81166006)(8676002)(5660300002)(110136005)(31686004)(7416002)(36756003)(64756008)(81156014)(8936002)(316002)(66556008)(66446008)(6506007)(53546011)(66476007)(4326008)(66946007)(71200400001)(31696002)(6512007)(2906002)(2616005)(478600001)(52116002)(186003)(86362001)(6486002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR15MB1130;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: 4+YgiNm/8+nYzfcmQnW0WlbHI8MLCeH2cS7UdBNQF4y1JaIL+LLf75MUK5ypzihezGpDWBXAitF1OCYc1gJ3Daif2mlzo7zijF4ZJw5H1qtuqkxCvYvBmom1M0JQhEIATqyDjyKwbZV0hTX3FDikehrHbwYscIaG3gKzw//bG3HqbayxY31EpJumV5kzVES2Vka7+jR+sSroOBPEoNnHN+EnfToSY0w9sU1XBDIKDJ8ktWytmAVbPUCdj2TIlZL/JKeWGRMKYAATkrz7de8bjjP+LjYtDN20WK06OpNDokzsMTKzx4aVvqjWpe+o5dNaOC88RYh+JSRIhnkb3Z3m345CUQODfqlbN57pdKylBgIEKNa2WuL5Nl0daZYKJjZgU4ouqrS2NR0Q2EkcU9VsvBDWaM7MrmK8BnGmmflt0lpwYoqOJ0rb7AaB/iDWC6Sh x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <69089D21ACA76B44AA3FB4C2AD5A88B3@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: fb2b207d-3928-4db7-6103-08d77ffbf8d7 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2019 18:40:48.5637 (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: 0F4puXslxsRXO6NtFy/znPbKf2fqvqbHB58OUR/mu6kO/dMlWAlwv281EnYVlhDX X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR15MB1130 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-13_05:2019-12-13,2019-12-13 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 adultscore=0 spamscore=0 mlxlogscore=999 phishscore=0 clxscore=1015 malwarescore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912130144 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDEyLzExLzE5IDI6MzMgUE0sIEJyaWFuIFZhenF1ZXogd3JvdGU6DQo+IEZyb206IFlv bmdob25nIFNvbmcgPHloc0BmYi5jb20+DQo+IA0KPiBUZXN0ZWQgYnBmX21hcF9sb29rdXBfYmF0 Y2goKSwgYnB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