Home
last modified time | relevance | path

Searched refs:if_getcapabilities (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd-14.2/sys/dev/liquidio/
H A Dlio_ioctl.c217 if (if_getcapabilities(ifp) & IFCAP_TSO4) { in lio_set_tso4()
236 if (if_getcapabilities(ifp) & IFCAP_TSO6) { in lio_set_tso6()
256 if (if_getcapabilities(ifp) & (IFCAP_RXCSUM | IFCAP_RXCSUM_IPV6)) { in lio_set_rx_csum()
261 if ((if_getcapabilities(ifp) & IFCAP_LRO) && in lio_set_rx_csum()
283 if (!(if_getcapabilities(ifp) & IFCAP_LRO)) { in lio_set_lro()
/freebsd-14.2/sys/dev/sge/
H A Dif_sge.c493 if ((if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) == 0) in sge_setvlan()
616 if_setcapenable(ifp, if_getcapabilities(ifp)); in sge_attach()
635 if_setcapenable(ifp, if_getcapabilities(ifp)); in sge_attach()
1775 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in sge_ioctl()
1783 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) in sge_ioctl()
1786 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in sge_ioctl()
1789 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in sge_ioctl()
1797 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in sge_ioctl()
1800 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in sge_ioctl()
/freebsd-14.2/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_resources.c79 if (!(if_getcapabilities(dev) & IFCAP_VLAN_HWCSUM)) in mlx4_en_fill_qp_context()
/freebsd-14.2/sys/dev/ale/
H A Dif_ale.c627 if_setcapenable(ifp, if_getcapabilities(ifp)); in ale_attach()
643 if_setcapenable(ifp, if_getcapabilities(ifp)); in ale_attach()
2006 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in ale_ioctl()
2014 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) in ale_ioctl()
2017 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in ale_ioctl()
2026 (if_getcapabilities(ifp) & IFCAP_WOL_MCAST) != 0) in ale_ioctl()
2029 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in ale_ioctl()
2032 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in ale_ioctl()
2035 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in ale_ioctl()
2038 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in ale_ioctl()
/freebsd-14.2/sys/dev/nge/
H A Dif_nge.c920 if_setcapenable(ifp, if_getcapabilities(ifp)); in nge_attach()
951 if_setcapenable(ifp, if_getcapabilities(ifp)); in nge_attach()
2324 (IFCAP_POLLING & if_getcapabilities(ifp)) != 0) { in nge_ioctl()
2342 (IFCAP_TXCSUM & if_getcapabilities(ifp)) != 0) { in nge_ioctl()
2350 (IFCAP_RXCSUM & if_getcapabilities(ifp)) != 0) in nge_ioctl()
2354 (if_getcapabilities(ifp) & IFCAP_WOL) != 0) { in nge_ioctl()
2364 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in nge_ioctl()
2367 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in nge_ioctl()
/freebsd-14.2/sys/dev/usb/net/
H A Dif_smsc.c807 if ((if_getcapabilities(ifp) & if_getcapenable(ifp)) & IFCAP_RXCSUM) in smsc_sethwcsum()
813 if ((if_getcapabilities(ifp) & if_getcapenable(ifp)) & IFCAP_TXCSUM) in smsc_sethwcsum()
1523 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in smsc_ioctl()
1719 if_setcapenable(ifp, if_getcapabilities(ifp)); in smsc_attach_post_sub()
H A Dif_ure.c1014 if_setcapenable(ifp, if_getcapabilities(ifp)); in ure_attach_post_sub()
1454 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in ure_ioctl()
1459 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in ure_ioctl()
1463 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in ure_ioctl()
1467 (if_getcapabilities(ifp) & IFCAP_TXCSUM_IPV6) != 0) { in ure_ioctl()
1471 (if_getcapabilities(ifp) & IFCAP_RXCSUM_IPV6) != 0) { in ure_ioctl()
1909 if (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) in ure_rtl8153b_nic_reset()
H A Dif_axe.c894 if_setcapenable(ifp, if_getcapabilities(ifp)); in axe_attach_post_sub()
1196 if (if_getcapabilities(ifp) & IFCAP_TXCSUM) { in axe_bulk_write_callback()
1476 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in axe_ioctl()
1485 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in axe_ioctl()
H A Dif_axge.c485 if_setcapenable(ifp, if_getcapabilities(ifp)); in axge_attach_post_sub()
936 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in axge_ioctl()
945 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in axge_ioctl()
/freebsd-14.2/sys/dev/age/
H A Dif_age.c608 if_setcapenable(ifp, if_getcapabilities(ifp)); in age_attach()
624 if_setcapenable(ifp, if_getcapabilities(ifp)); in age_attach()
1859 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in age_ioctl()
1867 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in age_ioctl()
1876 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in age_ioctl()
1885 (if_getcapabilities(ifp) & IFCAP_WOL_MCAST) != 0) in age_ioctl()
1888 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in age_ioctl()
1891 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in age_ioctl()
1894 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in age_ioctl()
1897 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in age_ioctl()
/freebsd-14.2/sys/dev/fxp/
H A Dif_fxp.c2900 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in fxp_ioctl()
2908 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in fxp_ioctl()
2914 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in fxp_ioctl()
2922 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in fxp_ioctl()
2925 (if_getcapabilities(ifp) & IFCAP_VLAN_MTU) != 0) { in fxp_ioctl()
2936 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in fxp_ioctl()
2939 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in fxp_ioctl()
2942 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in fxp_ioctl()
/freebsd-14.2/sys/dev/vge/
H A Dif_vge.c1117 if_setcapenable(ifp, if_getcapabilities(ifp)); in vge_attach()
2327 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in vge_ioctl()
2335 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) in vge_ioctl()
2338 (if_getcapabilities(ifp) & IFCAP_WOL_UCAST) != 0) in vge_ioctl()
2341 (if_getcapabilities(ifp) & IFCAP_WOL_MCAST) != 0) in vge_ioctl()
2344 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in vge_ioctl()
2347 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in vge_ioctl()
2350 (IFCAP_VLAN_HWTAGGING & if_getcapabilities(ifp)) != 0) { in vge_ioctl()
/freebsd-14.2/sys/dev/rl/
H A Dif_rl.c824 if_setcapenable(ifp, if_getcapabilities(ifp)); in rl_attach()
1865 (if_getcapabilities(ifp) & IFCAP_WOL) != 0) { in rl_ioctl()
1985 if ((if_getcapabilities(ifp) & IFCAP_WOL) != 0 && in rl_resume()
2049 if ((if_getcapabilities(ifp) & IFCAP_WOL) == 0) in rl_setwol()
2099 if ((if_getcapabilities(ifp) & IFCAP_WOL) == 0) in rl_clrwol()
/freebsd-14.2/sys/dev/xen/netfront/
H A Dnetfront.c2139 if ((if_getcapenable(ifp) & if_getcapabilities(ifp)) == if_getcapenable(ifp)) { in xn_configure_features()
2154 (if_getcapabilities(ifp) & cap_enabled & IFCAP_LRO) != 0) { in xn_configure_features()
2167 if ((if_getcapabilities(ifp) & cap_enabled & IFCAP_TSO4) != 0) { in xn_configure_features()
2172 if ((if_getcapabilities(ifp) & cap_enabled & IFCAP_TXCSUM) != 0) { in xn_configure_features()
2176 if ((if_getcapabilities(ifp) & cap_enabled & IFCAP_RXCSUM) != 0) in xn_configure_features()
2332 cap_enabled = if_getcapabilities(ifp); in create_netdev()
/freebsd-14.2/sys/dev/sfxge/
H A Dsfxge.c456 KASSERT((reqcap & ~if_getcapabilities(ifp)) == 0, in sfxge_if_ioctl()
459 reqcap & ~if_getcapabilities(ifp), in sfxge_if_ioctl()
460 reqcap , if_getcapabilities(ifp))); in sfxge_if_ioctl()
/freebsd-14.2/sys/dev/jme/
H A Dif_jme.c823 if_setcapenable(ifp, if_getcapabilities(ifp)); in jme_attach()
868 if_setcapenable(ifp, if_getcapabilities(ifp)); in jme_attach()
2035 if ((IFCAP_TXCSUM & if_getcapabilities(ifp)) != 0) { in jme_ioctl()
2044 (IFCAP_RXCSUM & if_getcapabilities(ifp)) != 0) { in jme_ioctl()
2054 if ((IFCAP_TSO4 & if_getcapabilities(ifp)) != 0) { in jme_ioctl()
2063 (IFCAP_WOL_MAGIC & if_getcapabilities(ifp)) != 0) in jme_ioctl()
2066 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in jme_ioctl()
2069 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in jme_ioctl()
2072 (IFCAP_VLAN_HWTAGGING & if_getcapabilities(ifp)) != 0) { in jme_ioctl()
/freebsd-14.2/sys/dev/nfe/
H A Dif_nfe.c599 if_setcapenable(ifp, if_getcapabilities(ifp)); in nfe_attach()
606 if ((if_getcapabilities(ifp) & IFCAP_HWCSUM) != 0) in nfe_attach()
613 if_setcapenable(ifp, if_getcapabilities(ifp)); in nfe_attach()
1768 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in nfe_ioctl()
1771 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in nfe_ioctl()
1779 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in nfe_ioctl()
1784 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in nfe_ioctl()
1792 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in nfe_ioctl()
1795 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in nfe_ioctl()
/freebsd-14.2/sys/dev/re/
H A Dif_re.c1650 if_setcapenable(ifp, if_getcapabilities(ifp)); in re_attach()
1685 if (if_getcapabilities(ifp) & IFCAP_HWCSUM) in re_attach()
1690 if_setcapenable(ifp, if_getcapabilities(ifp)); in re_attach()
3494 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in re_ioctl()
3503 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) { in re_ioctl()
3508 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in re_ioctl()
3521 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in re_ioctl()
3524 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in re_ioctl()
3536 (if_getcapabilities(ifp) & IFCAP_WOL) != 0) { in re_ioctl()
/freebsd-14.2/sys/dev/vr/
H A Dif_vr.c697 if_setcapenable(ifp, if_getcapabilities(ifp)); in vr_attach()
2279 (IFCAP_TXCSUM & if_getcapabilities(ifp)) != 0) { in vr_ioctl()
2287 (IFCAP_RXCSUM & if_getcapabilities(ifp)) != 0) in vr_ioctl()
2290 (if_getcapabilities(ifp) & IFCAP_WOL_UCAST) != 0) in vr_ioctl()
2293 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in vr_ioctl()
/freebsd-14.2/sys/dev/alc/
H A Dif_alc.c1603 if_setcapenable(ifp, if_getcapabilities(ifp)); in alc_attach()
1619 if_setcapenable(ifp, if_getcapabilities(ifp)); in alc_attach()
3108 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in alc_ioctl()
3116 (if_getcapabilities(ifp) & IFCAP_TSO4) != 0) { in alc_ioctl()
3129 (if_getcapabilities(ifp) & IFCAP_WOL_MCAST) != 0) in alc_ioctl()
3132 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in alc_ioctl()
3135 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTAGGING) != 0) { in alc_ioctl()
3140 (if_getcapabilities(ifp) & IFCAP_VLAN_HWCSUM) != 0) in alc_ioctl()
3143 (if_getcapabilities(ifp) & IFCAP_VLAN_HWTSO) != 0) in alc_ioctl()
/freebsd-14.2/sys/dev/sis/
H A Dif_sis.c1074 if_setcapenable(ifp, if_getcapabilities(ifp)); in sis_attach()
1097 if_setcapenable(ifp, if_getcapabilities(ifp)); in sis_attach()
2156 (IFCAP_POLLING & if_getcapabilities(ifp)) != 0) { in sis_ioctl()
2174 (if_getcapabilities(ifp) & IFCAP_WOL) != 0) { in sis_ioctl()
/freebsd-14.2/sys/dev/xl/
H A Dif_xl.c1344 if_setcapenable(ifp, if_getcapabilities(ifp)); in xl_attach()
3034 (if_getcapabilities(ifp) & IFCAP_POLLING) != 0) { in xl_ioctl()
3062 (if_getcapabilities(ifp) & IFCAP_TXCSUM) != 0) { in xl_ioctl()
3070 (if_getcapabilities(ifp) & IFCAP_RXCSUM) != 0) in xl_ioctl()
3073 (if_getcapabilities(ifp) & IFCAP_WOL_MAGIC) != 0) in xl_ioctl()
/freebsd-14.2/sys/dev/stge/
H A Dif_stge.c580 if_setcapenable(ifp, if_getcapabilities(ifp)); in stge_attach()
606 if_setcapenable(ifp, if_getcapabilities(ifp)); in stge_attach()
1326 (IFCAP_HWCSUM & if_getcapabilities(ifp)) != 0) in stge_ioctl()
1332 (if_getcapabilities(ifp) & IFCAP_WOL) != 0) { in stge_ioctl()
/freebsd-14.2/sys/dev/beri/virtio/network/
H A Dif_vtbe.c620 if_setcapenable(ifp, if_getcapabilities(ifp)); in vtbe_attach()
/freebsd-14.2/sys/dev/msk/
H A Dif_msk.c1123 (IFCAP_TXCSUM & if_getcapabilities(ifp)) != 0) { in msk_ioctl()
1131 (IFCAP_RXCSUM & if_getcapabilities(ifp)) != 0) { in msk_ioctl()
1137 (IFCAP_VLAN_HWCSUM & if_getcapabilities(ifp)) != 0) in msk_ioctl()
1140 (IFCAP_TSO4 & if_getcapabilities(ifp)) != 0) { in msk_ioctl()
1148 (IFCAP_VLAN_HWTSO & if_getcapabilities(ifp)) != 0) in msk_ioctl()
1151 (IFCAP_VLAN_HWTAGGING & if_getcapabilities(ifp)) != 0) { in msk_ioctl()
1642 if_setcapenable(ifp, if_getcapabilities(ifp)); in msk_attach()
1686 if_setcapenable(ifp, if_getcapabilities(ifp)); in msk_attach()

1234