summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-08-06 13:05:44 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-09 21:45:36 -0700
commit6e455b897bb6be3a4c0c6578f679e83d399e5b92 (patch)
tree9dd483b537229a4d2a2abe39e81ff80b430847c5 /drivers/net/ixgbe/ixgbe.h
parenta6616b42fbc39c1ccc2373996f1441ce7707ea93 (diff)
downloadblackbird-op-linux-6e455b897bb6be3a4c0c6578f679e83d399e5b92.tar.gz
blackbird-op-linux-6e455b897bb6be3a4c0c6578f679e83d399e5b92.zip
ixgbe: Disable packet split only on FCoE queues in 82599
For 82599, packet split has to be disabled for FCoE direct data placement. However, this is only required on received queues allocated for FCoE. This patch adds a per ring flags to indicate if packet split is disabled on a per queue basis, particularly for FCoE, as packet split must be disabled for large receive using direct data placement (DDP). Signed-off-by: Yi Zou <yi.zou@intel.com> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@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/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index e11d83d5852b..2c4dc8221dcd 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -136,6 +136,8 @@ struct ixgbe_ring {
u8 queue_index; /* needed for multiqueue queue management */
+#define IXGBE_RING_RX_PS_ENABLED (u8)(1)
+ u8 flags; /* per ring feature flags */
u16 head;
u16 tail;
OpenPOWER on IntegriCloud