Home
last modified time | relevance | path

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

/NextBSD/sys/dev/nfe/
HDif_nfe.c702 if (ifp != NULL && if_getcapenable(ifp) & IFCAP_POLLING) in nfe_detach()
1781 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in nfe_ioctl()
1808 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in nfe_ioctl()
1821 if ((IFCAP_TSO4 & if_getcapenable(ifp)) != 0) in nfe_ioctl()
1832 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) == 0) in nfe_ioctl()
1843 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) == 0) { in nfe_ioctl()
1844 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) in nfe_ioctl()
1902 if (if_getcapenable(ifp) & IFCAP_POLLING) { in nfe_int_task()
2183 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in nfe_rxeof()
2191 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in nfe_rxeof()
[all …]
/NextBSD/sys/dev/fxp/
HDif_fxp.c1010 if (if_getcapenable(sc->ifp) & IFCAP_POLLING) in fxp_detach()
1076 if ((if_getcapenable(ifp) & IFCAP_WOL_MAGIC) != 0) { in fxp_suspend()
1727 if (if_getcapenable(ifp) & IFCAP_POLLING) { in fxp_intr()
1973 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in fxp_intr_body()
1991 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in fxp_intr_body()
1993 if ((if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0 && in fxp_intr_body()
2386 (if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) ? 1 : 0; in fxp_init_body()
2416 (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) != 0) ? 1 : 0; in fxp_init_body()
2567 if (if_getcapenable(ifp) & IFCAP_POLLING ) in fxp_init_body()
2889 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in fxp_ioctl()
[all …]
/NextBSD/sys/dev/e1000/
HDif_lem.c794 if (if_getcapenable(ifp) & IFCAP_POLLING) in lem_detach()
1094 if (!(if_getcapenable(ifp) & IFCAP_POLLING)) in lem_ioctl()
1121 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in lem_ioctl()
1252 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in lem_init_locked()
1277 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in lem_init_locked()
1278 if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) in lem_init_locked()
1302 if (if_getcapenable(ifp) & IFCAP_POLLING) in lem_init_locked()
1378 if ((if_getcapenable(ifp) & IFCAP_POLLING) || in lem_intr()
3470 (if_getcapenable(ifp) & IFCAP_RXCSUM)) { in lem_initialize_receive_unit()
3487 if (if_getcapenable(ifp) & IFCAP_NETMAP) { in lem_initialize_receive_unit()
[all …]
HDif_em.c829 if (if_getcapenable(ifp) & IFCAP_POLLING) in em_detach()
1229 if (!(if_getcapenable(ifp) & IFCAP_POLLING)) in em_ioctl()
1257 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in em_ioctl()
1372 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in em_init_locked()
1374 if (if_getcapenable(ifp) & IFCAP_TSO4) in em_init_locked()
1407 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) { in em_init_locked()
1408 if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) in em_init_locked()
1443 if (if_getcapenable(ifp) & IFCAP_POLLING) in em_init_locked()
4451 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in em_initialize_receive_unit()
4531 if (if_getcapenable(ifp) & IFCAP_NETMAP) { in em_initialize_receive_unit()
[all …]
/NextBSD/sys/dev/cadence/
HDif_cgem.c586 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) { in cgem_recv()
1031 if ((if_getcapenable(ifp) & IFCAP_RXCSUM) != 0) in cgem_config()
1044 if ((if_getcapenable(ifp) & IFCAP_TXCSUM) != 0) in cgem_config()
1208 mask = if_getcapenable(ifp) ^ ifr->ifr_reqcap; in cgem_ioctl()
1248 if ((if_getcapenable(ifp) & (IFCAP_RXCSUM | IFCAP_TXCSUM)) == in cgem_ioctl()
/NextBSD/sys/dev/bge/
HDif_bge.c1671 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING) in bge_setvlan()
3954 if (if_getcapenable(ifp) & IFCAP_POLLING) in bge_detach()
4340 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_rxeof()
4352 if (if_getcapenable(ifp) & IFCAP_VLAN_HWTAGGING && in bge_rxeof()
4401 if (if_getcapenable(ifp) & IFCAP_RXCSUM) in bge_rxeof()
4675 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_intr()
4799 if (!(if_getcapenable(sc->bge_ifp) & IFCAP_POLLING)) in bge_tick()
5456 (if_getcapenable(ifp) & IFCAP_VLAN_MTU ? ETHER_VLAN_ENCAP_LEN : 0)); in bge_init_locked()
5478 if_getcapenable(ifp) & IFCAP_TXCSUM) { in bge_init_locked()
5572 if (if_getcapenable(ifp) & IFCAP_POLLING) { in bge_init_locked()
[all …]
/NextBSD/sys/net/
HDiflib.c1644 if (if_getcapenable(ifp) & IFCAP_TXCSUM) in iflib_timer()
1646 if (if_getcapenable(ifp) & IFCAP_TSO4) in iflib_timer()
1648 if (if_getcapenable(ifp) & IFCAP_TXCSUM_IPV6) in iflib_timer()
2739 mask = ifr->ifr_reqcap ^ if_getcapenable(ifp); in iflib_if_ioctl()
2831 if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) in iflib_vlan_register()
2850 if (if_getcapenable(ifp) & IFCAP_VLAN_HWFILTER) in iflib_vlan_unregister()
HDif_var.h591 int if_getcapenable(if_t ifp);
HDif.c3621 if_getcapenable(if_t ifp) in if_getcapenable() function
/NextBSD/sys/dev/bxe/
HDbxe.c3505 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in bxe_rxeof()
4899 mask = (ifr->ifr_reqcap ^ if_getcapenable(ifp)); in bxe_ioctl()
4908 (if_getcapenable(ifp) & IFCAP_LRO) ? "ON" : "OFF"); in bxe_ioctl()
4916 (if_getcapenable(ifp) & IFCAP_TXCSUM) ? "ON" : "OFF"); in bxe_ioctl()
4917 if (if_getcapenable(ifp) & IFCAP_TXCSUM) { in bxe_ioctl()
4933 (if_getcapenable(ifp) & IFCAP_RXCSUM) ? "ON" : "OFF"); in bxe_ioctl()
4934 if (if_getcapenable(ifp) & IFCAP_RXCSUM) { in bxe_ioctl()
4950 (if_getcapenable(ifp) & IFCAP_TSO4) ? "ON" : "OFF"); in bxe_ioctl()
4957 (if_getcapenable(ifp) & IFCAP_TSO6) ? "ON" : "OFF"); in bxe_ioctl()
4965 (if_getcapenable(ifp) & IFCAP_VLAN_HWTSO) ? "ON" : "OFF"); in bxe_ioctl()
[all …]