Home
last modified time | relevance | path

Searched refs:npkt_remaining (Results 1 – 1 of 1) sorted by relevance

/freebsd-12-stable/sys/dev/cxgbe/
Dt4_netmap.c990 struct netmap_kring *kring, int npkt, int npkt_remaining) in cxgbe_nm_tx() argument
1051 if (npkt == 0 && npkt_remaining == 0) { in cxgbe_nm_tx()
1077 MPASS(npkt_remaining); in cxgbe_nm_tx()
1137 int n, d, npkt_remaining, ndesc_remaining; in cxgbe_netmap_txsync() local
1146 npkt_remaining = head >= kring->nr_hwcur ? head - kring->nr_hwcur : in cxgbe_netmap_txsync()
1148 while (npkt_remaining) { in cxgbe_netmap_txsync()
1155 d = (npkt_remaining / MAX_NPKT_IN_TYPE1_WR) * SGE_MAX_WR_NDESC; in cxgbe_netmap_txsync()
1156 if (npkt_remaining % MAX_NPKT_IN_TYPE1_WR) in cxgbe_netmap_txsync()
1157 d += npkt_to_ndesc(npkt_remaining % MAX_NPKT_IN_TYPE1_WR); in cxgbe_netmap_txsync()
1160 n = npkt_remaining; in cxgbe_netmap_txsync()
[all …]