Home
last modified time | relevance | path

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

123

/freebsd/sys/dev/liquidio/
H A Dlio_ioctl.c188 if (features & IFCAP_LRO) in lio_ioctl()
261 if ((if_getcapabilities(ifp) & IFCAP_LRO) && in lio_set_rx_csum()
262 (if_getcapenable(ifp) & IFCAP_LRO)) { in lio_set_rx_csum()
266 if_togglecapenable(ifp, IFCAP_LRO); in lio_set_rx_csum()
283 if (!(if_getcapabilities(ifp) & IFCAP_LRO)) { in lio_set_lro()
288 if ((!(if_getcapenable(ifp) & IFCAP_LRO)) && in lio_set_lro()
291 if_togglecapenable(ifp, IFCAP_LRO); in lio_set_lro()
297 } else if (if_getcapenable(ifp) & IFCAP_LRO) { in lio_set_lro()
298 if_togglecapenable(ifp, IFCAP_LRO); in lio_set_lro()
H A Dlio_core.c369 (if_getcapenable(ifp) & IFCAP_LRO) && in lio_push_packet()
/freebsd/sys/dev/mxge/
H A Dif_mxge_var.h52 #ifndef IFCAP_LRO
53 #define IFCAP_LRO 0 macro
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c648 if ((if_getcapenable(info->xn_ifp) & IFCAP_LRO) != 0) { in talk_to_backend()
1340 if ((if_getcapenable(ifp) & IFCAP_LRO) == 0 || in xn_rxeof()
1905 if (mask & (IFCAP_RXCSUM | IFCAP_LRO)) { in xn_ioctl()
1911 if (mask & IFCAP_LRO) in xn_ioctl()
1912 if_togglecapenable(ifp, IFCAP_LRO); in xn_ioctl()
2104 if_setcapabilitiesbit(np->xn_ifp, 0, IFCAP_TSO4 | IFCAP_LRO); in xn_query_features()
2106 if_setcapabilitiesbit(np->xn_ifp, IFCAP_TSO4 | IFCAP_LRO, 0); in xn_query_features()
2150 if ((cap_enabled & IFCAP_LRO) != 0) in xn_configure_features()
2154 (if_getcapabilities(ifp) & cap_enabled & IFCAP_LRO) != 0) { in xn_configure_features()
2155 if_setcapenablebit(ifp, IFCAP_LRO, 0); in xn_configure_features()
[all …]
/freebsd/sys/dev/iavf/
H A Diavf_iflib.h119 IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU | IFCAP_LRO)
/freebsd/sys/dev/virtio/network/
H A Dif_vtnet.c1154 if_setcapabilitiesbit(ifp, IFCAP_LRO, 0); in vtnet_setup_interface()
1345 if (mask & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6 | IFCAP_LRO)) { in vtnet_ioctl_ifcap()
1356 if ((mask & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6 | IFCAP_LRO)) == in vtnet_ioctl_ifcap()
1357 IFCAP_LRO && vtnet_software_lro(sc)) in vtnet_ioctl_ifcap()
1364 if (mask & IFCAP_LRO) in vtnet_ioctl_ifcap()
1365 if_togglecapenable(ifp, IFCAP_LRO); in vtnet_ioctl_ifcap()
1379 (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6 | IFCAP_LRO)); in vtnet_ioctl_ifcap()
2053 if (vtnet_software_lro(sc) && if_getcapenable(ifp) & IFCAP_LRO) { in vtnet_rxq_input()
3243 if ((if_getcapenable(ifp) & IFCAP_LRO) == 0) in vtnet_virtio_reinit()
3394 if (if_getcapabilities(ifp) & IFCAP_LRO && !vtnet_software_lro(sc)) { in vtnet_update_rx_offloads()
[all …]
/freebsd/sys/dev/gve/
H A Dgve_rx.c276 if ((if_getcapenable(priv->ifp) & IFCAP_LRO) != 0) { in gve_start_rx_ring()
600 if (((if_getcapenable(priv->ifp) & IFCAP_LRO) != 0) && /* LRO is enabled */ in gve_rx()
H A Dgve_main.c401 IFCAP_LRO; in gve_setup_ifnet()
/freebsd/sys/dev/ixgbe/
H A Dixgbe.h199 IFCAP_LRO | IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_HWTSO | \
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_rx.c505 if (if_getcapenable(priv->dev) & IFCAP_LRO) { in mlx4_en_activate_rx_rings()
507 if_setcapenablebit(priv->dev, 0, IFCAP_LRO); in mlx4_en_activate_rx_rings()
826 (if_getcapenable(dev) & IFCAP_LRO)) { in mlx4_en_process_rx_cq()
/freebsd/sys/dev/ixl/
H A Dixl.h260 IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU | IFCAP_LRO)
/freebsd/sys/dev/vnic/
H A Dnicvf_main.c353 if_setcapabilitiesbit(ifp, IFCAP_LRO, 0); in nicvf_setup_ifnet()
521 if (mask & IFCAP_LRO) { in nicvf_if_ioctl()
527 if_togglecapenable(ifp, IFCAP_LRO); in nicvf_if_ioctl()
/freebsd/sys/dev/sfxge/
H A Dsfxge.c603 if_setcapabilitiesbit(ifp, IFCAP_LRO, 0); in sfxge_ifnet_init()
604 if_setcapenablebit(ifp, IFCAP_LRO, 0); in sfxge_ifnet_init()
/freebsd/sys/dev/mana/
H A Dmana_en.c261 if (mask & IFCAP_LRO) in mana_ioctl()
262 if_togglecapenable(ifp, IFCAP_LRO); in mana_ioctl()
1699 if ((if_getcapenable(ndev) & IFCAP_LRO) && do_lro) { in mana_rx_mbuf()
2349 if (if_getcapenable(ndev) & IFCAP_LRO) { in mana_create_rxq()
2818 IFCAP_LRO | IFCAP_LINKSTATE, 0); in mana_probe_port()
/freebsd/sys/net/
H A Dif.h276 #define IFCAP_LRO IFCAP_BIT(IFCAP_B_LRO) macro
H A Dif_tuntap.c167 | IFCAP_TSO | IFCAP_LRO \
950 IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6 | IFCAP_LRO; in tuncreate()
1800 if (tp->tun_lro_ready && ifp->if_capenable & IFCAP_LRO && in tunwrite_l2()
/freebsd/sys/dev/xen/netback/
H A Dnetback.c2282 if (ifr->ifreqcap |= IFCAP_LRO) { in xnb_ioctl()
2283 if_setcapenablebit(ifp, IFCAP_LRO, 0); in xnb_ioctl()
2285 if_setcapenablebit(ifp, 0, IFCAP_LRO); in xnb_ioctl()
/freebsd/sys/dev/ice/
H A Dice_lib.h191 IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU | IFCAP_LRO)
/freebsd/sys/dev/qlxgbe/
H A Dql_os.c883 IFCAP_LRO, 0); in qla_init_ifnet()
1175 if (mask & IFCAP_LRO) in qla_ioctl()
1176 if_togglecapenable(ifp, IFCAP_LRO); in qla_ioctl()
/freebsd/sys/dev/al_eth/
H A Dal_eth.c357 IFCAP_LRO | IFCAP_JUMBO_MTU, 0); in al_attach()
2521 if ((if_getcapenable(adapter->netdev) & IFCAP_LRO) != 0) { in al_eth_setup_rx_resources()
3371 if ((mask & IFCAP_LRO) != 0) { in al_ioctl()
3372 if_togglecapenable(ifp, IFCAP_LRO); in al_ioctl()
/freebsd/sys/dev/oce/
H A Doce_if.c563 if (u & IFCAP_LRO) { in oce_ioctl()
564 if_togglecapenable(ifp, IFCAP_LRO); in oce_ioctl()
566 if(if_getcapenable(ifp) & IFCAP_LRO) { in oce_ioctl()
2134 if_setcapabilitiesbit(sc->ifp, IFCAP_LRO, 0); in oce_attach_ifp()
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_rx.c602 (if_getcapenable(rq->ifp) & IFCAP_LRO) == 0 || in mlx5e_poll_rx_cq()
/freebsd/sys/dev/neta/
H A Dif_mvneta.c658 if_setcapabilitiesbit(ifp, IFCAP_LRO, 0); in mvneta_attach()
1388 if ((if_getcapenable(sc->ifp) & IFCAP_LRO) != 0) { in mvneta_ring_init_rx_queue()
2095 if (mask & IFCAP_LRO) { in mvneta_ioctl()
2097 if_togglecapenable(ifp, IFCAP_LRO); in mvneta_ioctl()
/freebsd/sys/dev/cxgb/
H A Dcxgb_main.c991 IFCAP_VLAN_HWCSUM | IFCAP_TSO | IFCAP_JUMBO_MTU | IFCAP_LRO | \
2002 if (mask & IFCAP_LRO) { in cxgb_ioctl()
2003 if_togglecapenable(ifp, IFCAP_LRO); in cxgb_ioctl()
2006 cxgb_set_lro(p, if_getcapenable(ifp) & IFCAP_LRO); in cxgb_ioctl()
/freebsd/sbin/ifconfig/
H A Difconfig.c2141 DEF_CMD("lro", IFCAP_LRO, setifcap),
2142 DEF_CMD("-lro", IFCAP_LRO, clearifcap),

123