Searched refs:tso_maxlen (Results 1 – 2 of 2) sorted by relevance
| /freebsd/sys/dev/hyperv/netvsc/ |
| H A D | if_hn.c | 508 SYSCTL_INT(_hw_hn, OID_AUTO, tso_maxlen, CTLFLAG_RDTUN, 5547 hn_set_tso_maxsize(struct hn_softc *sc, int tso_maxlen, int mtu) in hn_set_tso_maxsize() argument 5566 if (tso_maxlen < tso_minlen) in hn_set_tso_maxsize() 5567 tso_maxlen = tso_minlen; in hn_set_tso_maxsize() 5568 else if (tso_maxlen > IP_MAXPACKET) in hn_set_tso_maxsize() 5569 tso_maxlen = IP_MAXPACKET; in hn_set_tso_maxsize() 5570 if (tso_maxlen > sc->hn_ndis_tso_szmax) in hn_set_tso_maxsize() 5571 tso_maxlen = sc->hn_ndis_tso_szmax; in hn_set_tso_maxsize() 5572 hw_tsomax = tso_maxlen - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in hn_set_tso_maxsize()
|
| /freebsd/sys/dev/virtio/network/ |
| H A D | if_vtnet.c | 293 SYSCTL_INT(_hw_vtnet, OID_AUTO, tso_maxlen, CTLFLAG_RDTUN, 1138 int tso_maxlen; in vtnet_setup_interface() local 1142 tso_maxlen = vtnet_tunable_int(sc, "tso_maxlen", in vtnet_setup_interface() 1144 if_sethwtsomax(ifp, tso_maxlen - in vtnet_setup_interface()
|