Received: by 10.223.176.46 with SMTP id f43csp1058480wra; Fri, 19 Jan 2018 06:21:49 -0800 (PST) X-Google-Smtp-Source: ACJfBot9G9hDdLx6f1um308HcvqcOLG3DiGnQvokJ3SvPN+Yh9SYl2fY3PeiFiL6vSEDEH1YXFD2 X-Received: by 10.99.36.68 with SMTP id k65mr35280351pgk.345.1516371709605; Fri, 19 Jan 2018 06:21:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516371709; cv=none; d=google.com; s=arc-20160816; b=qlapKtx+ECl2VJMigx4gPDrD8I8G5S9XXKzAZ4+lywfPhDSOeQz63i0sLrVFAQOX2N 1vviX/kl+1xTPMNlQ1aFKAWxFqC9cWoYjRTUtoe2EwFlwvP7sY5c7chrWj+GVu5hRz4n 8icWGn9XmluStk0Waj7FCd0bYunceIVCihU21l1NsjzQXpkeoCr7aA87ISBu2CeexgP7 zET2jL9JP7oa31clfnvnJSdsCiZmyZdNOTvxGGO78UMN5sdu6H/99fYJ0D2bmMouy2ee /JtXCxmrg9+GF/TzCocv3XbqsgEGKf7kSpZiACaCOOSWK2jOExOdDqHsG7Cz3zMHfHtB iZaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature:arc-authentication-results; bh=+3siN9CBYfh382f1F1p7xZirNcx0WiHSyVe1xNgSSWs=; b=eZYFrOLeXqLDamspRYL6XZU5Hmro5Qz/FI7hDN7K6CnNh4rU8b3+XmSqiEUXk2f+fL 2wPNxfh9yr2oKWZM0JNXSQiTy8r/lzFXyWeuJvOIfa1WLmBLTaSjaZWTBExHx0Cq5Ohj ux9AOU9tdS9x6INzkuqAY4w2u/qRU6Ah/PyAUtzop9idWDMs4t5hsMs99cM2kU4qifQS lyEBCQjuu/JNQEOsw8w5MfHcLixN0ZVctSlPK1LyMmjiEfWHnVkMODrOoAcM4KFsQHro 7i9Ajq71d8atOV1a46ajksIieCUxsC4W8s0C4TFJAcLlKsFddki1gJRD7LEsjFdoVGNd t49g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=V+EKPbTd; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=V0JJaX2h; 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 a64si9268265pfc.349.2018.01.19.06.21.35; Fri, 19 Jan 2018 06:21:49 -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=V+EKPbTd; dkim=fail header.i=@fb.onmicrosoft.com header.s=selector1-fb-com header.b=V0JJaX2h; 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 S1755672AbeASOTQ (ORCPT + 99 others); Fri, 19 Jan 2018 09:19:16 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:43586 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932362AbeASOSv (ORCPT ); Fri, 19 Jan 2018 09:18:51 -0500 Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w0JEGKVe009268; Fri, 19 Jan 2018 06:18:33 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=facebook; bh=+3siN9CBYfh382f1F1p7xZirNcx0WiHSyVe1xNgSSWs=; b=V+EKPbTdyij5wxVikzZdPsBsrm0dmeHPAfIVZq+i6SXt84vHp8eeKDvDOyQufa+TnAv6 mi4Xj5wggNORycozvpBq+jU0GH7S16vuWsNfIxBIQFoC8Bsa4QyjmUGhJcL5sVGz8SpH 7D17XWkSXb5Vz5Lg5aByM3F9PQyseC7Vjmk= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2fk9t413gm-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 Jan 2018 06:18:33 -0800 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (192.168.54.28) by o365-in.thefacebook.com (192.168.16.19) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 19 Jan 2018 06:18:31 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+3siN9CBYfh382f1F1p7xZirNcx0WiHSyVe1xNgSSWs=; b=V0JJaX2hd91LQ4+UYuFikGtNvghlH43roK4CY/HgnhjLIcLm1vsPhPH7Mz5Aetem0CzcLqafoSiiBDl4aHDbIN1B0gQ7LylOCzo0pKU9jkmtpjma+B7KnymJaDYTn6eOsC1o2tz5Cye8WkyQ+SLPD/dQYFvI39ZuNgIa52s6uTI= Received: from castle.DHCP.thefacebook.com (2620:10d:c092:200::1:2f0a) by CO1PR15MB1080.namprd15.prod.outlook.com (2a01:111:e400:7b66::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 19 Jan 2018 14:18:04 +0000 Date: Fri, 19 Jan 2018 14:17:45 +0000 From: Roman Gushchin To: Quentin Monnet CC: , , , Jakub Kicinski , Daniel Borkmann , Alexei Starovoitov Subject: Re: [PATCH bpf-next] bpftool: recognize BPF_PROG_TYPE_CGROUP_DEVICE programs Message-ID: <20180119141739.GA22398@castle.DHCP.thefacebook.com> References: <20180115191615.13911-1-guro@fb.com> <34c43a17-7832-413e-fea8-4ad0f80f1585@netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <34c43a17-7832-413e-fea8-4ad0f80f1585@netronome.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [2620:10d:c092:200::1:2f0a] X-ClientProxiedBy: HE1PR05CA0217.eurprd05.prod.outlook.com (2603:10a6:3:fa::17) To CO1PR15MB1080.namprd15.prod.outlook.com (2a01:111:e400:7b66::10) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e96dc789-fc0b-436d-8dd2-08d55f4775e3 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020);SRVR:CO1PR15MB1080; X-Microsoft-Exchange-Diagnostics: 1;CO1PR15MB1080;3:Fuq8Z/KujpZYezaokXqnl4Wb9jnMoOS+hyn25yqc9R9aB/Odm2WkEWw+OBSF5enkWjZ2PJ0P4oambs23TRinam5eg+Cl8OVIYlX+NsvwDdbpzgk35Kibwf5RwkE5rvGDWl0fkR24Bb5rt/ev/qzLINwLLRjNg0He74QxaBJyjfnn+ABiDv7IlXW5DHMpHajTpvV1kxwJpLw1N7bYm/gX6AU8o2uiCgq8K2m0ItL+yQ3HKPd4t5m/2Wk8Yy+gk5PA;25:fjsZDVM7s42fNByA/3G7ifbJo2iZMl9UXBq1f3xL+J2oL1XLmjURDWiNpgEgO/CinKhP0ZiU8esrgsL0QK2MOcnnA2Y3o0E5iBSG0gMBANmkaensfvWl+piWML3XNQizvR6BjXZFRKxnabnhZsn2B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d/dVXacUpZYhTdQNUYYrbpCkGcbVVAZdpM5IeB8xvtDnj9YLCe87LDh+wRmCW+slruzrdjBqVOOvrTPGJqEbF0KnJtUudj6/IY/MoMk8+5RPyf/mF4zvncuRI1xKBMTW/RL+J/grZp0jRsbXE1CHvcP01E08zhvJDxn88r3Ptjo/cMkw4XLUxOYJum9jxfi54r+sv1YeYNjuM3cyZRojMHEsWlGfDq9QWQ73YvS8p5wvyzhGQQqH/WI1LgJvGh X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(67672495146484); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(3231023)(11241501184)(2400078)(944501161)(6041268)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CO1PR15MB1080;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:CO1PR15MB1080; X-Forefront-PRVS: 0557CBAD84 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(396003)(39850400004)(39380400002)(346002)(366004)(376002)(377424004)(189003)(199004)(316002)(53936002)(86362001)(305945005)(7736002)(33656002)(478600001)(6916009)(2950100002)(6666003)(229853002)(8936002)(97736004)(68736007)(16586007)(58126008)(81166006)(9686003)(55016002)(81156014)(8676002)(83506002)(54906003)(2906002)(7696005)(6116002)(52396003)(39060400002)(4326008)(386003)(1076002)(47776003)(76176011)(53546011)(106356001)(52116002)(6506007)(23726003)(105586002)(5660300001)(50466002)(6246003)(25786009)(18370500001)(42262002);DIR:OUT;SFP:1102;SCL:1;SRVR:CO1PR15MB1080;H:castle.DHCP.thefacebook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:3;A:1;LANG:en; Received-SPF: None (protection.outlook.com: fb.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO1PR15M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Kp2EImY7+zazR1lHZqKjFhHoF/udXAAeHDaPexHdhOPydUSlgade6DJDUayJGHmnkZUZohMnaL8yMu8vmq5KNDs=;7:2q62SartaT9B7F3NABbAc+IlVZIrStw+KoVMZbSrF51VpQ1swiNC16HXi326Gg7Q6f16zwdjL40ZBSiuj+zuCHEJtcu5RIQayXSIOxx0meIZNYFZ32sfCfVM2FBm4F/0Nw10NCFeEDCl0RPax0cbovja7nArpXnE0YnPKDe6URxJpy+QFr+eC//T613ZKrKz5eeBSrpWX3u2cYPx15zv2SuV4oT329S+jnY7/YFfTKj98tjGKoigjiXifSCq0znw SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CO1PR15MB1080;20:4i9L9xT+/qsB+XUclIf3HESDU3sIAEUOIlF0rAvUCfxb+W7Tjr8Kc6HHI2x2qYz2I/K0dWdXDRIq5xfetGR7/eDHgxWN1cuVdEvIPXFh5nyNkx31VNtTQvoQS2J/RLPAC0Cibi5wlsH2SHGO7TDUmECHZynMwlce3SLQyH1OS/Y= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 14:18:04.7643 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e96dc789-fc0b-436d-8dd2-08d55f4775e3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR15MB1080 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-19_05:,, signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 15, 2018 at 07:32:01PM +0000, Quentin Monnet wrote: > 2018-01-15 19:16 UTC+0000 ~ Roman Gushchin > > Bpftool doesn't recognize BPF_PROG_TYPE_CGROUP_DEVICE programs, > > so the prog show command prints the numeric type value: > > > > $ bpftool prog show > > 1: type 15 name bpf_prog1 tag ac9f93dbfd6d9b74 > > loaded_at Jan 15/07:58 uid 0 > > xlated 96B jited 105B memlock 4096B > > > > This patch defines the corresponding textual representation: > > > > $ bpftool prog show > > 1: cgroup_device name bpf_prog1 tag ac9f93dbfd6d9b74 > > loaded_at Jan 15/07:58 uid 0 > > xlated 96B jited 105B memlock 4096B > > > > Signed-off-by: Roman Gushchin > > Cc: Jakub Kicinski > > Cc: Quentin Monnet > > Cc: Daniel Borkmann > > Cc: Alexei Starovoitov > > --- > > tools/bpf/bpftool/prog.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c > > index c6a28be4665c..099e21cf1b5c 100644 > > --- a/tools/bpf/bpftool/prog.c > > +++ b/tools/bpf/bpftool/prog.c > > @@ -66,6 +66,7 @@ static const char * const prog_type_name[] = { > > [BPF_PROG_TYPE_LWT_XMIT] = "lwt_xmit", > > [BPF_PROG_TYPE_SOCK_OPS] = "sock_ops", > > [BPF_PROG_TYPE_SK_SKB] = "sk_skb", > > + [BPF_PROG_TYPE_CGROUP_DEVICE] = "cgroup_device", > > }; > > > > static void print_boot_time(__u64 nsecs, char *buf, unsigned int size) > > Looks good, thanks Roman! > Would you mind updating the map names as well? It seems the > BPF_MAP_TYPE_CPUMAP is missing from the list in map.c. Hello, Quentin! Here is the patch. Thanks! -- From 16245383a894038a63cc1ad4b77629ba704aaa38 Mon Sep 17 00:00:00 2001 From: Roman Gushchin Date: Fri, 19 Jan 2018 14:07:38 +0000 Subject: [PATCH bpf-next] bpftool: recognize BPF_MAP_TYPE_CPUMAP maps Add BPF_MAP_TYPE_CPUMAP map type to the list of map type recognized by bpftool and define corresponding text representation. Signed-off-by: Roman Gushchin Cc: Quentin Monnet Cc: Jakub Kicinski Cc: Daniel Borkmann Cc: Alexei Starovoitov --- tools/bpf/bpftool/map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/bpf/bpftool/map.c b/tools/bpf/bpftool/map.c index a152c1a5c94c..f95fa67bb498 100644 --- a/tools/bpf/bpftool/map.c +++ b/tools/bpf/bpftool/map.c @@ -66,6 +66,7 @@ static const char * const map_type_name[] = { [BPF_MAP_TYPE_HASH_OF_MAPS] = "hash_of_maps", [BPF_MAP_TYPE_DEVMAP] = "devmap", [BPF_MAP_TYPE_SOCKMAP] = "sockmap", + [BPF_MAP_TYPE_CPUMAP] = "cpumap", }; static unsigned int get_possible_cpus(void) -- 2.14.3