Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/dev/liquidio/
H A Dlio_ioctl.c150 if_getcapenable(ifp); in lio_ioctl()
159 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in lio_ioctl()
170 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in lio_ioctl()
220 if (if_getcapenable(ifp) & IFCAP_TSO4) in lio_set_tso4()
239 if (if_getcapenable(ifp) & IFCAP_TSO6) in lio_set_tso6()
263 (if_getcapenable(ifp) & IFCAP_LRO)) { in lio_set_rx_csum()
289 if ((!(if_getcapenable(ifp) & IFCAP_LRO)) && in lio_set_lro()
290 (if_getcapenable(ifp) & IFCAP_RXCSUM) && in lio_set_lro()
291 (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6)) { in lio_set_lro()
298 } else if (if_getcapenable(ifp) & IFCAP_LRO) { in lio_set_lro()
H A Dlio_core.c343 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) && in lio_push_packet()
370 (if_getcapenable(ifp) & IFCAP_LRO) && in lio_push_packet()
H A Dlio_main.c1420 (if_getcapenable(ifp) & IFCAP_LRO) && in lio_setup_nic_devices()
1421 (if_getcapenable(ifp) & IFCAP_RXCSUM) && in lio_setup_nic_devices()
1422 (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6)) in lio_setup_nic_devices()
1426 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER)) in lio_setup_nic_devices()
/freebsd-13.1/sys/dev/nfe/
H A Dif_nfe.c1759 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nfe_ioctl()
1786 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in nfe_ioctl()
1799 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl()
1821 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) == 0) { in nfe_ioctl()
1878 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task()
2162 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_rxeof()
2277 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_jrxeof()
2742 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in nfe_init_locked()
2829 if (if_getcapenable(ifp) & IFCAP_POLLING) in nfe_init_locked()
3335 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in nfe_set_wol()
[all …]
/freebsd-13.1/sys/dev/ntb/if_ntb/
H A Dif_ntb.c455 if (if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6)) { in ntb_net_rx_handler()
459 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in ntb_net_rx_handler()
465 if (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6) { in ntb_net_rx_handler()
/freebsd-13.1/sys/dev/fxp/
H A Dif_fxp.c1012 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in fxp_detach()
1078 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in fxp_suspend()
1729 if (if_getcapenable(ifp) & IFCAP_POLLING) { in fxp_intr()
1975 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in fxp_intr_body()
1993 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in fxp_intr_body()
2385 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) ? 1 : 0; in fxp_init_body()
2566 if (if_getcapenable(ifp) & IFCAP_POLLING ) in fxp_init_body()
2888 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in fxp_ioctl()
2914 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in fxp_ioctl()
2928 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in fxp_ioctl()
[all …]
/freebsd-13.1/sys/arm64/broadcom/genet/
H A Dif_genet.c521 if ((if_getcapenable(sc->ifp) & IFCAP_RXCSUM) != 0) { in gen_enable_offload()
532 if ((if_getcapenable(sc->ifp) & (IFCAP_TXCSUM | IFCAP_TXCSUM_IPV6)) != in gen_enable_offload()
1031 if ((if_getcapenable(sc->ifp) & (IFCAP_TXCSUM | IFCAP_TXCSUM_IPV6)) != in gen_encap()
1300 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in gen_rxintr()
1522 enable = if_getcapenable(ifp); in gen_ioctl()
/freebsd-13.1/sys/dev/igc/
H A Dif_igc.c848 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in igc_if_init()
849 if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) in igc_if_init()
2050 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in igc_initialize_receive_unit()
2318 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0) in igc_enable_wakeup()
2321 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) == 0) in igc_enable_wakeup()
2324 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) == 0) in igc_enable_wakeup()
2347 if (!error && (if_getcapenable(ifp) & IFCAP_WOL)) in igc_enable_wakeup()
/freebsd-13.1/sys/dev/cadence/
H A Dif_cgem.c628 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in cgem_recv()
1093 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in cgem_config()
1109 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in cgem_config()
1279 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in cgem_ioctl()
1319 if ((if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_TXCSUM)) == in cgem_ioctl()
/freebsd-13.1/sys/dev/bge/
H A Dif_bge.c1624 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) in bge_setvlan()
3948 if (if_getcapenable(ifp) & IFCAP_POLLING) in bge_detach()
4334 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_rxeof()
4346 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING && in bge_rxeof()
4395 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in bge_rxeof()
4669 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_intr()
5476 if_getcapenable(ifp) & IFCAP_TXCSUM) { in bge_init_locked()
5570 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_init_locked()
5823 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in bge_ioctl()
5851 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in bge_ioctl()
[all …]
/freebsd-13.1/sys/dev/axgbe/
H A Dxgbe-dev.c296 int tso_enabled = (if_getcapenable(pdata->netdev) & IFCAP_TSO); in xgbe_config_tso_mode()
877 if ((if_getcapenable(pdata->netdev) & IFCAP_VLAN_HWFILTER)) { in xgbe_set_promiscuous_mode()
2061 if ((if_getcapenable(pdata->netdev) & IFCAP_RXCSUM)) in xgbe_config_checksum_offload()
2077 if ((if_getcapenable(pdata->netdev) & IFCAP_VLAN_HWFILTER)) { in xgbe_config_vlan_support()
2085 if ((if_getcapenable(pdata->netdev) & IFCAP_VLAN_HWTAGGING)) { in xgbe_config_vlan_support()
/freebsd-13.1/sys/arm/allwinner/
H A Dif_awg.c562 if ((if_getcapenable(sc->ifp) & IFCAP_POLLING) == 0) in awg_init_dma()
1148 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in awg_ioctl()
1174 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in awg_ioctl()
1235 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in awg_rxintr()
/freebsd-13.1/sys/dev/dwc/
H A Dif_dwc.c862 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in dwc_rxfinish_one()
1211 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in dwc_ioctl()
1220 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in dwc_ioctl()
/freebsd-13.1/sys/dev/e1000/
H A Dif_em.c3246 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in em_initialize_receive_unit()
3251 if_getcapenable(ifp) & IFCAP_HWCSUM_IPV6) in em_initialize_receive_unit()
3449 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) && in em_if_vlan_filter_capable()
3534 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING && in em_setup_vlan_hw_support()
3875 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0) in em_enable_wakeup()
3878 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) == 0) in em_enable_wakeup()
3881 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) == 0) in em_enable_wakeup()
3927 if (!error && (if_getcapenable(ifp) & IFCAP_WOL)) in em_enable_wakeup()
/freebsd-13.1/sys/net/
H A Dif_var.h708 int if_getcapenable(if_t ifp);
H A Diflib.c2481 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in iflib_init_locked()
2483 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in iflib_init_locked()
2485 if (if_getcapenable(ifp) & IFCAP_TSO4) in iflib_init_locked()
2487 if (if_getcapenable(ifp) & IFCAP_TSO6) in iflib_init_locked()
3005 lro_enabled = (if_getcapenable(ifp) & IFCAP_LRO); in iflib_rxeof()
3936 if ((if_getcapenable(ifp) & IFCAP_NETMAP) && in _task_fn_tx()
4401 oldmask = if_getcapenable(ifp); in iflib_if_ioctl()
/freebsd-13.1/sys/dev/iavf/
H A Diavf_txrx_iflib.c729 if ((if_getcapenable(vsi->ifp) & IFCAP_RXCSUM) != 0) in iavf_isc_rxd_pkt_get()
/freebsd-13.1/sys/dev/usb/net/
H A Dif_ure.c653 caps = if_getcapenable(ifp); in ure_bulk_read_callback()
767 caps = if_getcapenable(ifp); in ure_bulk_write_callback()
1117 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in ure_init()
/freebsd-13.1/sys/dev/ixl/
H A Dif_ixl.c1689 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) == 0) in ixl_if_vlan_register()
1721 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) == 0) in ixl_if_vlan_unregister()
H A Dixl_pf_iflib.c491 if (if_getcapenable(vsi->ifp) & IFCAP_VLAN_HWTAGGING) in ixl_initialize_vsi()
/freebsd-13.1/sys/dev/vnic/
H A Dnicvf_queues.c1317 if ((if_getcapenable(ifp) & IFCAP_LRO) != 0) { in nicvf_rcv_queue_config()
2011 if (__predict_true((if_getcapenable(nic->ifp) & IFCAP_RXCSUM) != 0)) { in nicvf_get_rcv_mbuf()
H A Dnicvf_main.c527 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in nicvf_if_ioctl()
/freebsd-13.1/sys/dev/bxe/
H A Dbxe.c3353 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in bxe_rxeof()
4589 mask = (ifr->ifr_reqcap ^ if_getcapenable(ifp)); in bxe_ioctl()
4598 (if_getcapenable(ifp) & IFCAP_LRO) ? "ON" : "OFF"); in bxe_ioctl()
4607 if (if_getcapenable(ifp) & IFCAP_TXCSUM) { in bxe_ioctl()
4624 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in bxe_ioctl()
4640 (if_getcapenable(ifp) & IFCAP_TSO4) ? "ON" : "OFF"); in bxe_ioctl()
4647 (if_getcapenable(ifp) & IFCAP_TSO6) ? "ON" : "OFF"); in bxe_ioctl()
7713 if (if_getcapenable(sc->ifp) & (IFCAP_TSO4 | IFCAP_TSO6)) { in bxe_drv_info_ether_stat()
10211 flags |= (if_getcapenable(sc->ifp) & IFCAP_LRO) ? FUNC_FLG_TPA : 0; in bxe_pf_init()
11275 if (if_getcapenable(sc->ifp) & IFCAP_LRO) { in bxe_get_q_flags()
[all …]
/freebsd-13.1/sys/dev/bnxt/
H A Dif_bnxt.c1604 if (if_getcapenable(ifp) & IFCAP_WOL_MAGIC) { in bnxt_wol_config()
/freebsd-13.1/sys/dev/ena/
H A Dena.c2379 int cap = if_getcapenable(ifp); in ena_update_hwassist()

12