Re: [RFC v1 for accelerated IPoIB 05/25] IB/ipoib: Support ipoib acceleration options callbacks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 15, 2017 at 06:27:23PM +0200, Erez Shitrit wrote:

> > Move things like priv->napi into ipoib_rn_default, only the stuff
> > under rdma_netdev should touch NAPI.
> 
> When no accelerator is around, ipoib should work as before, and the
> struct struct ipoib_dev_priv is the one who does all datapath and
> control.

The point is to make the code maintainable, by moving everything that
is only used by *_default out of ipoib_dev_priv we can use the compiler
to prove it isn't being used improperly by the core code.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux