Home
last modified time | relevance | path

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

/freebsd-10-stable/sys/netinet/
Dtcp_output.c846 u_int if_hw_tsomax; in tcp_output() local
854 if_hw_tsomax = tp->t_tsomax; in tcp_output()
870 if (if_hw_tsomax != 0) { in tcp_output()
872 max_len = (if_hw_tsomax - hdrlen - in tcp_output()
Dtcp_subr.c2003 cap->tsomax = ifp->if_hw_tsomax; in tcp_maxmtu()
2044 cap->tsomax = ifp->if_hw_tsomax; in tcp_maxmtu6()
/freebsd-10-stable/sys/net/
Dif.c618 if (pmax->tsomaxbytes == 0 || (ifp->if_hw_tsomax != 0 && in if_hw_tsomax_common()
619 ifp->if_hw_tsomax < pmax->tsomaxbytes)) { in if_hw_tsomax_common()
620 pmax->tsomaxbytes = ifp->if_hw_tsomax; in if_hw_tsomax_common()
641 if (ifp->if_hw_tsomax != pmax->tsomaxbytes) { in if_hw_tsomax_update()
642 ifp->if_hw_tsomax = pmax->tsomaxbytes; in if_hw_tsomax_update()
742 if (ifp->if_hw_tsomax == 0 && in if_attach_internal()
751 ifp->if_hw_tsomax = min(IP_MAXPACKET, (32 * MCLBYTES) - in if_attach_internal()
759 ifp->if_hw_tsomax, in if_attach_internal()
Dif_var.h246 u_int if_hw_tsomax; member
/freebsd-10-stable/sys/dev/hyperv/netvsc/
Dif_hn.c1685 sc->hn_saved_tsomax = ifp->if_hw_tsomax; in hn_xpnt_vf_setready()
1701 if (ifp->if_hw_tsomax > vf_ifp->if_hw_tsomax) in hn_xpnt_vf_setready()
1702 ifp->if_hw_tsomax = vf_ifp->if_hw_tsomax; in hn_xpnt_vf_setready()
2014 sc->hn_ifp->if_hw_tsomax = sc->hn_saved_tsomax; in hn_ifnet_detevent()
2272 CTLFLAG_RD, &ifp->if_hw_tsomax, 0, "max TSO size"); in hn_attach()
5559 if (hw_tsomax > sc->hn_vf_ifp->if_hw_tsomax) in hn_set_tso_maxsize()
5560 hw_tsomax = sc->hn_vf_ifp->if_hw_tsomax; in hn_set_tso_maxsize()
5562 ifp->if_hw_tsomax = hw_tsomax; in hn_set_tso_maxsize()
5564 if_printf(ifp, "TSO size max %u\n", ifp->if_hw_tsomax); in hn_set_tso_maxsize()
/freebsd-10-stable/sys/dev/sfxge/
Dsfxge.c592 ifp->if_hw_tsomax = SFXGE_TSO_MAX_SIZE; in sfxge_ifnet_init()
/freebsd-10-stable/sys/dev/xen/netfront/
Dnetfront.c2178 ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in create_netdev()
/freebsd-10-stable/sys/dev/ixgbe/
Dif_ixv.c1588 ifp->if_hw_tsomax = 65518; in ixv_setup_interface()
Dif_ix.c2914 ifp->if_hw_tsomax = 65518; in ixgbe_setup_interface()
/freebsd-10-stable/sys/dev/oce/
Doce_if.c1734 sc->ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in oce_attach_ifp()
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
Den_netdev.c2173 dev->if_hw_tsomax = MLX4_EN_TX_MAX_PAYLOAD_SIZE - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) /* hdr */; in mlx4_en_init_netdev()
/freebsd-10-stable/sys/dev/mlx5/mlx5_en/
Dmlx5_en_main.c3160 ifp->if_hw_tsomax = MLX5E_MAX_TX_PAYLOAD_SIZE - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in mlx5e_create_ifp()
/freebsd-10-stable/sys/dev/vmware/vmxnet3/
Dif_vmx.c1741 ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in vmxnet3_setup_interface()
/freebsd-10-stable/sys/dev/e1000/
Dif_igb.c3081 ifp->if_hw_tsomax = IP_MAXPACKET; in igb_setup_interface()
Dif_em.c3276 ifp->if_hw_tsomax = IP_MAXPACKET; in em_setup_interface()
/freebsd-10-stable/sys/dev/qlnx/qlnxe/
Dqlnx_os.c2448 ifp->if_hw_tsomax = QLNX_MAX_TSO_FRAME_SIZE - in qlnx_init_ifnet()
/freebsd-10-stable/sys/dev/cxgbe/
Dt4_main.c1389 ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in cxgbe_vi_attach()