/freebsd/sys/dev/liquidio/ |
H A D | lio_ioctl.c | 182 if (features & IFCAP_TSO4) in lio_ioctl() 217 if (if_getcapabilities(ifp) & IFCAP_TSO4) { in lio_set_tso4() 218 if_togglecapenable(ifp, IFCAP_TSO4); in lio_set_tso4() 219 if (if_getcapenable(ifp) & IFCAP_TSO4) in lio_set_tso4()
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge_var.h | 60 #ifndef IFCAP_TSO4 61 #define IFCAP_TSO4 0 macro
|
H A D | if_mxge.c | 1795 #if IFCAP_TSO4 2073 #if IFCAP_TSO4 in mxge_encap() 4054 mask &= ~IFCAP_TSO4; in mxge_ioctl() 4055 if_setcapenablebit(ifp, 0, (IFCAP_TXCSUM|IFCAP_TSO4)); in mxge_ioctl() 4069 if (mask & IFCAP_TSO4) { in mxge_ioctl() 4070 if (IFCAP_TSO4 & if_getcapenable(ifp)) { in mxge_ioctl() 4071 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in mxge_ioctl() 4073 if_setcapenablebit(ifp, IFCAP_TSO4, 0); in mxge_ioctl() 4728 if_setcapabilities(ifp, IFCAP_RXCSUM | IFCAP_TXCSUM | IFCAP_TSO4 | in mxge_attach()
|
/freebsd/sys/dev/sfxge/ |
H A D | sfxge.c | 77 IFCAP_TSO4 | IFCAP_TSO6 | \ 468 if ((capchg_mask & IFCAP_TSO4) && in sfxge_if_ioctl() 469 (reqcap & (IFCAP_TSO4 | IFCAP_TXCSUM)) == IFCAP_TSO4) { in sfxge_if_ioctl() 487 if (reqcap & IFCAP_TSO4) { in sfxge_if_ioctl() 488 reqcap &= ~IFCAP_TSO4; in sfxge_if_ioctl()
|
/freebsd/sys/dev/re/ |
H A D | if_re.c | 1644 if_setcapabilities(ifp, IFCAP_RXCSUM | IFCAP_TSO4); in re_attach() 1647 if_setcapabilities(ifp, IFCAP_HWCSUM | IFCAP_TSO4); in re_attach() 1698 if_setcapenablebit(ifp, 0, (IFCAP_TSO4 | IFCAP_VLAN_HWTSO)); in re_attach() 3123 if_setcapenablebit(ifp, 0, (IFCAP_HWCSUM | IFCAP_TSO4)); in re_init_locked() 3182 if (if_getmtu(ifp) > RL_TSO_MTU && (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_init_locked() 3183 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in re_init_locked() 3426 (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_ioctl() 3428 IFCAP_TSO4 | IFCAP_VLAN_HWTSO); in re_ioctl() 3505 if ((mask & IFCAP_TSO4) != 0 && in re_ioctl() 3506 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in re_ioctl() [all …]
|
/freebsd/sys/net/ |
H A D | if.h | 274 #define IFCAP_TSO4 IFCAP_BIT(IFCAP_B_TSO4) macro 309 #define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6)
|
/freebsd/sys/dev/xen/netfront/ |
H A D | netfront.c | 1884 if (mask & IFCAP_TSO4) { in xn_ioctl() 1885 if_togglecapenable(ifp, IFCAP_TSO4); in xn_ioctl() 2088 if_setcapabilitiesbit(np->xn_ifp, 0, IFCAP_TSO4 | IFCAP_LRO); in xn_query_features() 2090 if_setcapabilitiesbit(np->xn_ifp, IFCAP_TSO4 | IFCAP_LRO, 0); in xn_query_features() 2151 if ((if_getcapabilities(ifp) & cap_enabled & IFCAP_TSO4) != 0) { in xn_configure_features() 2152 if_setcapenablebit(ifp, IFCAP_TSO4, 0); in xn_configure_features() 2315 if_setcapabilities(ifp, IFCAP_HWCSUM|IFCAP_TSO4|IFCAP_LRO); in create_netdev()
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_iflib.h | 114 (IFCAP_TSO4 | IFCAP_TSO6 | \
|
/freebsd/sys/dev/sge/ |
H A D | if_sge.c | 614 if_setcapabilities(ifp, IFCAP_TXCSUM | IFCAP_RXCSUM | IFCAP_TSO4); in sge_attach() 1786 if ((mask & IFCAP_TSO4) != 0 && in sge_ioctl() 1787 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in sge_ioctl() 1788 if_togglecapenable(ifp, IFCAP_TSO4); in sge_ioctl() 1789 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in sge_ioctl()
|
/freebsd/sys/dev/mana/ |
H A D | mana_en.c | 235 if ((IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl() 237 mask &= ~IFCAP_TSO4; in mana_ioctl() 238 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in mana_ioctl() 268 if (mask & IFCAP_TSO4) { in mana_ioctl() 269 if (!(IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl() 276 if_togglecapenable(ifp, IFCAP_TSO4); in mana_ioctl() 2947 IFCAP_TSO4 | IFCAP_TSO6 | in mana_probe_port() 2960 if (if_getcapenable(ndev) & (IFCAP_TSO4 | IFCAP_TSO6)) in mana_probe_port()
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_netdev.c | 2008 if (IFCAP_TSO4 & if_getcapenable(dev) && in mlx4_en_ioctl() 2010 mask &= ~IFCAP_TSO4; in mlx4_en_ioctl() 2011 if_setcapenablebit(dev, 0, IFCAP_TSO4); in mlx4_en_ioctl() 2035 if (mask & IFCAP_TSO4) { in mlx4_en_ioctl() 2036 if (!(IFCAP_TSO4 & if_getcapenable(dev)) && in mlx4_en_ioctl() 2042 if_togglecapenable(dev, IFCAP_TSO4); in mlx4_en_ioctl() 2256 if_setcapabilitiesbit(dev, IFCAP_TSO4 | IFCAP_TSO6 | IFCAP_VLAN_HWTSO, 0); in mlx4_en_init_netdev() 2266 if (if_getcapenable(dev) & (IFCAP_TSO4 | IFCAP_TSO6)) in mlx4_en_init_netdev()
|
/freebsd/sys/dev/ixl/ |
H A D | ixl.h | 255 (IFCAP_TSO4 | IFCAP_TSO6 | \
|
/freebsd/sys/dev/fxp/ |
H A D | if_fxp.c | 846 if_setcapabilitiesbit(ifp, IFCAP_HWCSUM | IFCAP_TSO4, 0); in fxp_attach() 847 if_setcapenablebit(ifp, IFCAP_HWCSUM | IFCAP_TSO4, 0); in fxp_attach() 2911 if ((mask & IFCAP_TSO4) != 0 && in fxp_ioctl() 2912 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in fxp_ioctl() 2913 if_togglecapenable(ifp, IFCAP_TSO4); in fxp_ioctl() 2914 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in fxp_ioctl()
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.c | 748 if_setcapabilitiesbit(ifp, IFCAP_TSO4, 0); in qls_init_ifnet() 970 if (mask & IFCAP_TSO4) in qls_ioctl() 971 if_togglecapenable(ifp, IFCAP_TSO4); in qls_ioctl()
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_os.c | 679 IFCAP_TSO4 | in qla_init_ifnet() 903 if (mask & IFCAP_TSO4) in qla_ioctl() 904 if_togglecapenable(ifp, IFCAP_TSO4); in qla_ioctl()
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_main.c | 356 if_setcapabilitiesbit(ifp, IFCAP_TSO4, 0); in nicvf_setup_ifnet() 519 if ((mask & IFCAP_TSO4) && nic->hw_tso) in nicvf_if_ioctl() 520 if_togglecapenable(ifp, IFCAP_TSO4); in nicvf_if_ioctl()
|
/freebsd/sys/dev/jme/ |
H A D | if_jme.c | 816 if_setcapabilities(ifp, IFCAP_HWCSUM | IFCAP_TSO4); in jme_attach() 1982 IFCAP_TXCSUM | IFCAP_TSO4); in jme_ioctl() 2047 if ((mask & IFCAP_TSO4) != 0 && in jme_ioctl() 2049 if ((IFCAP_TSO4 & if_getcapabilities(ifp)) != 0) { in jme_ioctl() 2050 if_togglecapenable(ifp, IFCAP_TSO4); in jme_ioctl() 2051 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in jme_ioctl()
|
/freebsd/sys/dev/xen/netback/ |
H A D | netback.c | 2268 if (ifr->if_reqcap |= IFCAP_TSO4) { in xnb_ioctl() 2275 if_setcapenablebit(ifp, IFCAP_TSO4, 0); in xnb_ioctl() 2279 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in xnb_ioctl()
|
/freebsd/sys/dev/alc/ |
H A D | if_alc.c | 1595 if_setcapabilities(ifp, IFCAP_TXCSUM | IFCAP_TSO4); in alc_attach() 3065 (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in alc_ioctl() 3066 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in alc_ioctl() 3110 if ((mask & IFCAP_TSO4) != 0 && in alc_ioctl() 3111 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in alc_ioctl() 3112 if_togglecapenable(ifp, IFCAP_TSO4); in alc_ioctl() 3113 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in alc_ioctl() 3116 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in alc_ioctl()
|
/freebsd/sys/dev/msk/ |
H A D | if_msk.c | 1081 IFCAP_TSO4 | IFCAP_TXCSUM); in msk_ioctl() 1140 if ((mask & IFCAP_TSO4) != 0 && in msk_ioctl() 1141 (IFCAP_TSO4 & if_getcapabilities(ifp)) != 0) { in msk_ioctl() 1142 if_togglecapenable(ifp, IFCAP_TSO4); in msk_ioctl() 1143 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in msk_ioctl() 1162 if_setcapenablebit(ifp, 0, (IFCAP_TSO4 | IFCAP_TXCSUM)); in msk_ioctl() 1631 if_setcapabilities(ifp, IFCAP_TXCSUM | IFCAP_TSO4); in msk_attach() 3792 if_setcapenablebit(ifp, 0, (IFCAP_TSO4 | IFCAP_TXCSUM)); in msk_init_locked()
|
/freebsd/sys/dev/cxgb/ |
H A D | cxgb_main.c | 1907 if (IFCAP_TSO4 & if_getcapenable(ifp) && in cxgb_ioctl() 1909 mask &= ~IFCAP_TSO4; in cxgb_ioctl() 1910 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in cxgb_ioctl() 1938 if (mask & IFCAP_TSO4) { in cxgb_ioctl() 1939 if (!(IFCAP_TSO4 & if_getcapenable(ifp)) && in cxgb_ioctl() 1945 if_togglecapenable(ifp, IFCAP_TSO4); in cxgb_ioctl()
|
/freebsd/sys/dev/ale/ |
H A D | if_ale.c | 620 if_setcapabilities(ifp, IFCAP_RXCSUM | IFCAP_TXCSUM | IFCAP_TSO4); in ale_attach() 2011 if ((mask & IFCAP_TSO4) != 0 && in ale_ioctl() 2012 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in ale_ioctl() 2013 if_togglecapenable(ifp, IFCAP_TSO4); in ale_ioctl() 2014 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in ale_ioctl()
|
/freebsd/sys/dev/age/ |
H A D | if_age.c | 601 if_setcapabilities(ifp, IFCAP_HWCSUM | IFCAP_TSO4); in age_attach() 1870 if ((mask & IFCAP_TSO4) != 0 && in age_ioctl() 1871 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in age_ioctl() 1872 if_togglecapenable(ifp, IFCAP_TSO4); in age_ioctl() 1873 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in age_ioctl()
|
/freebsd/sys/dev/nfe/ |
H A D | if_nfe.c | 596 if_setcapabilitiesbit(ifp, IFCAP_HWCSUM | IFCAP_TSO4, 0); in nfe_attach() 1781 if ((mask & IFCAP_TSO4) != 0 && in nfe_ioctl() 1782 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in nfe_ioctl() 1783 if_togglecapenable(ifp, IFCAP_TSO4); in nfe_ioctl() 1784 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl()
|
/freebsd/sys/dev/ice/ |
H A D | ice_lib.h | 186 (IFCAP_TSO4 | IFCAP_TSO6 | \
|