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-20 16:50:05 -08:00
2011-02-02 15:41:25 -08:00
2011-02-08 16:17:55 -08:00
2011-02-08 16:17:55 -08:00
2011-01-11 14:03:09 -08:00
2011-02-08 01:23:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2010-12-21 02:16:08 -08:00
2010-11-17 12:21:14 -08:00
2010-11-09 09:17:56 -08:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2010-12-01 11:11:31 -08:00
2010-08-24 12:24:07 -07:00
2010-09-26 18:34:29 -07:00
2011-01-14 12:39:59 -08:00
2010-12-23 11:44:34 -08:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2011-02-01 13:19:07 -08:00
2011-01-27 14:18:34 -08:00
2010-09-29 13:23:30 -07:00
2010-09-26 18:34:29 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-09-26 18:34:29 -07:00
2010-11-28 11:16:38 -08:00
2010-11-16 11:39:08 -08:00
2011-01-09 15:42:56 -08:00
2011-01-09 15:42:56 -08:00
2011-01-13 21:44:34 -08:00
2011-01-14 12:45:54 -08:00
2010-09-26 18:34:29 -07:00
2010-12-21 02:16:08 -08:00
2011-01-03 12:43:10 -08:00
2010-11-18 10:45:24 -08:00
2010-12-21 02:16:08 -08:00
2010-10-21 03:52:11 -07:00
2010-07-27 22:24:37 -07:00
2010-11-08 13:50:06 -08:00
2010-11-09 09:17:56 -08:00
2010-11-09 09:17:56 -08:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-09-26 18:34:29 -07:00
2010-09-15 22:06:05 -07:00
2010-09-21 18:04:47 -07:00
2010-12-12 22:08:17 -08:00
2010-12-11 11:46:36 -08:00
2011-01-09 15:54:15 -08:00
2011-01-09 15:54:15 -08:00
2010-10-24 16:25:39 -07:00
2010-09-26 18:34:29 -07:00
2011-01-25 22:41:55 -08:00
2010-12-21 02:16:08 -08:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2011-01-26 13:13:10 -08:00
2011-01-26 13:13:10 -08:00
2011-01-24 15:07:06 -08:00
2011-01-24 15:32:47 -08:00
2010-12-08 10:23:36 -08:00
2010-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00