Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134666
b: refs/heads/master
c: c7e4358
h: refs/heads/master
v: v3
  • Loading branch information
Shannon Nelson authored and David S. Miller committed Feb 25, 2009
1 parent 7d92d60 commit b4ecab5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 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: 5325a7bf92d5bcac39dbefdfcc214379d17f3d3a
refs/heads/master: c7e4358ae8e49f85a4d528366046da26b36a712f
14 changes: 10 additions & 4 deletions trunk/drivers/net/ixgbe/ixgbe.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,15 @@ struct ixgbe_ring {
u16 rx_buf_len;
};

#define RING_F_DCB 0
#define RING_F_VMDQ 1
#define RING_F_RSS 2
enum ixgbe_ring_f_enum {
RING_F_NONE = 0,
RING_F_DCB,
RING_F_VMDQ,
RING_F_RSS,

RING_F_ARRAY_SIZE /* must be last in enum set */
};

#define IXGBE_MAX_DCB_INDICES 8
#define IXGBE_MAX_RSS_INDICES 16
#define IXGBE_MAX_VMDQ_INDICES 16
Expand Down Expand Up @@ -249,7 +255,7 @@ struct ixgbe_adapter {
u64 non_eop_descs;
int num_msix_vectors;
int max_msix_q_vectors; /* true count of q_vectors for device */
struct ixgbe_ring_feature ring_feature[3];
struct ixgbe_ring_feature ring_feature[RING_F_ARRAY_SIZE];
struct msix_entry *msix_entries;

u64 rx_hdr_split;
Expand Down

0 comments on commit b4ecab5

Please sign in to comment.