Home
last modified time | relevance | path

Searched refs:if_getcapenable (Results 1 – 25 of 110) 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.c1459 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nge_rxeof()
1566 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nge_rxeof()
1821 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in nge_intr()
2146 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in nge_init_locked()
2206 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in nge_init_locked()
2326 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nge_ioctl()
2349 if ((IFCAP_TXCSUM & if_getcapenable(ifp)) != 0) in nge_ioctl()
2375 if ((if_getcapenable(ifp) & in nge_ioctl()
2390 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) == 0) in nge_ioctl()
2531 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in nge_wol()
[all …]
/freebsd/sys/dev/rl/
H A Dif_rl.c876 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_detach()
1143 if (if_getcapenable(ifp) & IFCAP_POLLING) { in rl_rxeof()
1497 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_intr()
1745 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_init_locked()
1843 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in rl_ioctl()
1846 !(if_getcapenable(ifp) & IFCAP_POLLING)) { in rl_ioctl()
1859 if_getcapenable(ifp) & IFCAP_POLLING) { in rl_ioctl()
2065 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in rl_setwol()
2071 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in rl_setwol()
2082 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in rl_setwol()
[all …]
/freebsd/sys/dev/re/
H A Dif_re.c1785 if (if_getcapenable(ifp) & IFCAP_POLLING) in re_detach()
2344 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in re_rxeof()
2605 if (if_getcapenable(ifp) & IFCAP_POLLING) { in re_int_task()
2664 if (if_getcapenable(ifp) & IFCAP_POLLING) { in re_intr_msi()
2950 if (if_getcapenable(ifp) & IFCAP_NETMAP) { in re_start_locked()
3271 if (if_getcapenable(ifp) & IFCAP_POLLING) in re_init_locked()
3885 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in re_setwol()
3903 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in re_setwol()
3920 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in re_setwol()
3927 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0 && in re_setwol()
[all …]
/freebsd/sys/dev/gve/
H A Dgve_main.c118 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in gve_up()
120 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in gve_up()
122 if (if_getcapenable(ifp) & IFCAP_TSO4) in gve_up()
124 if (if_getcapenable(ifp) & IFCAP_TSO6) in gve_up()
263 if (ifr->ifr_reqcap == if_getcapenable(ifp)) in gve_ioctl()
/freebsd/sys/dev/sis/
H A Dif_sis.c1142 if (if_getcapenable(ifp) & IFCAP_POLLING) in sis_detach()
1502 if (if_getcapenable(ifp) & IFCAP_POLLING) { in sis_rxeof()
1703 if (if_getcapenable(ifp) & IFCAP_POLLING) { in sis_intr()
2061 if (if_getcapenable(ifp) & IFCAP_POLLING) in sis_initl()
2158 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in sis_ioctl()
2325 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) in sis_wol()
2335 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in sis_wol()
2337 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in sis_wol()
2339 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in sis_wol()
2352 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in sis_wol()
[all …]
/freebsd/sys/dev/mana/
H A Dmana_en.c225 if_getcapenable(ifp); in mana_ioctl()
231 if ((IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl()
232 !(IFCAP_TXCSUM & if_getcapenable(ifp))) { in mana_ioctl()
245 if ((IFCAP_TSO6 & if_getcapenable(ifp)) && in mana_ioctl()
265 if (!(IFCAP_TSO4 & if_getcapenable(ifp)) && in mana_ioctl()
266 !(IFCAP_TXCSUM & if_getcapenable(ifp))) { in mana_ioctl()
277 if (!(IFCAP_TSO6 & if_getcapenable(ifp)) && in mana_ioctl()
1650 if ((if_getcapenable(ndev) & IFCAP_RXCSUM || in mana_rx_mbuf()
2380 if (if_getcapenable(ndev) & IFCAP_LRO) { in mana_create_rxq()
2874 if (if_getcapenable(ndev) & IFCAP_TXCSUM) in mana_probe_port()
[all …]
/freebsd/sys/dev/nfe/
H A Dif_nfe.c1751 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nfe_ioctl()
1778 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in nfe_ioctl()
1791 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl()
1813 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) == 0) { in nfe_ioctl()
1870 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task()
2154 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_rxeof()
2269 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_jrxeof()
2734 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in nfe_init_locked()
2821 if (if_getcapenable(ifp) & IFCAP_POLLING) in nfe_init_locked()
3327 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in nfe_set_wol()
[all …]
/freebsd/sys/dev/usb/net/
H A Dif_axge.c712 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0 && in axge_bulk_write_callback()
934 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in axge_ioctl()
938 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axge_ioctl()
1063 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in axge_rxeof()
1093 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axge_csum_cfg()
1098 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in axge_csum_cfg()
H A Dif_axe.c1308 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axe_csum_cfg()
1314 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in axe_csum_cfg()
1354 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in axe_init()
1388 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in axe_init()
1474 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in axe_ioctl()
1478 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in axe_ioctl()
/freebsd/sys/dev/netmap/
H A Dif_ptnet.c518 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in ptnet_detach()
778 ifr->ifr_reqcap, if_getcapenable(ifp)); in ptnet_ioctl()
779 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ptnet_ioctl()
862 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in ptnet_init_locked()
864 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in ptnet_init_locked()
866 if (if_getcapenable(ifp) & IFCAP_TSO4) in ptnet_init_locked()
868 if (if_getcapenable(ifp) & IFCAP_TSO6) in ptnet_init_locked()
1199 (!(if_getcapenable(ifp) & IFCAP_POLLING) in ptnet_nm_register()
1610 if (if_getcapenable(ifp) & IFCAP_POLLING) { in ptnet_transmit()
1838 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in ptnet_rx_eof()
/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()
2229 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in ti_gibinit()
2246 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in ti_gibinit()
2264 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in ti_gibinit()
2300 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in ti_gibinit()
2687 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_discard_std()
2704 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_discard_mini()
[all …]
/freebsd/sys/dev/smc/
H A Dif_smc.c386 if_setcapabilities(ifp, if_getcapenable(ifp) ); in smc_attach()
578 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_start_locked()
665 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_tx()
790 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_rx()
964 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_intr()
1212 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in smc_enable()
/freebsd/sys/dev/ntb/if_ntb/
H A Dif_ntb.c452 if (if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6)) { in ntb_net_rx_handler()
456 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in ntb_net_rx_handler()
462 if (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6) { in ntb_net_rx_handler()
/freebsd/sys/dev/fxp/
H A Dif_fxp.c1007 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in fxp_detach()
1073 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in fxp_suspend()
1722 if (if_getcapenable(ifp) & IFCAP_POLLING) { in fxp_intr()
1968 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in fxp_intr_body()
1986 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in fxp_intr_body()
2378 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) ? 1 : 0; in fxp_init_body()
2559 if (if_getcapenable(ifp) & IFCAP_POLLING ) in fxp_init_body()
2881 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in fxp_ioctl()
2907 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in fxp_ioctl()
2921 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in fxp_ioctl()
[all …]
/freebsd/sys/dev/ale/
H A Dif_ale.c1507 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in ale_setwol()
1513 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ale_setwol()
1519 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in ale_setwol()
1521 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in ale_setwol()
1525 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in ale_setwol()
1539 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in ale_setwol()
2015 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ale_ioctl()
2019 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in ale_ioctl()
2030 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in ale_ioctl()
2536 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in ale_rxeof()
[all …]
/freebsd/sys/dev/age/
H A Dif_age.c1346 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in age_setwol()
1419 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in age_setwol()
1425 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in age_setwol()
1427 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in age_setwol()
1435 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in age_setwol()
1440 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in age_setwol()
1868 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in age_ioctl()
1872 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in age_ioctl()
1882 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in age_ioctl()
1889 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in age_ioctl()
[all …]
/freebsd/sys/dev/vr/
H A Dif_vr.c832 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in vr_detach()
1311 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vr_rxeof()
1391 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in vr_rxeof()
1706 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in vr_int_task()
2153 if (if_getcapenable(ifp) & IFCAP_POLLING) in vr_init_locked()
2261 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in vr_ioctl()
2286 if ((IFCAP_TXCSUM & if_getcapenable(ifp)) != 0) in vr_ioctl()
2559 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in vr_setwol()
2561 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vr_setwol()
2569 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in vr_setwol()
[all …]
/freebsd/sys/dev/tsec/
H A Dif_tsec.c295 if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) in tsec_detach()
458 if (if_getcapenable(ifp) & IFCAP_POLLING ) in tsec_init_locked()
973 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in tsec_ioctl()
1415 if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) { in tsec_receive_intr()
1496 if (if_getcapenable(sc->tsec_ifp) & IFCAP_POLLING) { in tsec_transmit_intr()
1825 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in tsec_offload_setup()
1836 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in tsec_offload_setup()
/freebsd/sys/dev/vge/
H A Dif_vge.c1174 if (if_getcapenable(ifp) & IFCAP_POLLING) in vge_detach()
1555 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in vge_rxeof()
1765 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vge_intr()
2134 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vge_init_locked()
2305 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in vge_ioctl()
2335 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in vge_ioctl()
2868 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in vge_setwol()
2871 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in vge_setwol()
2873 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vge_setwol()
2877 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in vge_setwol()
[all …]
/freebsd/sys/dev/stge/
H A Dif_stge.c667 if (ifp && if_getcapenable(ifp) & IFCAP_POLLING) in stge_detach()
993 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in stge_setwol()
1306 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in stge_ioctl()
1331 if ((IFCAP_HWCSUM & if_getcapenable(ifp)) != 0 && in stge_ioctl()
1464 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in stge_intr()
1657 if (if_getcapenable(ifp) & IFCAP_POLLING) { in stge_rxeof()
1724 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in stge_rxeof()
1752 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in stge_rxeof()
2092 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in stge_init_locked()
2191 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in stge_vlan_setup()
/freebsd/sys/dev/firewire/
H A Dif_fwe.c257 if (if_getcapenable(ifp) & IFCAP_POLLING) in fwe_detach()
389 !(if_getcapenable(ifp) & IFCAP_POLLING)) { in fwe_ioctl()
399 if_getcapenable(ifp) & IFCAP_POLLING) { in fwe_ioctl()
/freebsd/sys/dev/xl/
H A Dif_xl.c1559 if (ifp && if_getcapenable(ifp) & IFCAP_POLLING) in xl_detach()
1836 if (if_getcapenable(ifp) & IFCAP_POLLING) { in xl_rxeof()
1911 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in xl_rxeof()
2152 if (if_getcapenable(ifp) & IFCAP_POLLING) { in xl_intr()
2841 if (if_getcapenable(ifp) & IFCAP_POLLING) in xl_init_locked()
3036 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in xl_ioctl()
3041 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) { in xl_ioctl()
3069 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in xl_ioctl()
3276 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol()
3280 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol()
[all …]
/freebsd/sys/dev/ste/
H A Dif_ste.c515 if (if_getcapenable(ifp) & IFCAP_POLLING) { in ste_intr()
610 if (if_getcapenable(ifp) & IFCAP_POLLING) { in ste_rxeof()
1070 if (if_getcapenable(ifp) & IFCAP_POLLING) in ste_detach()
1599 if (if_getcapenable(ifp) & IFCAP_POLLING) in ste_init_locked()
1777 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ste_ioctl()
1782 if ((IFCAP_POLLING & if_getcapenable(ifp)) != 0) { in ste_ioctl()
2122 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol()
2128 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol()
/freebsd/sys/dev/mge/
H A Dif_mge.c1200 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in mge_init_locked()
1226 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_rxtx()
1283 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_rx()
1405 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_tx()
1517 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in mge_ioctl()
1521 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in mge_ioctl()
1625 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in mge_shutdown()
1895 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in mge_offload_process_frame()

12345