Searched refs:if_hw_tsomax (Results 1 – 17 of 17) sorted by relevance
846 u_int if_hw_tsomax; in tcp_output() local854 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()
2003 cap->tsomax = ifp->if_hw_tsomax; in tcp_maxmtu()2044 cap->tsomax = ifp->if_hw_tsomax; in tcp_maxmtu6()
618 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()
246 u_int if_hw_tsomax; member
1685 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()
592 ifp->if_hw_tsomax = SFXGE_TSO_MAX_SIZE; in sfxge_ifnet_init()
2178 ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in create_netdev()
1588 ifp->if_hw_tsomax = 65518; in ixv_setup_interface()
2914 ifp->if_hw_tsomax = 65518; in ixgbe_setup_interface()
1734 sc->ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in oce_attach_ifp()
2173 dev->if_hw_tsomax = MLX4_EN_TX_MAX_PAYLOAD_SIZE - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) /* hdr */; in mlx4_en_init_netdev()
3160 ifp->if_hw_tsomax = MLX5E_MAX_TX_PAYLOAD_SIZE - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in mlx5e_create_ifp()
1741 ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in vmxnet3_setup_interface()
3081 ifp->if_hw_tsomax = IP_MAXPACKET; in igb_setup_interface()
3276 ifp->if_hw_tsomax = IP_MAXPACKET; in em_setup_interface()
2448 ifp->if_hw_tsomax = QLNX_MAX_TSO_FRAME_SIZE - in qlnx_init_ifnet()
1389 ifp->if_hw_tsomax = 65536 - (ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN); in cxgbe_vi_attach()