Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932340AbcLGPzf (ORCPT ); Wed, 7 Dec 2016 10:55:35 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:34622 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752481AbcLGPzd (ORCPT ); Wed, 7 Dec 2016 10:55:33 -0500 Date: Wed, 07 Dec 2016 10:55:31 -0500 (EST) Message-Id: <20161207.105531.1347292514118544125.davem@davemloft.net> To: santosh.shilimkar@oracle.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next][PATCH v2 18/18] RDS: IB: add missing connection cache usage info From: David Miller In-Reply-To: <1481083316-11648-19-git-send-email-santosh.shilimkar@oracle.com> References: <1481083316-11648-1-git-send-email-santosh.shilimkar@oracle.com> <1481083316-11648-19-git-send-email-santosh.shilimkar@oracle.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 07 Dec 2016 06:56:11 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 832 Lines: 26 From: Santosh Shilimkar Date: Tue, 6 Dec 2016 20:01:56 -0800 > rds-tools already support it. > > Signed-off-by: Santosh Shilimkar > --- > include/uapi/linux/rds.h | 1 + > net/rds/ib.c | 1 + > 2 files changed, 2 insertions(+) > > diff --git a/include/uapi/linux/rds.h b/include/uapi/linux/rds.h > index 3833113..410ae3c 100644 > --- a/include/uapi/linux/rds.h > +++ b/include/uapi/linux/rds.h > @@ -183,6 +183,7 @@ struct rds_info_rdma_connection { > uint32_t max_send_sge; > uint32_t rdma_mr_max; > uint32_t rdma_mr_size; > + uint32_t cache_allocs; > }; > > /* RDS message Receive Path Latency points */ What level of compatability exists here? If we run an old tool on a new kernel, or a new tool on an old kernel, does it work properly?