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=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 BC528C35DF5 for ; Tue, 25 Feb 2020 07:48:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8AE092176D for ; Tue, 25 Feb 2020 07:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582616899; bh=ssJpZWuouMn/15iZg+isVqPQF/xHAJRQnbhT5L+rdfw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=vON6kG4CCtteOpEtK39cQe1gNnv9sJFpnrVorFO9BPxtQiwzdRoqe8jHk5b34VI0g kDtOfnIdMo5bKYSn8bCyxbWK8ZwGgWFCaEn7P9SHrEfGONEaEtta79Wch23irtoYO0 VxlCeFQdTRZeAtt6lVlmiMkPtKCO6iP1+wWCS0V0= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729124AbgBYHsT (ORCPT ); Tue, 25 Feb 2020 02:48:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:37240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725837AbgBYHsS (ORCPT ); Tue, 25 Feb 2020 02:48:18 -0500 Received: from localhost (unknown [193.47.165.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C567221744; Tue, 25 Feb 2020 07:48:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582616898; bh=ssJpZWuouMn/15iZg+isVqPQF/xHAJRQnbhT5L+rdfw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fFLhJxGTD6+F8hherDf4atpvvdEKIKYwUz6tBTk7xiM0okFsCgq+KAIgSnwoggeVR +sXhoU/cZZ3HUcXU8TLsZMZEiFAsEKyccqonvC52p6+wI8eqiM2Fm/jMocFzbCLM0M 8pTEgvyRoI5w6OG4KueIVsq6JrWO3pekgqHk3k3o= Date: Tue, 25 Feb 2020 09:48:15 +0200 From: Leon Romanovsky To: Haim Boozaglo Cc: linux-rdma@vger.kernel.org Subject: Re: "ibstat -l" displays CA device list in an unsorted order Message-ID: <20200225074815.GB5347@unreal> References: <2b43584f-f56a-6466-a2da-43d02fad6b64@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2b43584f-f56a-6466-a2da-43d02fad6b64@mellanox.com> Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org On Mon, Feb 24, 2020 at 08:06:56PM +0200, Haim Boozaglo wrote: > Hi all, > > When running "ibstat" or "ibstat -l", the output of CA device list > is displayed in an unsorted order. > > Before pull request #561, ibstat displayed the CA device list sorted in > alphabetical order. > > The problem is that users expect to have the output sorted in alphabetical > order and now they get it not as expected (in an unsorted order). Do we have anything written in official man pages about this expectation? I don't think so, there is nothing "to fix". Thanks > > Best Regards, > Haim Boozaglo.