Searched refs:if_hw_tsomax (Results 1 - 16 of 16) sorted by relevance

/freebsd-12-stable/sys/net/
H A Dif_var.h351 * If the "if_hw_tsomax" field is zero the maximum segment
364 u_int if_hw_tsomax; /* TSO maximum size in bytes */ member in struct:ifnet
702 int if_sethwtsomax(if_t ifp, u_int if_hw_tsomax);
H A Dif.c802 if (pmax->tsomaxbytes == 0 || (ifp->if_hw_tsomax != 0 &&
803 ifp->if_hw_tsomax < pmax->tsomaxbytes)) {
804 pmax->tsomaxbytes = ifp->if_hw_tsomax;
825 if (ifp->if_hw_tsomax != pmax->tsomaxbytes) {
826 ifp->if_hw_tsomax = pmax->tsomaxbytes;
927 if (ifp->if_hw_tsomax == 0 &&
936 ifp->if_hw_tsomax = min(IP_MAXPACKET, (32 * MCLBYTES) -
944 ifp->if_hw_tsomax,
4634 if_sethwtsomax(if_t ifp, u_int if_hw_tsomax) argument
4637 ((struct ifnet *)ifp)->if_hw_tsomax
[all...]
/freebsd-12-stable/sys/netinet/
H A Dtcp_output.c881 u_int if_hw_tsomax; local
886 if_hw_tsomax = tp->t_tsomax;
902 if (if_hw_tsomax != 0) {
904 max_len = (if_hw_tsomax - hdrlen -
H A Dtcp_subr.c2878 cap->tsomax = ifp->if_hw_tsomax;
2918 cap->tsomax = ifp->if_hw_tsomax;
/freebsd-12-stable/sys/dev/hyperv/netvsc/
H A Dif_hn.c1705 sc->hn_saved_tsomax = ifp->if_hw_tsomax;
1721 if (ifp->if_hw_tsomax > vf_ifp->if_hw_tsomax)
1722 ifp->if_hw_tsomax = vf_ifp->if_hw_tsomax;
2034 sc->hn_ifp->if_hw_tsomax = sc->hn_saved_tsomax;
2296 CTLFLAG_RD, &ifp->if_hw_tsomax, 0, "max TSO size");
5616 if (hw_tsomax > sc->hn_vf_ifp->if_hw_tsomax)
5617 hw_tsomax = sc->hn_vf_ifp->if_hw_tsomax;
5619 ifp->if_hw_tsomax
[all...]
/freebsd-12-stable/sys/dev/sfxge/
H A Dsfxge.c604 ifp->if_hw_tsomax = SFXGE_TSO_MAX_SIZE;
/freebsd-12-stable/sys/dev/liquidio/
H A Dlio_main.c1349 ifp->if_hw_tsomax = LIO_MAX_FRAME_SIZE;
/freebsd-12-stable/sys/dev/xen/netfront/
H A Dnetfront.c2243 ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN);
/freebsd-12-stable/sys/netinet/tcp_stacks/
H A Drack.c7919 uint32_t if_hw_tsomax; local
7924 if_hw_tsomax = tp->t_tsomax;
7934 if (if_hw_tsomax != 0) {
7936 max_len = (if_hw_tsomax - hdrlen -
/freebsd-12-stable/sys/dev/ena/
H A Dena.c2433 ifp->if_hw_tsomax = ENA_TSO_MAXSIZE -
/freebsd-12-stable/sys/dev/oce/
H A Doce_if.c2216 sc->ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN);
/freebsd-12-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c2270 dev->if_hw_tsomax = MLX4_EN_TX_MAX_PAYLOAD_SIZE - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) /* hdr */;
/freebsd-12-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c4298 ifp->if_hw_tsomax = MLX5E_MAX_TX_PAYLOAD_SIZE - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN);
/freebsd-12-stable/sys/dev/mxge/
H A Dif_mxge.c4991 ifp->if_hw_tsomax = IP_MAXPACKET - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN);
/freebsd-12-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_os.c2447 ifp->if_hw_tsomax = QLNX_MAX_TSO_FRAME_SIZE -
/freebsd-12-stable/sys/dev/cxgbe/
H A Dt4_main.c1786 ifp->if_hw_tsomax = IP_MAXPACKET;

Completed in 349 milliseconds