svn commit: r312605 - head/sys/arm/ti/cpsw
Luiz Otavio O Souza
loos at FreeBSD.org
Sat Jan 21 19:56:30 UTC 2017
Author: loos
Date: Sat Jan 21 19:56:28 2017
New Revision: 312605
URL: https://svnweb.freebsd.org/changeset/base/312605
Log:
Commit the struture changes for the padding of small packets on if_cpsw.
Should have been committed together with r312604.
MFC with: r312604
Modified:
head/sys/arm/ti/cpsw/if_cpswvar.h
Modified: head/sys/arm/ti/cpsw/if_cpswvar.h
==============================================================================
--- head/sys/arm/ti/cpsw/if_cpswvar.h Sat Jan 21 19:49:39 2017 (r312604)
+++ head/sys/arm/ti/cpsw/if_cpswvar.h Sat Jan 21 19:56:28 2017 (r312605)
@@ -104,10 +104,8 @@ struct cpsw_softc {
struct resource *irq_res[CPSW_INTR_COUNT];
void *ih_cookie[CPSW_INTR_COUNT];
- /* An mbuf full of nulls for TX padding. */
- bus_dmamap_t null_mbuf_dmamap;
- struct mbuf *null_mbuf;
- bus_addr_t null_mbuf_paddr;
+ /* A buffer full of nulls for TX padding. */
+ void *nullpad;
bus_dma_tag_t mbuf_dtag;
More information about the svn-src-all
mailing list