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.c967 struct netmap_kring *kring, int npkt, int npkt_remaining) in cxgbe_nm_tx() argument
1028 if (npkt + npkt_remaining == 0) { in cxgbe_nm_tx()
1053 MPASS(npkt_remaining); in cxgbe_nm_tx()
1113 int n, d, npkt_remaining, ndesc_remaining; in cxgbe_netmap_txsync() local
1122 npkt_remaining = head >= kring->nr_hwcur ? head - kring->nr_hwcur : in cxgbe_netmap_txsync()
1124 while (npkt_remaining) { in cxgbe_netmap_txsync()
1131 d = (npkt_remaining / MAX_NPKT_IN_TYPE1_WR) * SGE_MAX_WR_NDESC; in cxgbe_netmap_txsync()
1132 if (npkt_remaining % MAX_NPKT_IN_TYPE1_WR) in cxgbe_netmap_txsync()
1133 d += npkt_to_ndesc(npkt_remaining % MAX_NPKT_IN_TYPE1_WR); in cxgbe_netmap_txsync()
1136 n = npkt_remaining; in cxgbe_netmap_txsync()
[all …]