Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/netmap/
H A Dnetmap_offloadings.c243 u_int gso_bytes = 0; in bdg_mismatch_datapath() local
363 if (gso_bytes == 0) { in bdg_mismatch_datapath()
365 gso_bytes = gso_hdr_len; in bdg_mismatch_datapath()
370 if (gso_bytes + copy > dst_na->mfs) in bdg_mismatch_datapath()
371 copy = dst_na->mfs - gso_bytes; in bdg_mismatch_datapath()
372 memcpy(dst + gso_bytes, src, copy); in bdg_mismatch_datapath()
373 gso_bytes += copy; in bdg_mismatch_datapath()
379 if (gso_bytes >= dst_na->mfs || in bdg_mismatch_datapath()
390 dst_slot->len = gso_bytes; in bdg_mismatch_datapath()
393 segmented_bytes += gso_bytes - gso_hdr_len; in bdg_mismatch_datapath()
[all …]