ixgbe.h (de88eeeb16b164b615a5d71ad5fa0b7d51b14435) | ixgbe.h (a557928e26b08496c8f4b6c04e3838ad8048ad85) |
---|---|
1/******************************************************************************* 2 3 Intel 10 Gigabit PCI Express Linux driver 4 Copyright(c) 1999 - 2012 Intel Corporation. 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 282 unchanged lines hidden (view full) --- 291 struct ixgbe_ring *ring; /* pointer to linked list of rings */ 292 unsigned int total_bytes; /* total bytes processed this int */ 293 unsigned int total_packets; /* total packets processed this int */ 294 u16 work_limit; /* total work allowed per interrupt */ 295 u8 count; /* total number of rings in vector */ 296 u8 itr; /* current ITR setting for ring */ 297}; 298 | 1/******************************************************************************* 2 3 Intel 10 Gigabit PCI Express Linux driver 4 Copyright(c) 1999 - 2012 Intel Corporation. 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 282 unchanged lines hidden (view full) --- 291 struct ixgbe_ring *ring; /* pointer to linked list of rings */ 292 unsigned int total_bytes; /* total bytes processed this int */ 293 unsigned int total_packets; /* total packets processed this int */ 294 u16 work_limit; /* total work allowed per interrupt */ 295 u8 count; /* total number of rings in vector */ 296 u8 itr; /* current ITR setting for ring */ 297}; 298 |
299/* iterator for handling rings in ring container */ 300#define ixgbe_for_each_ring(pos, head) \ 301 for (pos = (head).ring; pos != NULL; pos = pos->next) 302 |
|
299#define MAX_RX_PACKET_BUFFERS ((adapter->flags & IXGBE_FLAG_DCB_ENABLED) \ 300 ? 8 : 1) 301#define MAX_TX_PACKET_BUFFERS MAX_RX_PACKET_BUFFERS 302 303/* MAX_MSIX_Q_VECTORS of these are allocated, 304 * but we only use one per queue-specific vector. 305 */ 306struct ixgbe_q_vector { --- 349 unchanged lines hidden --- | 303#define MAX_RX_PACKET_BUFFERS ((adapter->flags & IXGBE_FLAG_DCB_ENABLED) \ 304 ? 8 : 1) 305#define MAX_TX_PACKET_BUFFERS MAX_RX_PACKET_BUFFERS 306 307/* MAX_MSIX_Q_VECTORS of these are allocated, 308 * but we only use one per queue-specific vector. 309 */ 310struct ixgbe_q_vector { --- 349 unchanged lines hidden --- |