[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170314154419.GB3244@obsidianresearch.com>
Date: Tue, 14 Mar 2017 09:44:19 -0600
From: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
To: "Vishwanathapura, Niranjana" <niranjana.vishwanathapura@...el.com>
Cc: Erez Shitrit <erezsh@...lanox.com>, dledford@...hat.com,
linux-rdma@...r.kernel.org, netdev@...r.kernel.org,
valex@...lanox.com, leonro@...lanox.com, saedm@...lanox.com,
erezsh@....mellanox.co.il
Subject: Re: [RFC v1 for accelerated IPoIB 05/25] IB/ipoib: Support ipoib
acceleration options callbacks
On Mon, Mar 13, 2017 at 11:35:38PM -0700, Vishwanathapura, Niranjana wrote:
> This will break ipoib on hfi1 as hfi1 will define alloc_rdma_netdev for
> OPA_VNIC type. We should probably look for a dedicated return type
> (-ENODEV?) to determine of the driver supports specified rdma netdev type.
> Or use a ib device attribute to suggest driver support ipoib rdma netdev.
I think I prefer call and detect ENOSUPP or whatever than yet another
flag.
Jason
Powered by blists - more mailing lists