Displaying 2 results from an estimated 2 matches for "rx_buf_len".
2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
...ux/netdevice.h>
#include <linux/vmalloc.h>
+#ifdef CONFIG_XEN_NETDEV2_BACKEND
+#include <linux/netvmq.h>
+#endif
#ifdef SIOCETHTOOL
#include <linux/ethtool.h>
@@ -224,6 +227,9 @@ struct ixgbe_ring {
#endif
u16 work_limit; /* max work per interrupt */
u16 rx_buf_len;
+ u8 mac_addr[ETH_ALEN];
+ u8 active;
+ u8 allocated;
};
#define RING_F_DCB 0
@@ -417,6 +423,10 @@ struct ixgbe_adapter {
unsigned int lro_flushed;
unsigned int lro_no_desc;
#endif
+#ifdef CONFIG_XEN_NETDEV2_BACKEND
+ struct net_vmq *vmq;
+ u32 rx_queues_allocated;
+#endif
unsigned int...
2009 Feb 10
3
[PATCH 2/2] Use correct config option for ixgbe VMDq
..._XEN_NETDEV2_VMQ
if (adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) {
/* Reserve VMDq set 1 for FCoE, using 3k buffers */
if ((i & adapter->ring_feature[RING_F_VMDQ].mask) == 1)
@@ -2288,7 +2288,7 @@ static void ixgbe_configure_rx(struct ix
}
#else
adapter->rx_ring[i].rx_buf_len = rx_buf_len;
-#endif /* CONFIG_XEN_NETDEV2_BACKEND */
+#endif /* CONFIG_XEN_NETDEV2_VMQ */
#ifndef IXGBE_NO_INET_LRO
/* Intitial LRO Settings */
@@ -2462,7 +2462,7 @@ static void ixgbe_restore_vlan(struct ix
}
#endif
-#ifndef CONFIG_XEN_NETDEV2_BACKEND
+#ifndef CONFIG_XEN_NETDEV2_VMQ
/**...