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