Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2017 19:56:28 +0000 (UTC)
From:      Luiz Otavio O Souza <loos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r312605 - head/sys/arm/ti/cpsw
Message-ID:  <201701211956.v0LJuSTZ005848@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701211956.v0LJuSTZ005848>