Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103496
b: refs/heads/master
c: 661086d
h: refs/heads/master
v: v3
  • Loading branch information
Peter P Waskiewicz Jr authored and Jeff Garzik committed Jul 11, 2008
1 parent eb6f2c8 commit 21bdb87
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 54 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: f731a9ef82c6728559b34743bca19d231e5e1b63
refs/heads/master: 661086df6cf35f62d0aec09ccb9164eb2baaaecd
7 changes: 5 additions & 2 deletions trunk/drivers/net/igb/igb.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ struct igb_adapter;

/* Transmit and receive queues */
#define IGB_MAX_RX_QUEUES 4
#define IGB_MAX_TX_QUEUES 4

/* RX descriptor control thresholds.
* PTHRESH - MAC will consider prefetch if it has fewer than this number of
Expand Down Expand Up @@ -157,8 +158,6 @@ struct igb_ring {
union {
/* TX */
struct {
spinlock_t tx_clean_lock;
spinlock_t tx_lock;
bool detect_tx_hung;
};
/* RX */
Expand Down Expand Up @@ -277,6 +276,10 @@ struct igb_adapter {
/* for ioport free */
int bars;
int need_ioport;

#ifdef CONFIG_NETDEVICES_MULTIQUEUE
struct igb_ring *multi_tx_table[IGB_MAX_TX_QUEUES];
#endif /* CONFIG_NETDEVICES_MULTIQUEUE */
};

enum e1000_state_t {
Expand Down
Loading

0 comments on commit 21bdb87

Please sign in to comment.