diff options
| author | Luigi Rizzo <luigi@FreeBSD.org> | 2012-08-02 11:59:43 +0000 |
|---|---|---|
| committer | Luigi Rizzo <luigi@FreeBSD.org> | 2012-08-02 11:59:43 +0000 |
| commit | b3d53016888e82317c056d9269f5cbf78537b6eb (patch) | |
| tree | b8523db838dec58ef47570c5b3b5168a51247b46 /sys/dev/netmap/if_igb_netmap.h | |
| parent | 2db8baa95630fcddcaddce9f86da0ef792ccc158 (diff) | |
Notes
Diffstat (limited to 'sys/dev/netmap/if_igb_netmap.h')
| -rw-r--r-- | sys/dev/netmap/if_igb_netmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/netmap/if_igb_netmap.h b/sys/dev/netmap/if_igb_netmap.h index 8ba13ee6af61..bd835634884f 100644 --- a/sys/dev/netmap/if_igb_netmap.h +++ b/sys/dev/netmap/if_igb_netmap.h @@ -125,7 +125,7 @@ igb_netmap_txsync(struct ifnet *ifp, u_int ring_nr, int do_lock) u_int j, k, l, n = 0, lim = kring->nkr_num_slots - 1; /* generate an interrupt approximately every half ring */ - int report_frequency = kring->nkr_num_slots >> 1; + u_int report_frequency = kring->nkr_num_slots >> 1; k = ring->cur; if (k > lim) |
