From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46B8FC282C4 for ; Mon, 4 Feb 2019 07:43:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 097A520821 for ; Mon, 4 Feb 2019 07:43:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=Mellanox.com header.i=@Mellanox.com header.b="ridVu88R" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727418AbfBDHnX (ORCPT ); Mon, 4 Feb 2019 02:43:23 -0500 Received: from mail-eopbgr30083.outbound.protection.outlook.com ([40.107.3.83]:33024 "EHLO EUR03-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726576AbfBDHnX (ORCPT ); Mon, 4 Feb 2019 02:43:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4rS76Ppd+3HkRiPYA8f1R4O/owSQ9554fZtuWWDfHiQ=; b=ridVu88RSjRpajPXfqdbWOmJE6swLpKg7IZtjC1wHX/Y22QKkZHIxZb7BOAOxk3eZzPm9Fsx+Q2TKG8QRheNFHl0tM/9AzK3uF7zlZvxCYDTV1FuYD0EpYtso40hW8T+W3S98mSaJFshinHh0FpSRV7CpeFRkwlRyoI/RtUg9RE= Received: from DB7PR05MB4940.eurprd05.prod.outlook.com (20.176.235.152) by DB7PR05MB4859.eurprd05.prod.outlook.com (20.176.235.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.20; Mon, 4 Feb 2019 07:43:19 +0000 Received: from DB7PR05MB4940.eurprd05.prod.outlook.com ([fe80::6161:97fd:d315:7b07]) by DB7PR05MB4940.eurprd05.prod.outlook.com ([fe80::6161:97fd:d315:7b07%6]) with mapi id 15.20.1580.019; Mon, 4 Feb 2019 07:43:19 +0000 From: Ido Schimmel To: Jakub Kicinski CC: "jiri@resnulli.us" , "dsahern@gmail.com" , "stephen@networkplumber.org" , "oss-drivers@netronome.com" , "netdev@vger.kernel.org" Subject: Re: [PATCH iproute2-next] devlink: report cell size Thread-Topic: [PATCH iproute2-next] devlink: report cell size Thread-Index: AQHUvCqFOy8xM7Vla0q6Bl+lhxuAr6XPQkCA Date: Mon, 4 Feb 2019 07:43:19 +0000 Message-ID: <20190204074317.GA13757@splinter> References: <20190204013919.816-1-jakub.kicinski@netronome.com> In-Reply-To: <20190204013919.816-1-jakub.kicinski@netronome.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM6P192CA0063.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::40) To DB7PR05MB4940.eurprd05.prod.outlook.com (2603:10a6:10:1e::24) authentication-results: spf=none (sender IP is ) smtp.mailfrom=idosch@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB7PR05MB4859;6:uNZkkd6DjnsUqkJyW8uoD2dRqrBAKOxznMbB559EqyZ01gXYRKNUfJTPiIMjn6Wi2Sud+c8R0V4Rp6xww7b8PEWy6UMFjd+Hu0lu3URnTJ5HAzhmfJOnJdR8QypW1/pUGxeCfSSER7ZEPj5Rj1TDS0pZ7t2/2xe9yexA7IASK6WlqCElFyltE3+AnO3l7T//S3II+taGyhZfMjfqTBJmCuMIY3DOL1C/8l6JC2XY4jpc1eRmRsvmb39kyCed007b2NEtsHYfk4hPNHUmD2byg7sQJ5plDC8cXI8GUNF1nAbY17zkqBC90QBbWetqHGE3LkJqJqyMiyebsofTSgexj98FIniaFM5Vc7DCT/Em+UNPieo8iKoLxNRJljGc69oJLC6HpFrsCh/bKtsFSXNBdcgoo8G50OZAO5J7txkNMfq+bRZpEVFRnLGS2b4uwnkvWG6/36QHNCVhIDeAYdAnOA==;5:YfH/ub/oMAdqb36aiCKJOl6cPb22CsbGDpSXI8DFIZoJhsP1zSUH969r277btoVUGqByRszFxknUqDsqO6xiivPzeOSUNBpU/8UV3f+fg3/9SY2fSLUk3VwNhKsA8P3Y+F0sRoHKUy0ymwwK5efAqWfFypNhMp61gkXTVplWL6cTCRY9rGPpp4APcx08QC2ANM6JG8iUaGrz/x1vv5av4w==;7:NEP/roOXspdehnm+oZPxGD4F06ODjJvdnOAf3e7B8+jz5MLleie8dWiiwMutd5cSa4DZDFup0VhNbV/m87KLrtmAiklFVwICw5s0Y6GfhI4SrwAdfK2Psc+MBANJDLPWt7ya8wZ4zxFGAoA6AO1m5g== x-ms-office365-filtering-correlation-id: f5515698-1629-4911-3ec1-08d68a746e6e x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB7PR05MB4859; x-ms-traffictypediagnostic: DB7PR05MB4859: x-microsoft-antispam-prvs: x-forefront-prvs: 0938781D02 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(7916004)(346002)(136003)(376002)(366004)(39860400002)(396003)(189003)(199004)(6116002)(99286004)(7736002)(6506007)(386003)(3846002)(486006)(14454004)(25786009)(86362001)(256004)(229853002)(2906002)(8676002)(476003)(39060400002)(81166006)(81156014)(4326008)(6246003)(1076003)(446003)(71190400001)(6512007)(68736007)(186003)(9686003)(6436002)(52116002)(102836004)(305945005)(71200400001)(478600001)(26005)(316002)(33716001)(53936002)(4744005)(11346002)(8936002)(6916009)(54906003)(106356001)(33896004)(97736004)(66066001)(76176011)(33656002)(105586002)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR05MB4859;H:DB7PR05MB4940.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: QbZ46ocNp8zGueaoCui32FOjj94SraMMVsSWJ0CUWM7D0VW+id19AtLZhFe7+e8f1nocTjVHHmGnUW8pFf7wrII8rPOaz7WXaOs0OD6ObtVUcJ523RgUSj/CcpkiRUqO8wV95peXf71hrYd7GWR4upbUVCsms7Qu5SMxLk2K8YgfubjFoqLVOXLOuQk73qkvUE7COP7OdEfbmI1zZFVDw6aWbVsKt/0v8/i2Y/RYZD8NZcsqUqXvh5YSGG20HhC1dedx0Hkhqs29Y1/u8YA/9YAyppuma1JQW8S98R1bHbrYM03j07yM0EyXumeG/uRPxTHtIWQVW85GlQnpAtDnCGpLWxpynRczAfhSIvK8Vgj7BLD2e9pmbaEa+PM5VMNQ1i//eTcnoI5Emq6X397IHhQIO6aRlAiT/a2UTd2l2oU= Content-Type: text/plain; charset="us-ascii" Content-ID: <61471BFDE98C5949BF8F7216411FE47F@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: f5515698-1629-4911-3ec1-08d68a746e6e X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Feb 2019 07:43:19.0750 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4859 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, Feb 03, 2019 at 05:39:19PM -0800, Jakub Kicinski wrote: > diff --git a/man/man8/devlink-sb.8 b/man/man8/devlink-sb.8 > index 1882833a3fa7..767c932dd4c1 100644 > --- a/man/man8/devlink-sb.8 > +++ b/man/man8/devlink-sb.8 > @@ -128,6 +128,16 @@ Behaviour of this argument it the same for every com= mand. > - specifies the devlink device to show pools. > If this argument is omitted all pools of all devices are listed. > =20 > +Display available pools listing their > +.B type, size, thtype > +and > +.B cell_size. cell_size > +is the allocation granularity of memory within the shared buffer. Drive= rs > +may round up, round down or reject > +.B size > +passed to the set command if its not multiple of s/its/it is/ > +.B cell_size. > + > .SS devlink sb pool set - set attributes of pool > =20 > .PP > --=20 > 2.19.2 >=20