| /freebsd-12.1/sys/dev/liquidio/ |
| H A 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()
|
| H A 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()
|
| H A 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.1/sys/dev/nfe/ |
| H A D | if_nfe.c | 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() 1846 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) == 0) { in nfe_ioctl() 1905 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task() 2194 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_rxeof() 2310 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_jrxeof() 2788 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in nfe_init_locked() 2875 if (if_getcapenable(ifp) & IFCAP_POLLING) in nfe_init_locked() 3394 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) in nfe_set_wol() [all …]
|
| /freebsd-12.1/sys/dev/fxp/ |
| H A 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() 2388 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 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() 2917 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in fxp_ioctl() 2931 if ((if_getcapenable(ifp) & IFCAP_TSO4) != 0) in fxp_ioctl() [all …]
|
| /freebsd-12.1/sys/dev/ntb/if_ntb/ |
| H A 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.1/sys/dev/cadence/ |
| H A 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.1/sys/dev/bge/ |
| H A D | if_bge.c | 1681 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) in bge_setvlan() 3980 if (if_getcapenable(ifp) & IFCAP_POLLING) in bge_detach() 4366 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_rxeof() 4378 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING && in bge_rxeof() 4427 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in bge_rxeof() 4701 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_intr() 5508 if_getcapenable(ifp) & IFCAP_TXCSUM) { in bge_init_locked() 5602 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_init_locked() 5855 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in bge_ioctl() 5883 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in bge_ioctl() [all …]
|
| /freebsd-12.1/sys/arm/allwinner/ |
| H A 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.1/sys/net/ |
| H A D | iflib.c | 2305 if (if_getcapenable(ctx->ifc_ifp) & IFCAP_NETMAP) in iflib_timer() 2368 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in iflib_init_locked() 2370 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in iflib_init_locked() 2372 if (if_getcapenable(ifp) & IFCAP_TSO4) in iflib_init_locked() 2374 if (if_getcapenable(ifp) & IFCAP_TSO6) in iflib_init_locked() 2398 if (if_getcapenable(ifp) & IFCAP_NETMAP) { in iflib_init_locked() 2806 lro_enabled = (if_getcapenable(ifp) & IFCAP_LRO); in iflib_rxeof() 3721 if (if_getcapenable(ifp) & IFCAP_NETMAP) { in _task_fn_tx() 4185 oldmask = if_getcapenable(ifp); in iflib_if_ioctl() 4272 if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) in iflib_vlan_register() [all …]
|
| H A D | if_var.h | 680 int if_getcapenable(if_t ifp);
|
| H A D | if.c | 4258 if_getcapenable(if_t ifp) in if_getcapenable() function
|
| /freebsd-12.1/sys/dev/e1000/ |
| H A D | if_em.c | 1314 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in em_if_init() 1315 if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) in em_if_init() 3178 if (if_getcapenable(ifp) & IFCAP_RXCSUM && in em_initialize_receive_unit() 3720 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) == 0) in em_enable_wakeup() 3723 if ((if_getcapenable(ifp) & IFCAP_WOL_UCAST) == 0) in em_enable_wakeup() 3726 if ((if_getcapenable(ifp) & IFCAP_WOL_MCAST) == 0) in em_enable_wakeup() 3772 if (!error && (if_getcapenable(ifp) & IFCAP_WOL)) in em_enable_wakeup()
|
| /freebsd-12.1/sys/dev/ixl/ |
| H A D | ixl_txrx.c | 722 if ((if_getcapenable(vsi->ifp) & IFCAP_RXCSUM) != 0) in ixl_isc_rxd_pkt_get()
|
| H A D | ixl_pf_main.c | 1217 if (if_getcapenable(vsi->ifp) & IFCAP_VLAN_HWTAGGING) in ixl_initialize_vsi()
|
| /freebsd-12.1/sys/dev/vnic/ |
| H A 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()
|
| H A D | nicvf_main.c | 529 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in nicvf_if_ioctl()
|
| /freebsd-12.1/sys/dev/bxe/ |
| H A 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() 4618 if (if_getcapenable(ifp) & IFCAP_TXCSUM) { 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() 7753 if (if_getcapenable(sc->ifp) & (IFCAP_TSO4 | IFCAP_TSO6)) { in bxe_drv_info_ether_stat() 10251 flags |= (if_getcapenable(sc->ifp) & IFCAP_LRO) ? FUNC_FLG_TPA : 0; in bxe_pf_init() 11315 if (if_getcapenable(sc->ifp) & IFCAP_LRO) { in bxe_get_q_flags() [all …]
|
| /freebsd-12.1/sys/dev/axgbe/ |
| H A D | xgbe-dev.c | 1548 if ((if_getcapenable(pdata->netdev) & IFCAP_RXCSUM) != 0) in xgbe_config_checksum_offload()
|
| /freebsd-12.1/sys/dev/ena/ |
| H A D | ena.c | 2507 int cap = if_getcapenable(ifp); in ena_update_hwassist()
|