Home
last modified time | relevance | path

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

/freebsd/sys/dev/cxgbe/
H A Dt4_netmap.c972 struct netmap_kring *kring, int npkt, int npkt_remaining) in cxgbe_nm_tx() argument
1033 if (npkt + npkt_remaining == 0) { in cxgbe_nm_tx()
1058 MPASS(npkt_remaining); in cxgbe_nm_tx()
1118 int n, d, npkt_remaining, ndesc_remaining; in cxgbe_netmap_txsync() local
1127 npkt_remaining = head >= kring->nr_hwcur ? head - kring->nr_hwcur : in cxgbe_netmap_txsync()
1129 while (npkt_remaining) { in cxgbe_netmap_txsync()
1136 d = (npkt_remaining / MAX_NPKT_IN_TYPE1_WR) * SGE_MAX_WR_NDESC; in cxgbe_netmap_txsync()
1137 if (npkt_remaining % MAX_NPKT_IN_TYPE1_WR) in cxgbe_netmap_txsync()
1138 d += npkt_to_ndesc(npkt_remaining % MAX_NPKT_IN_TYPE1_WR); in cxgbe_netmap_txsync()
1141 n = npkt_remaining; in cxgbe_netmap_txsync()
[all …]