aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-10-27 19:46:57 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-28 06:25:39 -0400
commitf2ca0dbe077389f061ffa15de9dd7fc96a5b97d2 (patch)
treeb8b2b8e7c4d7bb7d65597c2fd60e65d5aec3b8bd /drivers/net/igb/igb.h
parentd249be54745259980dcbd898bdfeb7307c9c5e10 (diff)
igb: replace the VF clear_to_send with a flags value
In order to support future features it is easiest to replace the clear_to_send boolean with a flag value. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 1a0ae57dcee3..7801d3f40193 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -73,9 +73,12 @@ struct vf_data_storage {
73 u16 vf_mc_hashes[IGB_MAX_VF_MC_ENTRIES]; 73 u16 vf_mc_hashes[IGB_MAX_VF_MC_ENTRIES];
74 u16 num_vf_mc_hashes; 74 u16 num_vf_mc_hashes;
75 u16 vlans_enabled; 75 u16 vlans_enabled;
76 bool clear_to_send; 76 u32 flags;
77 unsigned long last_nack;
77}; 78};
78 79
80#define IGB_VF_FLAG_CTS 0x00000001 /* VF is clear to send data */
81
79/* RX descriptor control thresholds. 82/* RX descriptor control thresholds.
80 * PTHRESH - MAC will consider prefetch if it has fewer than this number of 83 * PTHRESH - MAC will consider prefetch if it has fewer than this number of
81 * descriptors available in its onboard memory. 84 * descriptors available in its onboard memory.