Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3593239ybc; Thu, 21 Nov 2019 10:35:01 -0800 (PST) X-Google-Smtp-Source: APXvYqxKS6uxCug/YWjbqWoeORVxhW3kAfd60u9tUHFB6HskYDLT4uHeUgPTKovuds6+CvKexz3N X-Received: by 2002:a7b:ce99:: with SMTP id q25mr5160441wmj.53.1574361301747; Thu, 21 Nov 2019 10:35:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1574361301; cv=pass; d=google.com; s=arc-20160816; b=CogU8/Qxo7B4EE3DLQmgiC08AdEgTXCrqAdno3QdIsekq/giWBZ9C562iCoxILjBX9 mcCzWp240ef113YU4brN+lyLoumzi9RLQ2OgYIYYTJ3DANAvhKA4bsxMEsK1OW3zYeFL 36sOAEa9F5PkBjujloC0q1+gTAwev8TlXdIcfVsKCu21cyO9y2bMPejGIfwRn34lpPyX tzeprj7as2f4/1if41N7IUp9VfXCT6+Ny4CmyVD2ah4d94EKpn4w00lIXKX2Iwus7f2o AkR4PN3mvk/XuQa7suGhMtgglJpoOv8ZRs9D2iJBDanPKk1aXpBrYyL3ChNHueRZv1+I 3pQQ== 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=m4QiLfx40epBvo/jkKhx1Y8a6t+YvWIHlLoivQrZgxM=; b=i7sSj+WcRASoVI7Ig1rpxi8HfJD2Yd+Noz0wzbtg2vfy6NmqwLgDyZv/oo1zE1iJ4G N84arg1JJJVzyjumSj++au97Y3vmn3ax/2tJCdSOGhw/hTd2OX4ryQGVmV1FnQcXz6kS 7xiBKTlADmAtt/f3iZZb11X21dFj4tX0JLhMX+TbB35YcXQb8AJ/J/BtotMz+ArUVHBG CtMnSzqQW38/WGIlHVxtEh2sPF/HpuLBV0OtHZLf+2uosYw9oJVavJ1sGjPIssJ9RFR7 VWKgOh29aOob6ju26h9lMr6rMRq3Yp9QZDRMf/yickgv/nyiKsGBVuyT8sk9G3J0zIqr IJkQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b="BfY/b7eA"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=VE+rH3K5; 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 b7si2578006edb.439.2019.11.21.10.34.36; Thu, 21 Nov 2019 10:35:01 -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="BfY/b7eA"; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector2-fb-onmicrosoft-com header.b=VE+rH3K5; 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 S1727128AbfKUSaa (ORCPT + 99 others); Thu, 21 Nov 2019 13:30:30 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:11752 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbfKUSaa (ORCPT ); Thu, 21 Nov 2019 13:30:30 -0500 Received: from pps.filterd (m0109333.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xALIFQeh007135; Thu, 21 Nov 2019 10:30:12 -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=m4QiLfx40epBvo/jkKhx1Y8a6t+YvWIHlLoivQrZgxM=; b=BfY/b7eAQUdYnHQJQkiE6tTaE7kEdFr7r3ZIEYwLwbZ7qzNphPTmpiMGewNzBF92QXRL xo2NXS3oOdd/DBbW6UuCFT/V+EsQbFWqLaAJjqrMytqExYV1c+x7ftcpUxfiOSdphN46 EQggnqQb9JL9B1p7DEsOzVT9Hp2R9kvks2Q= Received: from mail.thefacebook.com (mailout.thefacebook.com [199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2wd91htem7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 21 Nov 2019 10:30:12 -0800 Received: from prn-mbx07.TheFacebook.com (2620:10d:c081:6::21) by prn-hub06.TheFacebook.com (2620:10d:c081:35::130) 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 10:30:11 -0800 Received: from prn-hub03.TheFacebook.com (2620:10d:c081:35::127) by prn-mbx07.TheFacebook.com (2620:10d:c081:6::21) 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 10:30:11 -0800 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.27) 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 10:30:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wa9QRG1hBlmd9su6AHFKLhUc58FLxPApnC+c0WenuXwsbyAgxdo2kWHVhn89nUY3KC2DYtn8dQEjaWRtprUmnDIYeyTC4fd/hBqO3/399SMoB5b7oLlO/qjiSKrl0PjDoeHU04UFctRxMUb634ZB2/u17TuJh9ybXdndfo7whHJPmUadf/n5ZwlRfe2I1A0aBCaY8qxryM0zHAyEdMmwGIU96KDHgxllVLHuhB1E/Ioqm3HPIL5hTSn4RTKdA3GFTPbfXCovTEgJ8ShcIBeme35sy9Bs9lBvwhtqEz41taqIYchrAwHEiVdC4OcZnERWwgXkr1qZeVgLthyLh0k0AQ== 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=m4QiLfx40epBvo/jkKhx1Y8a6t+YvWIHlLoivQrZgxM=; b=afVQ3bEetB3YQ7AB54hvX/lt/HOIJoirhl7rfZNvVaZHhaKkgjCjk/Nl2n736WrDqyevA3GFvJEtulFgxaIm9QUCWU0exqKn4BQskajje0R4qIWKh0R6Bnn5q56Nt67UiN9z/n6neKzTR7awQ5l0v7YBZlUmEs+orN4H6/wEnwuXVfOXcWfTIK3UJ5NtKk7TZxysWuI5UtJRkFqVGs8DR3+upoOnXOZSkurSLK2SQ6KKFCiv6tRJUawcIYuq0LcAVzXP8/b6ScErPxRXZfEjBk1W2UJKs7bVHQsnUs5JtMyVfyNX09C6VAKydz2RNlJmkIWfVMILQoA/6H2gLNDWYw== 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=m4QiLfx40epBvo/jkKhx1Y8a6t+YvWIHlLoivQrZgxM=; b=VE+rH3K5dAJ53aL40jIT4fsDwraSFTJPDAKK0+vad5MQ5yoenzCbmY6NenYYESlmhVSqA0JW/Bz3IkW3uxXk14zGfF96OMAoXBuwwdXS9e2tXQgg0CU/3hVacrSVU9cdwr7hsGgPzXBKJvFWU9zoP8VpZxs35C26ZT2YspGNz3o= Received: from BYAPR15MB3384.namprd15.prod.outlook.com (20.179.60.27) by BYAPR15MB2837.namprd15.prod.outlook.com (20.178.237.216) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.16; Thu, 21 Nov 2019 18:30:10 +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; Thu, 21 Nov 2019 18:30:10 +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 v2 bpf-next 7/9] libbpf: add libbpf support to batch ops Thread-Topic: [PATCH v2 bpf-next 7/9] libbpf: add libbpf support to batch ops Thread-Index: AQHVnw/00b+a1L6Vt0u6+x6SeXV3ZaeV9UWA Date: Thu, 21 Nov 2019 18:30:09 +0000 Message-ID: <434eb25b-5d1a-4b33-232e-6735fc00e531@fb.com> References: <20191119193036.92831-1-brianvv@google.com> <20191119193036.92831-8-brianvv@google.com> In-Reply-To: <20191119193036.92831-8-brianvv@google.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR10CA0065.namprd10.prod.outlook.com (2603:10b6:300:2c::27) To BYAPR15MB3384.namprd15.prod.outlook.com (2603:10b6:a03:112::27) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:200::1:b385] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d599a916-5134-4ce1-7d7f-08d76eb0d70f x-ms-traffictypediagnostic: BYAPR15MB2837: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:227; x-forefront-prvs: 0228DDDDD7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(189003)(199004)(2906002)(102836004)(81166006)(256004)(81156014)(14444005)(25786009)(86362001)(31696002)(446003)(5024004)(2616005)(66556008)(186003)(64756008)(66446008)(14454004)(99286004)(8936002)(8676002)(66476007)(66946007)(7416002)(305945005)(7736002)(6512007)(498600001)(76176011)(229853002)(52116002)(5660300002)(36756003)(110136005)(54906003)(71190400001)(71200400001)(6116002)(11346002)(6486002)(4326008)(46003)(6246003)(386003)(6436002)(31686004)(6506007)(53546011);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2837;H:BYAPR15MB3384.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: wtODOubgVHBdFb/v6D0G9O9CLbZw7VVmCInf70fxl1ZDtEqqKdrfq6wcdU8was+q4SxncOJecJoINdsqWfiHrQ9R53wdIyiUgjNfyS1TrYvb263wIoPEhvXLn/oxr5HVmWJD6mtpSxbK6QSTg4lFPj9m/Me+TNJOV2CS8cUS9K3EMqcdAg2alsQMRLWz4KtyWrRzAafOtumSj8RGZWSmLoTsm1COkOp0/47xUL5CQqgvgTDohxC1TmXZPs42Bdzpbml8iSunfCEx4tyw48G2V0lHEBC4/RQ3i7mf+ZfSoW8hdfF77BfcMR+UA/7YtY7HNGMFxQCj/BP/wLgzvg8AxSWfiPf2wO7D0oDvw9BazK+R/4+1ZkjOUnYuGXyAyn2JQEQsQ4+itD3rn1f4PMrFbBMokNr8VNuIvj4VxpEKd72xeeO/Ct9qyUpJDBQT+Lib x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: d599a916-5134-4ce1-7d7f-08d76eb0d70f X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2019 18:30:09.9229 (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: zMzKtgpPFUEHeghQzs0omqTLO1eYYlXsLKLSn5yU8j1rxjDUwCoBbWf464410d1W X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2837 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-11-21_05:2019-11-21,2019-11-21 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 malwarescore=0 impostorscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 adultscore=0 mlxlogscore=999 phishscore=0 spamscore=0 clxscore=1015 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1911210155 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDExLzE5LzE5IDExOjMwIEFNLCBCcmlhbiBWYXpxdWV6IHdyb3RlOg0KPiBGcm9tOiBZ b25naG9uZyBTb25nIDx5aHNAZmIuY29tPg0KPiANCj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