aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbevf/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbevf/defines.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/defines.h27
1 files changed, 2 insertions, 25 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/defines.h b/drivers/net/ethernet/intel/ixgbevf/defines.h
index e09a6cc633bb..10cede503fe8 100644
--- a/drivers/net/ethernet/intel/ixgbevf/defines.h
+++ b/drivers/net/ethernet/intel/ixgbevf/defines.h
@@ -264,32 +264,9 @@ struct ixgbe_adv_tx_context_desc {
264 264
265/* Interrupt register bitmasks */ 265/* Interrupt register bitmasks */
266 266
267/* Extended Interrupt Cause Read */
268#define IXGBE_EICR_RTX_QUEUE 0x0000FFFF /* RTx Queue Interrupt */
269#define IXGBE_EICR_MAILBOX 0x00080000 /* VF to PF Mailbox Interrupt */
270#define IXGBE_EICR_OTHER 0x80000000 /* Interrupt Cause Active */
271
272/* Extended Interrupt Cause Set */
273#define IXGBE_EICS_RTX_QUEUE IXGBE_EICR_RTX_QUEUE /* RTx Queue Interrupt */
274#define IXGBE_EICS_MAILBOX IXGBE_EICR_MAILBOX /* VF to PF Mailbox Int */
275#define IXGBE_EICS_OTHER IXGBE_EICR_OTHER /* INT Cause Active */
276
277/* Extended Interrupt Mask Set */
278#define IXGBE_EIMS_RTX_QUEUE IXGBE_EICR_RTX_QUEUE /* RTx Queue Interrupt */
279#define IXGBE_EIMS_MAILBOX IXGBE_EICR_MAILBOX /* VF to PF Mailbox Int */
280#define IXGBE_EIMS_OTHER IXGBE_EICR_OTHER /* INT Cause Active */
281
282/* Extended Interrupt Mask Clear */
283#define IXGBE_EIMC_RTX_QUEUE IXGBE_EICR_RTX_QUEUE /* RTx Queue Interrupt */
284#define IXGBE_EIMC_MAILBOX IXGBE_EICR_MAILBOX /* VF to PF Mailbox Int */
285#define IXGBE_EIMC_OTHER IXGBE_EICR_OTHER /* INT Cause Active */
286
287#define IXGBE_EIMS_ENABLE_MASK ( \
288 IXGBE_EIMS_RTX_QUEUE | \
289 IXGBE_EIMS_MAILBOX | \
290 IXGBE_EIMS_OTHER)
291
292#define IXGBE_EITR_CNT_WDIS 0x80000000 267#define IXGBE_EITR_CNT_WDIS 0x80000000
268#define IXGBE_MAX_EITR 0x00000FF8
269#define IXGBE_MIN_EITR 8
293 270
294/* Error Codes */ 271/* Error Codes */
295#define IXGBE_ERR_INVALID_MAC_ADDR -1 272#define IXGBE_ERR_INVALID_MAC_ADDR -1