Ben Hutchings 525da9072c sfc: Distinguish queue lookup from test for queue existence
efx_channel_get_{rx,tx}_queue() currently return NULL if the channel
isn't used for traffic in that direction.  In most cases this is a
bug, but some callers rely on it as an existence test.

Add existence test functions efx_channel_has_{rx_queue,tx_queues}()
and use them as appropriate.

Change efx_channel_get_{rx,tx}_queue() to assert that the requested
queue exists.

Remove now-redundant initialisation from efx_set_channels().

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
2011-02-15 19:45:34 +00:00
..
2011-01-13 08:03:09 -08:00
2011-01-20 17:02:14 -08:00
2011-01-18 12:22:54 -08:00
2011-01-20 21:37:29 +10:30
2011-01-17 11:15:30 -08:00
2011-01-12 04:59:44 -05:00
2011-01-10 08:51:44 -08:00
2011-01-12 05:14:15 -05:00
2011-01-20 17:02:14 -08:00
2011-02-01 16:48:46 +02:00