Home
last modified time | relevance | path

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

12345

/freebsd/sys/dev/liquidio/
H A Dlio_ioctl.c149 if_getcapenable(ifp); in lio_ioctl()
158 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in lio_ioctl()
169 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in lio_ioctl()
219 if (if_getcapenable(ifp) & IFCAP_TSO4) in lio_set_tso4()
238 if (if_getcapenable(ifp) & IFCAP_TSO6) in lio_set_tso6()
262 (if_getcapenable(ifp) & IFCAP_LRO)) { in lio_set_rx_csum()
288 if ((!(if_getcapenable(ifp) & IFCAP_LRO)) && in lio_set_lro()
289 (if_getcapenable(ifp) & IFCAP_RXCSUM) && in lio_set_lro()
290 (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6)) { in lio_set_lro()
297 } else if (if_getcapenable(ifp) & IFCAP_LRO) { in lio_set_lro()
/freebsd/sys/dev/nge/
H A Dif_nge.c988 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in nge_detach()
1450 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nge_rxeof()
1557 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nge_rxeof()
1578 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in nge_rxeof()
1812 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in nge_intr()
2137 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in nge_init_locked()
2146 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in nge_init_locked()
2197 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in nge_init_locked()
2317 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nge_ioctl()
2322 if ((IFCAP_POLLING & if_getcapenable(ifp)) != 0) { in nge_ioctl()
[all …]
/freebsd/sys/dev/rl/
H A Dif_rl.c870 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_detach()
1135 if (if_getcapenable(ifp) & IFCAP_POLLING) { in rl_rxeof()
1489 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_intr()
1737 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_init_locked()
1835 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in rl_ioctl()
1838 !(if_getcapenable(ifp) & IFCAP_POLLING)) { in rl_ioctl()
1851 if_getcapenable(ifp) & IFCAP_POLLING) { in rl_ioctl()
2042 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in rl_setwol()
2048 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in rl_setwol()
2055 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in rl_setwol()
[all …]
/freebsd/sys/dev/re/
H A Dif_re.c1782 if (if_getcapenable(ifp) & IFCAP_POLLING) in re_detach()
2339 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in re_rxeof()
2600 if (if_getcapenable(ifp) & IFCAP_POLLING) { in re_int_task()
2659 if (if_getcapenable(ifp) & IFCAP_POLLING) { in re_intr_msi()
2945 if (if_getcapenable(ifp) & IFCAP_NETMAP) { in re_start_locked()
3158 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in re_init_locked()
3160 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in re_init_locked()
3184 if (if_getmtu(ifp) > RL_TSO_MTU && (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_init_locked()
3266 if (if_getcapenable(ifp) & IFCAP_POLLING) in re_init_locked()
3428 (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_ioctl()
[all …]
/freebsd/sys/dev/sis/
H A Dif_sis.c1137 if (if_getcapenable(ifp) & IFCAP_POLLING) in sis_detach()
1495 if (if_getcapenable(ifp) & IFCAP_POLLING) { in sis_rxeof()
1508 if ((if_getcapenable(ifp) & IFCAP_VLAN_MTU) != 0 && in sis_rxeof()
1696 if (if_getcapenable(ifp) & IFCAP_POLLING) { in sis_intr()
2054 if (if_getcapenable(ifp) & IFCAP_POLLING) in sis_initl()
2151 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in sis_ioctl()
2156 if ((IFCAP_POLLING & if_getcapenable(ifp)) != 0) { in sis_ioctl()
2316 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) in sis_wol()
2326 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in sis_wol()
2328 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in sis_wol()
[all …]
/freebsd/sys/dev/nfe/
H A Dif_nfe.c691 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in nfe_detach()
1744 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nfe_ioctl()
1771 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in nfe_ioctl()
1784 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl()
1795 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) == 0) in nfe_ioctl()
1806 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) == 0) { in nfe_ioctl()
1807 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in nfe_ioctl()
1863 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task()
2139 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in nfe_rxeof()
2147 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_rxeof()
[all …]
/freebsd/sys/dev/usb/net/
H A Dif_axge.c711 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0 && in axge_bulk_write_callback()
933 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in axge_ioctl()
937 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axge_ioctl()
1062 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in axge_rxeof()
1092 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axge_csum_cfg()
1097 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in axge_csum_cfg()
H A Dif_axe.c1307 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axe_csum_cfg()
1313 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in axe_csum_cfg()
1353 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in axe_init()
1387 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in axe_init()
1473 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in axe_ioctl()
1477 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axe_ioctl()
/freebsd/sys/dev/virtio/network/
H A Dif_vtnet.c1457 mask = (ifr->ifr_reqcap & if_getcapabilities(ifp)) ^ if_getcapenable(ifp); in vtnet_ioctl()
1463 if (if_getcapenable(ifp) & IFCAP_TXCSUM && in vtnet_ioctl()
1464 if_getcapenable(ifp) & IFCAP_TSO4) { in vtnet_ioctl()
1474 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6 && in vtnet_ioctl()
1475 if_getcapenable(ifp) & IFCAP_TSO6) { in vtnet_ioctl()
1485 if (if_getcapenable(ifp) & (IFCAP_TXCSUM | IFCAP_TSO4)) { in vtnet_rxq_populate()
1492 if (if_getcapenable(ifp) & (IFCAP_TXCSUM_IPV6 | IFCAP_TSO6)) { in vtnet_rxq_populate()
1524 if ((if_getcapenable(ifp) & in vtnet_rxq_free_mbufs()
2176 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in vtnet_rx_vq_process()
2228 if (vtnet_software_lro(sc) && if_getcapenable(if in vtnet_rx_vq_process()
[all...]
/freebsd/sys/dev/netmap/
H A Dif_ptnet.c510 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in ptnet_detach()
770 ifr->ifr_reqcap, if_getcapenable(ifp)); in ptnet_ioctl()
771 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ptnet_ioctl()
854 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in ptnet_init_locked()
856 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in ptnet_init_locked()
858 if (if_getcapenable(ifp) & IFCAP_TSO4) in ptnet_init_locked()
860 if (if_getcapenable(ifp) & IFCAP_TSO6) in ptnet_init_locked()
1191 (!(if_getcapenable(ifp) & IFCAP_POLLING) in ptnet_nm_register()
1602 if (if_getcapenable(ifp) & IFCAP_POLLING) { in ptnet_transmit()
1830 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in ptnet_rx_eof()
/freebsd/sys/dev/mana/
H A Dmana_en.c230 if_getcapenable(ifp); in mana_ioctl()
236 if ((IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl()
237 !(IFCAP_TXCSUM & if_getcapenable(ifp))) { in mana_ioctl()
250 if ((IFCAP_TSO6 & if_getcapenable(ifp)) && in mana_ioctl()
251 !(IFCAP_TXCSUM_IPV6 & if_getcapenable(ifp))) { in mana_ioctl()
270 if (!(IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl()
271 !(IFCAP_TXCSUM & if_getcapenable(ifp))) { in mana_ioctl()
282 if (!(IFCAP_TSO6 & if_getcapenable(ifp)) && in mana_ioctl()
283 !(IFCAP_TXCSUM_IPV6 & if_getcapenable(ifp))) { in mana_ioctl()
1642 if ((if_getcapenable(ndev) & IFCAP_RXCSUM || in mana_rx_mbuf()
[all …]
/freebsd/sys/dev/ti/
H A Dif_ti.c1429 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_newbuf_std()
1484 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_newbuf_mini()
1543 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_newbuf_jumbo()
1683 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_newbuf_jumbo()
2146 if ((if_getcapenable(sc->ti_ifp) & (IFCAP_TXCSUM | IFCAP_RXCSUM)) == 0) in ti_chipinit()
2229 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in ti_gibinit()
2232 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) in ti_gibinit()
2246 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in ti_gibinit()
2249 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) in ti_gibinit()
2264 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in ti_gibinit()
[all …]
/freebsd/sys/dev/smc/
H A Dif_smc.c382 if_setcapabilities(ifp, if_getcapenable(ifp) ); in smc_attach()
571 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_start_locked()
658 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_tx()
783 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_rx()
957 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_intr()
1205 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in smc_enable()
/freebsd/sys/dev/ntb/if_ntb/
H A Dif_ntb.c448 if (if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6)) { in ntb_net_rx_handler()
452 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in ntb_net_rx_handler()
458 if (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6) { in ntb_net_rx_handler()
/freebsd/sys/dev/fxp/
H A Dif_fxp.c999 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in fxp_detach()
1060 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in fxp_suspend()
1701 if (if_getcapenable(ifp) & IFCAP_POLLING) { in fxp_intr()
1947 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in fxp_intr_body()
1965 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in fxp_intr_body()
1967 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0 && in fxp_intr_body()
2357 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) ? 1 : 0; in fxp_init_body()
2387 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) ? 1 : 0; in fxp_init_body()
2538 if (if_getcapenable(ifp) & IFCAP_POLLING ) in fxp_init_body()
2860 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in fxp_ioctl()
[all …]
/freebsd/sys/dev/ale/
H A Dif_ale.c1488 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in ale_setwol()
1494 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ale_setwol()
1500 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in ale_setwol()
1502 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in ale_setwol()
1506 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in ale_setwol()
1518 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in ale_setwol()
1981 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ale_ioctl()
1985 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in ale_ioctl()
1996 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in ale_ioctl()
2017 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) == 0) in ale_ioctl()
[all …]
/freebsd/sys/dev/gve/
H A Dgve_main.c188 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in gve_up()
190 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in gve_up()
192 if (if_getcapenable(ifp) & IFCAP_TSO4) in gve_up()
194 if (if_getcapenable(ifp) & IFCAP_TSO6) in gve_up()
497 if (ifr->ifr_reqcap == if_getcapenable(ifp)) in gve_ioctl()
/freebsd/sys/dev/age/
H A Dif_age.c1328 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in age_setwol()
1401 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in age_setwol()
1407 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in age_setwol()
1409 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in age_setwol()
1415 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in age_setwol()
1419 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in age_setwol()
1847 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in age_ioctl()
1851 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in age_ioctl()
1861 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in age_ioctl()
1868 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in age_ioctl()
[all …]
/freebsd/sys/dev/vr/
H A Dif_vr.c826 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in vr_detach()
1303 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vr_rxeof()
1383 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in vr_rxeof()
1698 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in vr_int_task()
2145 if (if_getcapenable(ifp) & IFCAP_POLLING) in vr_init_locked()
2253 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in vr_ioctl()
2278 if ((IFCAP_TXCSUM & if_getcapenable(ifp)) != 0) in vr_ioctl()
2549 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in vr_setwol()
2551 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vr_setwol()
2559 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in vr_setwol()
[all …]
/freebsd/sys/dev/tsec/
H A Dif_tsec.c289 if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) in tsec_detach()
452 if (if_getcapenable(ifp) & IFCAP_POLLING ) in tsec_init_locked()
967 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in tsec_ioctl()
1409 if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) { in tsec_receive_intr()
1490 if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) { in tsec_transmit_intr()
1819 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in tsec_offload_setup()
1830 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in tsec_offload_setup()
/freebsd/sys/dev/vge/
H A Dif_vge.c521 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in vge_setvlan()
1166 if (if_getcapenable(ifp) & IFCAP_POLLING) in vge_detach()
1545 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in vge_rxeof()
1755 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vge_intr()
2124 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vge_init_locked()
2295 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in vge_ioctl()
2325 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in vge_ioctl()
2846 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in vge_setwol()
2849 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in vge_setwol()
2851 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vge_setwol()
[all …]
/freebsd/sys/dev/stge/
H A Dif_stge.c661 if (ifp && if_getcapenable(ifp) & IFCAP_POLLING) in stge_detach()
983 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in stge_setwol()
1296 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in stge_ioctl()
1321 if ((IFCAP_HWCSUM & if_getcapenable(ifp)) != 0 && in stge_ioctl()
1454 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in stge_intr()
1647 if (if_getcapenable(ifp) & IFCAP_POLLING) { in stge_rxeof()
1714 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in stge_rxeof()
1742 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in stge_rxeof()
2082 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in stge_init_locked()
2181 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in stge_vlan_setup()
/freebsd/sys/dev/mge/
H A Dif_mge.c1177 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in mge_init_locked()
1203 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_rxtx()
1260 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_rx()
1382 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_tx()
1494 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in mge_ioctl()
1498 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in mge_ioctl()
1602 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in mge_shutdown()
1872 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in mge_offload_process_frame()
/freebsd/sys/dev/firewire/
H A Dif_fwe.c249 if (if_getcapenable(ifp) & IFCAP_POLLING) in fwe_detach()
/freebsd/sys/dev/xl/
H A Dif_xl.c1552 if (ifp && if_getcapenable(ifp) & IFCAP_POLLING) in xl_detach()
1827 if (if_getcapenable(ifp) & IFCAP_POLLING) { in xl_rxeof()
1902 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in xl_rxeof()
2143 if (if_getcapenable(ifp) & IFCAP_POLLING) { in xl_intr()
2832 if (if_getcapenable(ifp) & IFCAP_POLLING) in xl_init_locked()
3027 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in xl_ioctl()
3032 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) { in xl_ioctl()
3060 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in xl_ioctl()
3267 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol()
3271 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol()
[all …]

12345