aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/e1000/if_em.h
diff options
context:
space:
mode:
authorJack F Vogel <jfv@FreeBSD.org>2010-09-07 20:13:08 +0000
committerJack F Vogel <jfv@FreeBSD.org>2010-09-07 20:13:08 +0000
commitd9f1a5aa8ed48a7b829430535811a23f126981c8 (patch)
treec4884ae35544f48c9262a2d078128ebf8a0f2e00 /sys/dev/e1000/if_em.h
parent12c65daeaf7a1811cd5b11cf594386695d78d712 (diff)
downloadsrc-d9f1a5aa8ed48a7b829430535811a23f126981c8.tar.gz
src-d9f1a5aa8ed48a7b829430535811a23f126981c8.zip
Tighten up the rx mbuf refresh code, there were some
discrepencies from the igb version which was the target. Change the message when neither MSI or MSIX are enabled and a fallback to Legacy interrupts happen, the existing message was confusing.
Notes
Notes: svn path=/head/; revision=212303
Diffstat (limited to 'sys/dev/e1000/if_em.h')
-rw-r--r--sys/dev/e1000/if_em.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.h b/sys/dev/e1000/if_em.h
index d164edb18592..229cc0cc392c 100644
--- a/sys/dev/e1000/if_em.h
+++ b/sys/dev/e1000/if_em.h
@@ -320,10 +320,11 @@ struct rx_ring {
void *tag;
struct resource *res;
bus_dma_tag_t rxtag;
- bus_dmamap_t rx_sparemap;
+ bool discard;
/* Soft stats */
unsigned long rx_irq;
+ unsigned long rx_discarded;
unsigned long rx_packets;
unsigned long rx_bytes;
};
@@ -393,6 +394,7 @@ struct adapter {
/* Multicast array memory */
u8 *mta;
+
/* Info about the board itself */
uint8_t link_active;
uint16_t link_speed;