Commit the struture changes for the padding of small packets on if_cpsw.

Should have been committed together with r312604.

MFC with:	r312604
This commit is contained in:
Luiz Otavio O Souza 2017-01-21 19:56:28 +00:00
parent 904e8e891b
commit f348557302
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=312605

View File

@ -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;