aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2012-05-11 04:33:00 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-07-17 22:16:32 -0400
commit908421f6cc6b6e5db6e8e8c35ab8fc0fb64f25c2 (patch)
tree0c3fca135bd7dd9a24d033a368978c6f5fcf6a20 /drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
parent671c0adb5cb5f3acdc93527e54cf1e379fc980b1 (diff)
ixgbevf: Update descriptor macros to accept pointers and drop _ADV suffix
This change updates the descriptor macros to accept pointers, updates the name to drop the _ADV suffix, and include the IXGBEVF name in the macro. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/ixgbevf.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
index f92daca249f8..1f1376515f70 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
@@ -164,12 +164,12 @@ struct ixgbevf_q_vector {
164 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 164 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
165 (R)->next_to_clean - (R)->next_to_use - 1) 165 (R)->next_to_clean - (R)->next_to_use - 1)
166 166
167#define IXGBE_RX_DESC_ADV(R, i) \ 167#define IXGBEVF_RX_DESC(R, i) \
168 (&(((union ixgbe_adv_rx_desc *)((R).desc))[i])) 168 (&(((union ixgbe_adv_rx_desc *)((R)->desc))[i]))
169#define IXGBE_TX_DESC_ADV(R, i) \ 169#define IXGBEVF_TX_DESC(R, i) \
170 (&(((union ixgbe_adv_tx_desc *)((R).desc))[i])) 170 (&(((union ixgbe_adv_tx_desc *)((R)->desc))[i]))
171#define IXGBE_TX_CTXTDESC_ADV(R, i) \ 171#define IXGBEVF_TX_CTXTDESC(R, i) \
172 (&(((struct ixgbe_adv_tx_context_desc *)((R).desc))[i])) 172 (&(((struct ixgbe_adv_tx_context_desc *)((R)->desc))[i]))
173 173
174#define IXGBE_MAX_JUMBO_FRAME_SIZE 16128 174#define IXGBE_MAX_JUMBO_FRAME_SIZE 16128
175 175