public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Or Gerlitz <gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jason Gunthorpe <jgg-uk2M96/98Pc@public.gmane.org>,
	Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Parav Pandit <parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
	Moni Shoua <monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [RFC PATCH] RDMA/cma: Remove netlink interface of CMA statistics
Date: Tue, 14 Nov 2017 11:56:05 +0200	[thread overview]
Message-ID: <20171114095605.GU18825@mtr-leonro.local> (raw)
In-Reply-To: <CAJ3xEMhfdXz8zQFetjQPfe7HZiCi+N0z6r9XSucuTzQo1--PBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2783 bytes --]

On Tue, Nov 14, 2017 at 10:51:31AM +0200, Or Gerlitz wrote:
> On Tue, Nov 14, 2017 at 10:05 AM, Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> >
> > On Mon, Nov 13, 2017 at 12:24:32PM -0700, Jason Gunthorpe wrote:
> > > On Mon, Nov 13, 2017 at 04:40:24PM +0200, Leon Romanovsky wrote:
> > > > From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> > > >
> > > > CMA statistics were exposed to users through netlink interface long time
> > > > ago, but it wasn't exposed using netlink extensibility approach. The
> > > > current implementation was based on struct and not attributes.
> > > >
> > > > Let's remove it, before anyone is actually start to use it and prevents us
> > > > to write it properly.
> > >
> > > You should describe why you think it is safe to remove a uAPI from the
> > > kernel in the commit message.. When was it introduced? Why was a uAPI
> > > added with no users??
> >
> > I didn't want to invest time before I actually see that it is possible.
> > The purpose of this RFC is to hear feedback and see if anyone cares enough
> > about that code.
> >
> > The code was introduced a long time ago [1]
>
>
> missing ref

http://linux-rdma.vger.kernel.narkive.com/EMsWPDF2/patch-v4-0-6-ib-netlink-interface-and-rdma-cm-exports

>
> >
> > as an attempt to provide netstat-like information. It had simple demo application, which didn't
> > work for me
>
>
>
> what didn't work exactly?

Started from compilation, continued to wrong data presented.
There is no need to carry 7-years old code, which no one cares about it.

>
> This is UAPI, if you want to remove it, make sure to provide a good
> replacement and see
> if/what is the upstream procedure for UAPI changes/removals,

So, are you going to fight removal of DECnet support from netdev?
https://patchwork.ozlabs.org/patch/837484/
It is going to break user experience of Debian and Ubuntu 9.10 lovers.
http://retrocmp.com/decnet/decnet-on-ubuntu-setup

> I guess there is such, sending
> email to a subsystem list doesn't seem enough to me.

Maybe for you it is not enough, for Linus it is enough and for other
subsystems which removed user visible changes is enough too.
https://patchwork.kernel.org/patch/9788849/
https://www.spinics.net/lists/linux-btrfs/msg66769.html

Thanks

>
>
> >
> > before I started to refactor ib_netlink.
> >
> > Also latest fixes from Parav in the actual callback implementation support
> > my feelings that the kernel part is broken too.
> >
> > Is it enough to proceed with the submission of actual patch?
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2017-11-14  9:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-13 14:40 [RFC PATCH] RDMA/cma: Remove netlink interface of CMA statistics Leon Romanovsky
     [not found] ` <20171113144024.26655-1-leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-13 19:24   ` Jason Gunthorpe
     [not found]     ` <20171113192432.GL6918-uk2M96/98Pc@public.gmane.org>
2017-11-14  8:05       ` Leon Romanovsky
     [not found]         ` <20171114080550.GR18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-14  8:51           ` Or Gerlitz
     [not found]             ` <CAJ3xEMhfdXz8zQFetjQPfe7HZiCi+N0z6r9XSucuTzQo1--PBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-14  9:56               ` Leon Romanovsky [this message]
     [not found]                 ` <20171114095605.GU18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-14 15:23                   ` Jason Gunthorpe
     [not found]                     ` <20171114152350.GA4263-uk2M96/98Pc@public.gmane.org>
2017-11-14 18:02                       ` Leon Romanovsky
2017-11-14 16:04                   ` Or Gerlitz
     [not found]                     ` <CAJ3xEMhM0xfNxRU+37oWKq_w=MGtE3sUXy38bARgX5-3G9zhvw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-14 17:35                       ` Leon Romanovsky
     [not found]                         ` <20171114173516.GZ18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-14 21:05                           ` Or Gerlitz
     [not found]                             ` <CAJ3xEMgJJX0FXMK9Rj=kGmNGkF14tBe03zfwzKHnEEp=cEDVxw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-15  5:29                               ` Leon Romanovsky
     [not found]                                 ` <20171115052926.GN18825-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-11-15  7:50                                   ` Or Gerlitz
     [not found]                                     ` <CAJ3xEMjrTvY+hq=1Q3tmPk_QiZtpO8dLMmCtrPjJgbtOeiU=6Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-16 11:53                                       ` Or Gerlitz
     [not found]                                         ` <CAJ3xEMjst4EaFYfUVwqiOzsh5pVPj85joPYsGsap8p6tQYUwew-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-20 19:41                                           ` Jason Gunthorpe
     [not found]                                             ` <20171120194152.GN29075-uk2M96/98Pc@public.gmane.org>
2017-11-20 22:14                                               ` Or Gerlitz
     [not found]                                                 ` <CAJ3xEMhKEXB3-RJFyEh2dE8dr6OOpQPZ2rJ14MoKQ-2sB0GTXg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-21  5:53                                                   ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171114095605.GU18825@mtr-leonro.local \
    --to=leonro-vpraknaxozvwk0htik3j/w@public.gmane.org \
    --cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=gerlitz.or-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=jgg-uk2M96/98Pc@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=parav-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
    --cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox