/freebsd/sys/dev/liquidio/ |
H A D | lio_ioctl.c | 188 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 D | lio_core.c | 369 (if_getcapenable(ifp) & IFCAP_LRO) && in lio_push_packet()
|
/freebsd/sys/dev/mxge/ |
H A D | if_mxge_var.h | 52 #ifndef IFCAP_LRO 53 #define IFCAP_LRO 0 macro
|
/freebsd/sys/dev/xen/netfront/ |
H A D | netfront.c | 648 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 D | iavf_iflib.h | 119 IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU | IFCAP_LRO)
|
/freebsd/sys/dev/virtio/network/ |
H A D | if_vtnet.c | 1154 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 D | gve_rx.c | 276 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 D | gve_main.c | 401 IFCAP_LRO; in gve_setup_ifnet()
|
/freebsd/sys/dev/ixgbe/ |
H A D | ixgbe.h | 199 IFCAP_LRO | IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_HWTSO | \
|
/freebsd/sys/dev/mlx4/mlx4_en/ |
H A D | mlx4_en_rx.c | 505 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 D | ixl.h | 260 IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU | IFCAP_LRO)
|
/freebsd/sys/dev/vnic/ |
H A D | nicvf_main.c | 353 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 D | sfxge.c | 603 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 D | mana_en.c | 261 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 D | if.h | 276 #define IFCAP_LRO IFCAP_BIT(IFCAP_B_LRO) macro
|
H A D | if_tuntap.c | 167 | 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 D | netback.c | 2282 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 D | ice_lib.h | 191 IFCAP_VLAN_MTU | IFCAP_JUMBO_MTU | IFCAP_LRO)
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_os.c | 883 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 D | al_eth.c | 357 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 D | oce_if.c | 563 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 D | mlx5_en_rx.c | 602 (if_getcapenable(rq->ifp) & IFCAP_LRO) == 0 || in mlx5e_poll_rx_cq()
|
/freebsd/sys/dev/neta/ |
H A D | if_mvneta.c | 658 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 D | cxgb_main.c | 991 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 D | ifconfig.c | 2141 DEF_CMD("lro", IFCAP_LRO, setifcap), 2142 DEF_CMD("-lro", IFCAP_LRO, clearifcap),
|