Home
last modified time | relevance | path

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

12345

/freebsd-14.2/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-14.2/sys/dev/nge/
H A Dif_nge.c1454 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nge_rxeof()
1561 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nge_rxeof()
1816 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in nge_intr()
2141 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in nge_init_locked()
2201 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in nge_init_locked()
2321 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nge_ioctl()
2344 if ((IFCAP_TXCSUM & if_getcapenable(ifp)) != 0) in nge_ioctl()
2370 if ((if_getcapenable(ifp) & in nge_ioctl()
2385 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) == 0) in nge_ioctl()
2526 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in nge_wol()
[all …]
/freebsd-14.2/sys/dev/rl/
H A Dif_rl.c871 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_detach()
1138 if (if_getcapenable(ifp) & IFCAP_POLLING) { in rl_rxeof()
1492 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_intr()
1740 if (if_getcapenable(ifp) & IFCAP_POLLING) in rl_init_locked()
1838 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in rl_ioctl()
1841 !(if_getcapenable(ifp) & IFCAP_POLLING)) { in rl_ioctl()
1854 if_getcapenable(ifp) & IFCAP_POLLING) { in rl_ioctl()
2060 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in rl_setwol()
2066 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in rl_setwol()
2077 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in rl_setwol()
[all …]
/freebsd-14.2/sys/dev/re/
H A Dif_re.c1780 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()
3266 if (if_getcapenable(ifp) & IFCAP_POLLING) in re_init_locked()
3880 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in re_setwol()
3898 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in re_setwol()
3915 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in re_setwol()
3922 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0 && in re_setwol()
[all …]
/freebsd-14.2/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-14.2/sys/dev/sis/
H A Dif_sis.c1137 if (if_getcapenable(ifp) & IFCAP_POLLING) in sis_detach()
1497 if (if_getcapenable(ifp) & IFCAP_POLLING) { in sis_rxeof()
1698 if (if_getcapenable(ifp) & IFCAP_POLLING) { in sis_intr()
2056 if (if_getcapenable(ifp) & IFCAP_POLLING) in sis_initl()
2153 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in sis_ioctl()
2320 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) in sis_wol()
2330 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in sis_wol()
2332 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in sis_wol()
2334 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in sis_wol()
2347 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in sis_wol()
[all …]
/freebsd-14.2/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()
1639 if ((if_getcapenable(ndev) & IFCAP_RXCSUM || in mana_rx_mbuf()
2349 if (if_getcapenable(ndev) & IFCAP_LRO) { in mana_create_rxq()
2832 if (if_getcapenable(ndev) & IFCAP_TXCSUM) in mana_probe_port()
[all …]
/freebsd-14.2/sys/dev/nfe/
H A Dif_nfe.c1746 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nfe_ioctl()
1773 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in nfe_ioctl()
1786 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl()
1808 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) == 0) { in nfe_ioctl()
1865 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task()
2149 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_rxeof()
2264 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_jrxeof()
2729 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in nfe_init_locked()
2816 if (if_getcapenable(ifp) & IFCAP_POLLING) in nfe_init_locked()
3322 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in nfe_set_wol()
[all …]
/freebsd-14.2/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-14.2/sys/dev/netmap/
H A Dif_ptnet.c512 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(ifp) & IFCAP_VLAN_HWTAGGING) { in ptnet_rx_eof()
/freebsd-14.2/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()
2682 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_discard_std()
2699 if (if_getcapenable(sc->ti_ifp) & IFCAP_RXCSUM) in ti_discard_mini()
[all …]
/freebsd-14.2/sys/dev/smc/
H A Dif_smc.c382 if_setcapabilities(ifp, if_getcapenable(ifp) ); in smc_attach()
574 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_start_locked()
661 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_tx()
786 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_rx()
960 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in smc_task_intr()
1208 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in smc_enable()
/freebsd-14.2/sys/dev/ntb/if_ntb/
H A Dif_ntb.c449 if (if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6)) { in ntb_net_rx_handler()
453 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in ntb_net_rx_handler()
459 if (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6) { in ntb_net_rx_handler()
/freebsd-14.2/sys/dev/fxp/
H A Dif_fxp.c1002 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in fxp_detach()
1068 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in fxp_suspend()
1717 if (if_getcapenable(ifp) & IFCAP_POLLING) { in fxp_intr()
1963 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in fxp_intr_body()
1981 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in fxp_intr_body()
2373 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) ? 1 : 0; in fxp_init_body()
2554 if (if_getcapenable(ifp) & IFCAP_POLLING ) in fxp_init_body()
2876 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in fxp_ioctl()
2902 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in fxp_ioctl()
2916 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in fxp_ioctl()
[all …]
/freebsd-14.2/sys/dev/ale/
H A Dif_ale.c1496 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in ale_setwol()
1502 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ale_setwol()
1508 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in ale_setwol()
1510 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in ale_setwol()
1514 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in ale_setwol()
1528 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in ale_setwol()
2004 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ale_ioctl()
2008 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in ale_ioctl()
2019 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in ale_ioctl()
2525 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in ale_rxeof()
[all …]
/freebsd-14.2/sys/dev/age/
H A Dif_age.c1335 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in age_setwol()
1408 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in age_setwol()
1414 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in age_setwol()
1416 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in age_setwol()
1424 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) in age_setwol()
1429 if ((if_getcapenable(ifp) & IFCAP_WOL) == 0) { in age_setwol()
1857 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in age_ioctl()
1861 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in age_ioctl()
1871 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in age_ioctl()
1878 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in age_ioctl()
[all …]
/freebsd-14.2/sys/dev/vr/
H A Dif_vr.c827 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in vr_detach()
1306 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vr_rxeof()
1386 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in vr_rxeof()
1701 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in vr_int_task()
2148 if (if_getcapenable(ifp) & IFCAP_POLLING) in vr_init_locked()
2256 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in vr_ioctl()
2281 if ((IFCAP_TXCSUM & if_getcapenable(ifp)) != 0) in vr_ioctl()
2554 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in vr_setwol()
2556 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vr_setwol()
2564 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in vr_setwol()
[all …]
/freebsd-14.2/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-14.2/sys/dev/vge/
H A Dif_vge.c1168 if (if_getcapenable(ifp) & IFCAP_POLLING) in vge_detach()
1549 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in vge_rxeof()
1759 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vge_intr()
2128 if (if_getcapenable(ifp) & IFCAP_POLLING) { in vge_init_locked()
2299 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in vge_ioctl()
2329 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in vge_ioctl()
2862 if ((if_getcapenable(ifp) & IFCAP_WOL) != 0) { in vge_setwol()
2865 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) != 0) in vge_setwol()
2867 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in vge_setwol()
2871 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) != 0) in vge_setwol()
[all …]
/freebsd-14.2/sys/dev/stge/
H A Dif_stge.c661 if (ifp && if_getcapenable(ifp) & IFCAP_POLLING) in stge_detach()
987 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in stge_setwol()
1300 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in stge_ioctl()
1325 if ((IFCAP_HWCSUM & if_getcapenable(ifp)) != 0 && in stge_ioctl()
1458 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in stge_intr()
1651 if (if_getcapenable(ifp) & IFCAP_POLLING) { in stge_rxeof()
1718 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in stge_rxeof()
1746 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in stge_rxeof()
2086 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) in stge_init_locked()
2185 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in stge_vlan_setup()
/freebsd-14.2/sys/dev/mge/
H A Dif_mge.c1195 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in mge_init_locked()
1221 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_rxtx()
1278 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_rx()
1400 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) { in mge_intr_tx()
1512 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in mge_ioctl()
1516 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in mge_ioctl()
1620 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in mge_shutdown()
1890 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in mge_offload_process_frame()
/freebsd-14.2/sys/dev/firewire/
H A Dif_fwe.c253 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-14.2/sys/dev/xl/
H A Dif_xl.c1554 if (ifp && if_getcapenable(ifp) & IFCAP_POLLING) in xl_detach()
1831 if (if_getcapenable(ifp) & IFCAP_POLLING) { in xl_rxeof()
1906 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in xl_rxeof()
2147 if (if_getcapenable(ifp) & IFCAP_POLLING) { in xl_intr()
2836 if (if_getcapenable(ifp) & IFCAP_POLLING) in xl_init_locked()
3031 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in xl_ioctl()
3036 if ((if_getcapenable(ifp) & IFCAP_POLLING) != 0) { in xl_ioctl()
3064 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in xl_ioctl()
3271 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol()
3275 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_setwol()
[all …]
/freebsd-14.2/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()
1065 if (if_getcapenable(ifp) & IFCAP_POLLING) in ste_detach()
1594 if (if_getcapenable(ifp) & IFCAP_POLLING) in ste_init_locked()
1772 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in ste_ioctl()
1777 if ((IFCAP_POLLING & if_getcapenable(ifp)) != 0) { in ste_ioctl()
2117 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol()
2123 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in ste_setwol()

12345