Re: [PATCH rdma-rc v1] IB/IPoIB: Fix legacy IPoIB due to wrong number of queues

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

 



On Mon, Jan 23, 2023 at 02:32:05PM -0400, Jason Gunthorpe wrote:
> On Sun, Jan 22, 2023 at 02:44:35PM +0200, Leon Romanovsky wrote:
> 
> > > And the return of a really big number from ops->get_num_rx_queues is
> > > pretty ugly too, ideally that would be fixed to pass in some function
> > > arguments and obtain the ppriv so it can return the actual maximum
> > > number of queues and we don't waste a bunch of memory..
> > 
> > .get_num_rx_queues() is declared as void, so it can't have any complex
> > logic except returns some global define.
> 
> Well, yes, you'd have to add some arguments..

Jason, please be realistic.

We already were in this place, where we wanted to change netdev stack
for our IPoIB deadlock. As you probably remember, that didn't went well.

I see a little value to change bunch of netdev drivers just to save some
bytes in legacy IPoIB.

Thanks

>  
> Jason



[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