summaryrefslogtreecommitdiffstats
path: root/sys/dev/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2010-11-26 22:46:32 +0000
committerjfv <jfv@FreeBSD.org>2010-11-26 22:46:32 +0000
commit48bbd73f9a053707dcc36c64c6f44045e8178dc3 (patch)
treee2b66ea0565164dc8a27eec1d115e996508a5c83 /sys/dev/ixgbe/ixgbe.h
parentdfd9c1b97641876cc379f1deb217b1d89114b6ff (diff)
downloadFreeBSD-src-48bbd73f9a053707dcc36c64c6f44045e8178dc3.zip
FreeBSD-src-48bbd73f9a053707dcc36c64c6f44045e8178dc3.tar.gz
Update ixgbe driver to verion 2.3.6
- This adds a VM SRIOV interface, ixv, it is however transparent to the user, it links with the ixgbe.ko, but when ixgbe is loaded in a virtualized guest with SRIOV configured this will be detected. - Sync shared code to latest - Many bug fixes and improvements, thanks to everyone who has been using the driver and reporting issues.
Diffstat (limited to 'sys/dev/ixgbe/ixgbe.h')
-rw-r--r--sys/dev/ixgbe/ixgbe.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/sys/dev/ixgbe/ixgbe.h b/sys/dev/ixgbe/ixgbe.h
index abfdfa1..60851d2 100644
--- a/sys/dev/ixgbe/ixgbe.h
+++ b/sys/dev/ixgbe/ixgbe.h
@@ -179,6 +179,9 @@
#define IXGBE_RX_HDR 128
#define IXGBE_VFTA_SIZE 128
#define IXGBE_BR_SIZE 4096
+#define IXGBE_QUEUE_IDLE 0
+#define IXGBE_QUEUE_WORKING 1
+#define IXGBE_QUEUE_HUNG 2
/* Offload bits in mbuf flag */
#if __FreeBSD_version >= 800000
@@ -205,11 +208,6 @@
#define IXGBE_BULK_LATENCY 1200
#define IXGBE_LINK_ITR 2000
-/* Header split args for get_bug */
-#define IXGBE_CLEAN_HDR 1
-#define IXGBE_CLEAN_PKT 2
-#define IXGBE_CLEAN_ALL 3
-
/*
*****************************************************************************
* vendor_info_array
@@ -280,7 +278,7 @@ struct tx_ring {
struct adapter *adapter;
struct mtx tx_mtx;
u32 me;
- bool watchdog_check;
+ int queue_status;
int watchdog_time;
union ixgbe_adv_tx_desc *tx_base;
struct ixgbe_dma_alloc txdma;
@@ -374,7 +372,15 @@ struct adapter {
u16 num_vlans;
u16 num_queues;
- /* Info about the board itself */
+ /*
+ ** Shadow VFTA table, this is needed because
+ ** the real vlan filter table gets cleared during
+ ** a soft reset and the driver needs to be able
+ ** to repopulate it.
+ */
+ u32 shadow_vfta[IXGBE_VFTA_SIZE];
+
+ /* Info about the interface */
u32 optics;
int advertise; /* link speeds */
bool link_active;
@@ -421,8 +427,6 @@ struct adapter {
u64 que_mask;
u32 rx_process_limit;
- /* Multicast array memory */
- u8 *mta;
/* Misc stats maintained by the driver */
unsigned long dropped_pkts;
unsigned long mbuf_defrag_failed;
OpenPOWER on IntegriCloud