Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290428
b: refs/heads/master
c: 73e0026
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings committed Feb 23, 2012
1 parent e3eb8f7 commit 2576c08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2d0cc56da39d62e141d4a60e3ac96522c52de4b1
refs/heads/master: 73e0026fb2bee4f2ca85c702040e143ec504eaa6
9 changes: 6 additions & 3 deletions trunk/drivers/net/ethernet/sfc/net_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -1030,9 +1030,12 @@ static inline bool efx_tx_queue_used(struct efx_tx_queue *tx_queue)

/* Iterate over all possible TX queues belonging to a channel */
#define efx_for_each_possible_channel_tx_queue(_tx_queue, _channel) \
for (_tx_queue = (_channel)->tx_queue; \
_tx_queue < (_channel)->tx_queue + EFX_TXQ_TYPES; \
_tx_queue++)
if (!efx_channel_has_tx_queues(_channel)) \
; \
else \
for (_tx_queue = (_channel)->tx_queue; \
_tx_queue < (_channel)->tx_queue + EFX_TXQ_TYPES; \
_tx_queue++)

static inline bool efx_channel_has_rx_queue(struct efx_channel *channel)
{
Expand Down

0 comments on commit 2576c08

Please sign in to comment.