svn commit: r303665 - stable/10/sys/dev/e1000

Sean Bruno sbruno at FreeBSD.org
Tue Aug 2 15:44:50 UTC 2016


Author: sbruno
Date: Tue Aug  2 15:44:49 2016
New Revision: 303665
URL: https://svnweb.freebsd.org/changeset/base/303665

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

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

Modified: stable/10/sys/dev/e1000/if_em.c
==============================================================================
--- stable/10/sys/dev/e1000/if_em.c	Tue Aug  2 15:43:18 2016	(r303664)
+++ stable/10/sys/dev/e1000/if_em.c	Tue Aug  2 15:44:49 2016	(r303665)
@@ -4437,6 +4437,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