Home
last modified time | relevance | path

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

/freebsd/sys/dev/netmap/
H A Dnetmap_offloadings.c242 u_int gso_bytes = 0; in bdg_mismatch_datapath() local
362 if (gso_bytes == 0) { in bdg_mismatch_datapath()
364 gso_bytes = gso_hdr_len; in bdg_mismatch_datapath()
369 if (gso_bytes + copy > dst_na->mfs) in bdg_mismatch_datapath()
370 copy = dst_na->mfs - gso_bytes; in bdg_mismatch_datapath()
371 memcpy(dst + gso_bytes, src, copy); in bdg_mismatch_datapath()
372 gso_bytes += copy; in bdg_mismatch_datapath()
378 if (gso_bytes >= dst_na->mfs || in bdg_mismatch_datapath()
383 gso_fix_segment(dst + ethhlen, gso_bytes - ethhlen, in bdg_mismatch_datapath()
388 nm_prdis("frame %u completed with %d bytes", gso_idx, (int)gso_bytes); in bdg_mismatch_datapath()
[all …]