summaryrefslogtreecommitdiffstats
path: root/sys/dev/e1000/if_em.h
diff options
context:
space:
mode:
authorjfv <jfv@FreeBSD.org>2010-09-07 20:13:08 +0000
committerjfv <jfv@FreeBSD.org>2010-09-07 20:13:08 +0000
commit62814bf50cf8a8c9acaff4bb25428f2d32f1cf91 (patch)
treec4884ae35544f48c9262a2d078128ebf8a0f2e00 /sys/dev/e1000/if_em.h
parentbe2f46c2bbd64f0cdab557444c05f767ff97a55d (diff)
downloadFreeBSD-src-62814bf50cf8a8c9acaff4bb25428f2d32f1cf91.zip
FreeBSD-src-62814bf50cf8a8c9acaff4bb25428f2d32f1cf91.tar.gz
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.
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 d164edb..229cc0c 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;
OpenPOWER on IntegriCloud