| /freebsd-12-stable/sys/dev/liquidio/ |
| D | lio_ioctl.c | 150 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()
|
| D | lio_core.c | 343 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) && in lio_push_packet() 370 (if_getcapenable(ifp) & IFCAP_LRO) && in lio_push_packet()
|
| D | lio_main.c | 1420 (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-12-stable/sys/dev/nfe/ |
| D | if_nfe.c | 705 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in nfe_detach() 1784 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nfe_ioctl() 1811 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in nfe_ioctl() 1824 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl() 1835 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) == 0) in nfe_ioctl() 1846 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) == 0) { in nfe_ioctl() 1847 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in nfe_ioctl() 1905 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task() 2186 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in nfe_rxeof() 2194 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_rxeof() [all …]
|
| /freebsd-12-stable/sys/dev/fxp/ |
| D | if_fxp.c | 1015 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in fxp_detach() 1081 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in fxp_suspend() 1732 if (if_getcapenable(ifp) & IFCAP_POLLING) { in fxp_intr() 1978 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in fxp_intr_body() 1996 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in fxp_intr_body() 1998 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0 && in fxp_intr_body() 2388 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) ? 1 : 0; in fxp_init_body() 2418 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) ? 1 : 0; in fxp_init_body() 2569 if (if_getcapenable(ifp) & IFCAP_POLLING ) in fxp_init_body() 2891 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in fxp_ioctl() [all …]
|
| /freebsd-12-stable/sys/dev/ntb/if_ntb/ |
| D | if_ntb.c | 453 if (if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6)) { in ntb_net_rx_handler() 457 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in ntb_net_rx_handler() 463 if (if_getcapenable(ifp) & IFCAP_RXCSUM_IPV6) { in ntb_net_rx_handler()
|
| /freebsd-12-stable/sys/dev/cadence/ |
| D | if_cgem.c | 594 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in cgem_recv() 1039 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in cgem_config() 1052 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in cgem_config() 1216 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in cgem_ioctl() 1256 if ((if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_TXCSUM)) == in cgem_ioctl()
|
| /freebsd-12-stable/sys/dev/bge/ |
| D | if_bge.c | 1681 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) in bge_setvlan() 4005 if (if_getcapenable(ifp) & IFCAP_POLLING) in bge_detach() 4391 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_rxeof() 4403 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING && in bge_rxeof() 4452 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in bge_rxeof() 4726 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_intr() 4850 if (!(if_getcapenable(sc->bge_ifp) & IFCAP_POLLING)) in bge_tick() 5511 (if_getcapenable(ifp) & IFCAP_VLAN_MTU ? ETHER_VLAN_ENCAP_LEN : 0)); in bge_init_locked() 5533 if_getcapenable(ifp) & IFCAP_TXCSUM) { in bge_init_locked() 5627 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_init_locked() [all …]
|
| /freebsd-12-stable/sys/dev/igc/ |
| D | if_igc.c | 2036 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in igc_initialize_receive_unit() 2136 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING && in igc_setup_vlan_hw_support() 2267 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0) in igc_enable_wakeup() 2270 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) == 0) in igc_enable_wakeup() 2273 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) == 0) in igc_enable_wakeup() 2296 if (!error && (if_getcapenable(ifp) & IFCAP_WOL)) in igc_enable_wakeup()
|
| /freebsd-12-stable/sys/arm/allwinner/ |
| D | if_awg.c | 778 if ((if_getcapenable(ifp) & IFCAP_POLLING) == 0) in awg_init_locked() 940 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0 && in awg_rxintr() 1128 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in awg_ioctl() 1154 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in awg_ioctl()
|
| /freebsd-12-stable/sys/dev/e1000/ |
| D | if_em.c | 3366 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in em_initialize_receive_unit() 3371 if_getcapenable(ifp) & IFCAP_HWCSUM_IPV6) in em_initialize_receive_unit() 3569 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) && in em_if_vlan_filter_capable() 3654 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING && in em_setup_vlan_hw_support() 3997 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0) in em_enable_wakeup() 4000 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) == 0) in em_enable_wakeup() 4003 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) == 0) in em_enable_wakeup() 4049 if (!error && (if_getcapenable(ifp) & IFCAP_WOL)) in em_enable_wakeup()
|
| /freebsd-12-stable/sys/dev/iavf/ |
| D | iavf_txrx_iflib.c | 729 if ((if_getcapenable(vsi->ifp) & IFCAP_RXCSUM) != 0) in iavf_isc_rxd_pkt_get()
|
| /freebsd-12-stable/sys/net/ |
| D | if_var.h | 680 int if_getcapenable(if_t ifp);
|
| D | iflib.c | 2560 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in iflib_init_locked() 2562 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in iflib_init_locked() 2564 if (if_getcapenable(ifp) & IFCAP_TSO4) in iflib_init_locked() 2566 if (if_getcapenable(ifp) & IFCAP_TSO6) in iflib_init_locked() 3021 lro_enabled = (if_getcapenable(ifp) & IFCAP_LRO); in iflib_rxeof() 3955 if ((if_getcapenable(ifp) & IFCAP_NETMAP) && in _task_fn_tx() 4421 oldmask = if_getcapenable(ifp); in iflib_if_ioctl()
|
| D | if.c | 4269 if_getcapenable(if_t ifp) in if_getcapenable() function
|
| /freebsd-12-stable/sys/dev/ixl/ |
| D | if_ixl.c | 1690 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) == 0) in ixl_if_vlan_register() 1722 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) == 0) in ixl_if_vlan_unregister()
|
| D | ixl_pf_iflib.c | 491 if (if_getcapenable(vsi->ifp) & IFCAP_VLAN_HWTAGGING) in ixl_initialize_vsi()
|
| D | ixl_pf_main.c | 1138 if ((if_getcapenable(vsi->ifp) & IFCAP_VLAN_HWFILTER) == 0) in ixl_reconfigure_filters()
|
| /freebsd-12-stable/sys/dev/vnic/ |
| D | nicvf_queues.c | 1318 if ((if_getcapenable(ifp) & IFCAP_LRO) != 0) { in nicvf_rcv_queue_config() 2013 if (__predict_true((if_getcapenable(nic->ifp) & IFCAP_RXCSUM) != 0)) { in nicvf_get_rcv_mbuf()
|
| D | nicvf_main.c | 529 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in nicvf_if_ioctl()
|
| /freebsd-12-stable/sys/dev/bxe/ |
| D | bxe.c | 3362 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in bxe_rxeof() 4600 mask = (ifr->ifr_reqcap ^ if_getcapenable(ifp)); in bxe_ioctl() 4609 (if_getcapenable(ifp) & IFCAP_LRO) ? "ON" : "OFF"); in bxe_ioctl() 4617 (if_getcapenable(ifp) & IFCAP_TXCSUM) ? "ON" : "OFF"); in bxe_ioctl() 4618 if (if_getcapenable(ifp) & IFCAP_TXCSUM) { in bxe_ioctl() 4634 (if_getcapenable(ifp) & IFCAP_RXCSUM) ? "ON" : "OFF"); in bxe_ioctl() 4635 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in bxe_ioctl() 4651 (if_getcapenable(ifp) & IFCAP_TSO4) ? "ON" : "OFF"); in bxe_ioctl() 4658 (if_getcapenable(ifp) & IFCAP_TSO6) ? "ON" : "OFF"); in bxe_ioctl() 4666 (if_getcapenable(ifp) & IFCAP_VLAN_HWTSO) ? "ON" : "OFF"); in bxe_ioctl() [all …]
|
| /freebsd-12-stable/sys/dev/dwc/ |
| D | if_dwc.c | 1118 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in dwc_ioctl()
|
| /freebsd-12-stable/sys/dev/axgbe/ |
| D | xgbe-dev.c | 1548 if ((if_getcapenable(pdata->netdev) & IFCAP_RXCSUM) != 0) in xgbe_config_checksum_offload()
|
| /freebsd-12-stable/sys/dev/bnxt/ |
| D | if_bnxt.c | 1595 if (if_getcapenable(ifp) & IFCAP_WOL_MAGIC) { in bnxt_wol_config()
|
| /freebsd-12-stable/sys/dev/ena/ |
| D | ena.c | 2353 int cap = if_getcapenable(ifp); in ena_update_hwassist()
|