Home
last modified time | relevance | path

Searched refs:IFCAP_TSO4 (Results 1 – 15 of 15) sorted by relevance

/haiku/src/libs/compat/freebsd_network/compat/net/
H A Dif.h29 #define IFCAP_TSO4 0x00100 /* can do TCP Segmentation Offload */ macro
57 #define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6)
/haiku/src/add-ons/kernel/drivers/network/ether/rtl81xx/dev/re/
H A Dif_re.c1649 if_setcapabilities(ifp, IFCAP_RXCSUM | IFCAP_TSO4); in re_attach()
1652 if_setcapabilities(ifp, IFCAP_HWCSUM | IFCAP_TSO4); in re_attach()
1705 if_setcapenablebit(ifp, 0, (IFCAP_TSO4 | IFCAP_VLAN_HWTSO)); in re_attach()
3132 if_setcapenablebit(ifp, 0, (IFCAP_HWCSUM | IFCAP_TSO4)); in re_init_locked()
3191 if (if_getmtu(ifp) > RL_TSO_MTU && (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_init_locked()
3192 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in re_init_locked()
3435 (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_ioctl()
3437 IFCAP_TSO4 | IFCAP_VLAN_HWTSO); in re_ioctl()
3514 if ((mask & IFCAP_TSO4) != 0 && in re_ioctl()
3515 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in re_ioctl()
[all …]
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/
H A Dif_sge.c620 if_setcapabilities(ifp, IFCAP_TXCSUM | IFCAP_RXCSUM | IFCAP_TSO4); in sge_attach()
1799 if ((mask & IFCAP_TSO4) != 0 && in sge_ioctl()
1800 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in sge_ioctl()
1801 if_togglecapenable(ifp, IFCAP_TSO4); in sge_ioctl()
1802 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in sge_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/
H A Dif_fxp.c851 if_setcapabilitiesbit(ifp, IFCAP_HWCSUM | IFCAP_TSO4, 0); in fxp_attach()
852 if_setcapenablebit(ifp, IFCAP_HWCSUM | IFCAP_TSO4, 0); in fxp_attach()
2927 if ((mask & IFCAP_TSO4) != 0 && in fxp_ioctl()
2928 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in fxp_ioctl()
2929 if_togglecapenable(ifp, IFCAP_TSO4); in fxp_ioctl()
2930 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in fxp_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/dev/jme/
H A Dif_jme.c823 if_setcapabilities(ifp, IFCAP_HWCSUM | IFCAP_TSO4); in jme_attach()
1999 IFCAP_TXCSUM | IFCAP_TSO4); in jme_ioctl()
2064 if ((mask & IFCAP_TSO4) != 0 && in jme_ioctl()
2066 if ((IFCAP_TSO4 & if_getcapabilities(ifp)) != 0) { in jme_ioctl()
2067 if_togglecapenable(ifp, IFCAP_TSO4); in jme_ioctl()
2068 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in jme_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/
H A Dif_msk.c1081 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()
1638 if_setcapabilities(ifp, IFCAP_TXCSUM | IFCAP_TSO4); in msk_attach()
3838 if_setcapenablebit(ifp, 0, (IFCAP_TSO4 | IFCAP_TXCSUM)); in msk_init_locked()
/haiku/src/add-ons/kernel/drivers/network/ether/atheros813x/dev/alc/
H A Dif_alc.c1580 if_setcapabilities(ifp, IFCAP_TXCSUM | IFCAP_TSO4); in alc_attach()
3060 (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in alc_ioctl()
3061 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in alc_ioctl()
3105 if ((mask & IFCAP_TSO4) != 0 && in alc_ioctl()
3106 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in alc_ioctl()
3107 if_togglecapenable(ifp, IFCAP_TSO4); in alc_ioctl()
3108 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in alc_ioctl()
3111 if_setcapenablebit(ifp, 0, IFCAP_TSO4); in alc_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/atheros81xx/dev/ale/
H A Dif_ale.c627 if_setcapabilities(ifp, IFCAP_RXCSUM | IFCAP_TXCSUM | IFCAP_TSO4); in ale_attach()
2028 if ((mask & IFCAP_TSO4) != 0 && in ale_ioctl()
2029 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in ale_ioctl()
2030 if_togglecapenable(ifp, IFCAP_TSO4); in ale_ioctl()
2031 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in ale_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/
H A Dif_nfe.c601 if_setcapabilitiesbit(ifp, IFCAP_HWCSUM | IFCAP_TSO4, 0); in nfe_attach()
1788 if ((mask & IFCAP_TSO4) != 0 && in nfe_ioctl()
1789 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in nfe_ioctl()
1790 if_togglecapenable(ifp, IFCAP_TSO4); in nfe_ioctl()
1791 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/age/
H A Dif_age.c609 if_setcapabilities(ifp, IFCAP_HWCSUM | IFCAP_TSO4); in age_attach()
1888 if ((mask & IFCAP_TSO4) != 0 && in age_ioctl()
1889 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in age_ioctl()
1890 if_togglecapenable(ifp, IFCAP_TSO4); in age_ioctl()
1891 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in age_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/dev/bge/
H A Dif_bge.c3744 if_setcapabilitiesbit(ifp, IFCAP_TSO4 | IFCAP_VLAN_HWTSO, 0); in bge_attach()
5867 if ((mask & IFCAP_TSO4) != 0 && in bge_ioctl()
5868 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in bge_ioctl()
5869 if_togglecapenable(ifp, IFCAP_TSO4); in bge_ioctl()
5870 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in bge_ioctl()
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A Dif_em.c783 IFCAP_VLAN_HWCSUM | IFCAP_WOL | IFCAP_VLAN_HWFILTER | IFCAP_TSO4 | \
788 IFCAP_VLAN_HWCSUM | IFCAP_WOL | IFCAP_VLAN_HWFILTER | IFCAP_TSO4 | \
794 IFCAP_VLAN_HWCSUM | IFCAP_WOL | IFCAP_VLAN_HWFILTER | IFCAP_TSO4 | \
/haiku/src/add-ons/kernel/drivers/network/ether/vmx/dev/vmxnet3/
H A Dif_vmx.c447 IFCAP_TSO4 | IFCAP_TSO6 | in vmxnet3_attach_pre()
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Dif_igc.c430 IFCAP_VLAN_HWCSUM | IFCAP_WOL | IFCAP_TSO4 | IFCAP_LRO | \
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c2558 if (if_getcapenable(ifp) & IFCAP_TSO4) in iflib_init_locked()