Home
last modified time | relevance | path

Searched refs:IFCAP_TSO (Results 1 – 25 of 25) sorted by relevance

/freebsd/sys/dev/mxge/
H A Dif_mxge_var.h56 #ifndef IFCAP_TSO
57 #define IFCAP_TSO 0 macro
/freebsd/sys/net/
H A Dif_edsc.c126 IFCAP_HWCSUM | IFCAP_TSO | in edsc_clone_create()
H A Dif.h312 #define IFCAP_TSO (IFCAP_TSO4 | IFCAP_TSO6) macro
H A Dif_vlan.c2121 cap |= p->if_capabilities & IFCAP_TSO; in vlan_capabilities()
2123 ena |= mena & IFCAP_TSO; in vlan_capabilities()
2124 if (ena & IFCAP_TSO) in vlan_capabilities()
H A Dif_vxlan.c3178 cap |= p->if_capabilities & IFCAP_TSO; in vxlan_set_hwcaps()
3188 ena |= sc->vxl_reqcap & p->if_capenable & IFCAP_TSO; in vxlan_set_hwcaps()
3189 if (ena & IFCAP_TSO) { in vxlan_set_hwcaps()
H A Dif_geneve.c3351 cap |= p->if_capabilities & IFCAP_TSO; in geneve_set_hwcaps()
3360 ena |= sc->gnv_reqcap & p->if_capenable & IFCAP_TSO; in geneve_set_hwcaps()
3361 if (ena & IFCAP_TSO) { in geneve_set_hwcaps()
H A Diflib.c1704 if (if_getcapabilities(ctx->ifc_ifp) & IFCAP_TSO) { in iflib_txsd_alloc()
1731 tso = (if_getcapabilities(ctx->ifc_ifp) & IFCAP_TSO) != 0; in iflib_txsd_alloc()
4399 IFCAP_TSO | IFCAP_VLAN_HWTAGGING | IFCAP_HWSTATS | \
5151 if (if_getcapabilities(ifp) & IFCAP_TSO) { in iflib_device_register()
H A Dif_tuntap.c170 | IFCAP_TSO | IFCAP_LRO \
H A Dif_bridge.c198 #define BRIDGE_IFCAPS_MASK (IFCAP_TOE|IFCAP_TSO|IFCAP_TXCSUM|\
H A Dif.c918 /* XXX some drivers set IFCAP_TSO after ethernet attach */ in if_attach_internal()
919 if (ifp->if_capabilities & IFCAP_TSO) { in if_attach_internal()
/freebsd/sys/dev/ixgbe/
H A Dixgbe.h209 #define IXGBE_CAPS (IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6 | IFCAP_TSO | \
/freebsd/sys/dev/oce/
H A Doce_if.c523 if (IFCAP_TSO & if_getcapenable(ifp) && in oce_ioctl()
525 u &= ~IFCAP_TSO; in oce_ioctl()
526 if_setcapenablebit(ifp, 0, IFCAP_TSO); in oce_ioctl()
539 if (IFCAP_TSO & if_getcapenable(ifp)) { in oce_ioctl()
543 if_setcapenablebit(ifp, 0, IFCAP_TSO); in oce_ioctl()
2131 if_setcapabilitiesbit(sc->ifp, IFCAP_TSO, 0); in oce_attach_ifp()
/freebsd/sys/dev/e1000/
H A Dif_em.c1083 scctx->isc_capenable &= ~IFCAP_TSO; in em_if_attach_pre()
1091 scctx->isc_capenable &= ~IFCAP_TSO; in em_if_attach_pre()
1121 scctx->isc_capenable &= ~IFCAP_TSO; in em_if_attach_pre()
1134 IFCAP_TSO | IFCAP_VLAN_HWTSO); in em_if_attach_pre()
1142 ~(IFCAP_TSO |IFCAP_VLAN_HWTSO); in em_if_attach_pre()
4348 scctx->isc_capenable & IFCAP_TSO) { in em_automask_tso()
4351 sc->tso_automasked = scctx->isc_capenable & IFCAP_TSO; in em_automask_tso()
4352 scctx->isc_capenable &= ~IFCAP_TSO; in em_automask_tso()
4353 if_setcapenablebit(ifp, 0, IFCAP_TSO); in em_automask_tso()
/freebsd/sys/dev/aq/
H A Daq_main.c392 IFCAP_TSO | IFCAP_JUMBO_MTU | IFCAP_VLAN_HWFILTER | IFCAP_VLAN_MTU | in aq_if_attach_pre()
399 IFCAP_TSO | IFCAP_JUMBO_MTU | IFCAP_VLAN_HWFILTER | IFCAP_VLAN_MTU | in aq_if_attach_pre()
/freebsd/sys/dev/ice/
H A Dice_lib.h195 (ICE_FULL_CAPS & ~(IFCAP_HWCSUM | IFCAP_TSO | \
/freebsd/sys/dev/al_eth/
H A Dal_eth.c356 IFCAP_HWCSUM_IPV6 | IFCAP_TSO | in al_attach()
3170 if ((if_getcapenable(ifp) & IFCAP_TSO) != 0) in al_eth_up()
3367 if ((mask & IFCAP_TSO) != 0) { in al_ioctl()
3368 if_togglecapenable(ifp, IFCAP_TSO); in al_ioctl()
/freebsd/sbin/ifconfig/
H A Difconfig.c2134 DEF_CMD("tso", IFCAP_TSO, setifcap),
2135 DEF_CMD("-tso", IFCAP_TSO, clearifcap),
/freebsd/sys/dev/gve/
H A Dgve_main.c628 IFCAP_TSO | in gve_setup_ifnet()
/freebsd/sys/dev/cxgb/
H A Dcxgb_main.c989 IFCAP_VLAN_HWCSUM | IFCAP_TSO | IFCAP_JUMBO_MTU | IFCAP_LRO | \
1037 if_setcapabilitiesbit(ifp, 0, IFCAP_TSO | IFCAP_VLAN_HWTSO); in cxgb_port_attach()
1038 if_setcapenablebit(ifp, 0, IFCAP_TSO | IFCAP_VLAN_HWTSO); in cxgb_port_attach()
/freebsd/sys/dev/netmap/
H A Dif_ptnet.c436 | IFCAP_TSO | IFCAP_LRO in ptnet_attach()
/freebsd/sys/dev/liquidio/
H A Dlio_main.c1157 IFCAP_TSO | IFCAP_LRO | in lio_init_ifnet()
/freebsd/sys/dev/axgbe/
H A Dxgbe-dev.c294 int tso_enabled = (if_getcapenable(pdata->netdev) & IFCAP_TSO); in xgbe_config_tso_mode()
H A Dif_axgbe_pci.c707 IFCAP_TSO | IFCAP_VLAN_HWTSO); in axgbe_init_iflib_softc_ctx()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_main.c4613 if_setcapabilitiesbit(ifp, IFCAP_TSO | IFCAP_VLAN_HWTSO, 0); in mlx5e_create_ifp()
4643 if (if_getcapenable(ifp) & IFCAP_TSO) in mlx5e_create_ifp()
/freebsd/sys/dev/cxgbe/
H A Dt4_main.c2819 IFCAP_VLAN_HWCSUM | IFCAP_TSO | IFCAP_JUMBO_MTU | IFCAP_LRO | \