svn commit: r303664 - stable/11/sys/dev/e1000

Sean Bruno sbruno at FreeBSD.org
Tue Aug 2 15:43:19 UTC 2016


Author: sbruno
Date: Tue Aug  2 15:43:18 2016
New Revision: 303664
URL: https://svnweb.freebsd.org/changeset/base/303664

Log:
  MFC r303638
  
  Unbreak NETMAP usage with em(4) broken in r293331.
  
  Approved by:	re (gjb)

Modified:
  stable/11/sys/dev/e1000/if_em.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/e1000/if_em.c
==============================================================================
--- stable/11/sys/dev/e1000/if_em.c	Tue Aug  2 15:41:42 2016	(r303663)
+++ stable/11/sys/dev/e1000/if_em.c	Tue Aug  2 15:43:18 2016	(r303664)
@@ -4392,6 +4392,7 @@ em_setup_receive_ring(struct rx_ring *rx
 
 			addr = PNMB(na, slot + si, &paddr);
 			netmap_load_map(na, rxr->rxtag, rxbuf->map, addr);
+			rxbuf->paddr = paddr;
 			em_setup_rxdesc(&rxr->rx_base[j], rxbuf);
 			continue;
 		}


More information about the svn-src-all mailing list