diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-09-19 03:51:26 +0000 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2014-09-19 03:51:26 +0000 |
| commit | c8dfaf382fa6df9dc6fd1e1c3356e0c8bf607e6a (patch) | |
| tree | 6899fa7510de1719ea0a76790446b61cd2d300fe /sys/dev/netmap/if_re_netmap.h | |
| parent | d3c24fcffe1e1fab13dd9763580f96fac214e36d (diff) | |
Notes
Diffstat (limited to 'sys/dev/netmap/if_re_netmap.h')
| -rw-r--r-- | sys/dev/netmap/if_re_netmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/netmap/if_re_netmap.h b/sys/dev/netmap/if_re_netmap.h index 98f61432ad7c..354f14df1c58 100644 --- a/sys/dev/netmap/if_re_netmap.h +++ b/sys/dev/netmap/if_re_netmap.h @@ -222,7 +222,7 @@ re_netmap_rxsync(struct netmap_kring *kring, int flags) /* sync was in re_newbuf() */ bus_dmamap_sync(sc->rl_ldata.rl_rx_mtag, rxd[nic_i].rx_dmamap, BUS_DMASYNC_POSTREAD); - // sc->rl_ifp->if_ipackets++; + // if_inc_counter(sc->rl_ifp, IFCOUNTER_IPACKETS, 1); nm_i = nm_next(nm_i, lim); nic_i = nm_next(nic_i, lim); } |
