diff options
author | jfv <jfv@FreeBSD.org> | 2010-09-07 20:13:08 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2010-09-07 20:13:08 +0000 |
commit | 62814bf50cf8a8c9acaff4bb25428f2d32f1cf91 (patch) | |
tree | c4884ae35544f48c9262a2d078128ebf8a0f2e00 /sys/dev/e1000/if_em.h | |
parent | be2f46c2bbd64f0cdab557444c05f767ff97a55d (diff) | |
download | FreeBSD-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.h | 4 |
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; |