/freebsd/sys/dev/liquidio/ |
H A D | lio_ioctl.c | 149 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 D | if_nge.c | 988 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 D | if_rl.c | 870 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 D | if_re.c | 1780 if (if_getcapenable(ifp) & IFCAP_POLLING) in re_detach() 2337 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in re_rxeof() 2598 if (if_getcapenable(ifp) & IFCAP_POLLING) { in re_int_task() 2657 if (if_getcapenable(ifp) & IFCAP_POLLING) { in re_intr_msi() 2943 if (if_getcapenable(ifp) & IFCAP_NETMAP) { in re_start_locked() 3156 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in re_init_locked() 3158 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in re_init_locked() 3182 if (if_getmtu(ifp) > RL_TSO_MTU && (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_init_locked() 3264 if (if_getcapenable(ifp) & IFCAP_POLLING) in re_init_locked() 3426 (if_getcapenable(ifp) & IFCAP_TSO4) != 0) { in re_ioctl() [all …]
|
/freebsd/sys/dev/sis/ |
H A D | if_sis.c | 1137 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 D | if_nfe.c | 691 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/gve/ |
H A D | gve_main.c | 119 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in gve_up() 121 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in gve_up() 123 if (if_getcapenable(ifp) & IFCAP_TSO4) in gve_up() 125 if (if_getcapenable(ifp) & IFCAP_TSO6) in gve_up() 284 if (ifr->ifr_reqcap == if_getcapenable(ifp)) in gve_ioctl()
|
/freebsd/sys/dev/usb/net/ |
H A D | if_axge.c | 711 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 D | if_axe.c | 1307 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/netmap/ |
H A D | if_ptnet.c | 512 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in ptnet_detach() 772 ifr->ifr_reqcap, if_getcapenable(ifp)); in ptnet_ioctl() 773 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ptnet_ioctl() 856 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in ptnet_init_locked() 858 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in ptnet_init_locked() 860 if (if_getcapenable(ifp) & IFCAP_TSO4) in ptnet_init_locked() 862 if (if_getcapenable(ifp) & IFCAP_TSO6) in ptnet_init_locked() 1193 (!(if_getcapenable(ifp) & IFCAP_POLLING) in ptnet_nm_register() 1604 if (if_getcapenable(ifp) & IFCAP_POLLING) { in ptnet_transmit() 1832 if (if_getcapenable(if in ptnet_rx_eof() [all...] |
/freebsd/sys/dev/mana/ |
H A D | mana_en.c | 229 if_getcapenable(ifp); in mana_ioctl() 235 if ((IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl() 236 !(IFCAP_TXCSUM & if_getcapenable(ifp))) { in mana_ioctl() 249 if ((IFCAP_TSO6 & if_getcapenable(ifp)) && in mana_ioctl() 250 !(IFCAP_TXCSUM_IPV6 & if_getcapenable(ifp))) { in mana_ioctl() 269 if (!(IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl() 270 !(IFCAP_TXCSUM & if_getcapenable(ifp))) { in mana_ioctl() 281 if (!(IFCAP_TSO6 & if_getcapenable(ifp)) && in mana_ioctl() 282 !(IFCAP_TXCSUM_IPV6 & if_getcapenable(ifp))) { in mana_ioctl() 1638 if ((if_getcapenable(ndev) & IFCAP_RXCSUM || in mana_rx_mbuf() [all …]
|
/freebsd/sys/dev/ti/ |
H A D | if_ti.c | 1429 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 D | if_smc.c | 382 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 D | if_ntb.c | 448 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 D | if_fxp.c | 999 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 D | if_ale.c | 1488 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/age/ |
H A D | if_age.c | 1328 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 D | if_vr.c | 826 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 D | if_tsec.c | 289 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 D | if_vge.c | 521 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 D | if_stge.c | 661 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 D | if_mge.c | 1177 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 D | if_fwe.c | 253 if (if_getcapenable(ifp) & IFCAP_POLLING) in fwe_detach() 385 !(if_getcapenable(ifp) & IFCAP_POLLING)) { in fwe_ioctl() 395 if_getcapenable(ifp) & IFCAP_POLLING) { in fwe_ioctl()
|
/freebsd/sys/dev/xl/ |
H A D | if_xl.c | 1552 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 …]
|
/freebsd/sys/dev/ste/ |
H A D | if_ste.c | 515 if (if_getcapenable(ifp) & IFCAP_POLLING) { in ste_intr() 610 if (if_getcapenable(ifp) & IFCAP_POLLING) { in ste_rxeof() 1065 if (if_getcapenable(ifp) & IFCAP_POLLING) in ste_detach() 1592 if (if_getcapenable(ifp) & IFCAP_POLLING) in ste_init_locked() 1770 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ste_ioctl() 1775 if ((IFCAP_POLLING & if_getcapenable(ifp)) != 0) { in ste_ioctl() 2101 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol() 2105 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol()
|