Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2016 15:44:49 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r303665 - stable/10/sys/dev/e1000
Message-ID:  <201608021544.u72FinBE003015@repo.freebsd.org>

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



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