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;
                }
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to