Searched refs:nm_buf_size (Results 1 – 2 of 2) sorted by relevance
178 int nm_buf_size; in netmap_send() local191 nm_buf_size = ring->nr_buf_size; in netmap_send()207 copylen = iov_frag_size < nm_buf_size ? iov_frag_size : nm_buf_size; in netmap_send()213 nm_buf_size -= copylen; in netmap_send()233 nm_buf_size = ring->nr_buf_size; in netmap_send()
845 unsigned int nm_buf_size; in ptnet_init_locked() local 904 nm_buf_size = NETMAP_BUF_SIZE(na_dr); in ptnet_init_locked() 906 KASSERT(nm_buf_size > 0, ("Invalid netmap buffer size")); in ptnet_init_locked() 907 sc->min_tx_space = PTNET_MAX_PKT_SIZE / nm_buf_size + 2; in ptnet_init_locked()