commit | d9ab70079a9730f2d748714cbe4242bc707b9eef | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Mon Feb 13 23:29:16 2012 +0000 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Mon Feb 13 23:40:38 2012 +0000 |
tree | 5369dab94326cc5ef40bbba766868fc655cb1cf5 | |
parent | 7280f5ae0d71f2259a42d1f7603480809e4867fb [diff] |
sfc: Skip RX end-of-batch work on channels without an RX queue The code in efx_process_channel() to update the RX queue after each batch of RX completions works out as a no-op on a TX-only channel where the RX queue structure is set to all-zeroes, but (1) efx_channel_get_rx_queue() will BUG() if DEBUG is defined, and (2) it's a waste of time. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>