Searched refs:reqcap (Results 1 – 9 of 9) sorted by relevance
442 int reqcap = ifr->ifr_reqcap; in sfxge_if_ioctl() local448 capchg_mask = if_getcapenable(ifp) ^ reqcap; in sfxge_if_ioctl()456 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()469 (reqcap & (IFCAP_TSO4 | IFCAP_TXCSUM)) == IFCAP_TSO4) { in sfxge_if_ioctl()476 (reqcap & (IFCAP_TSO6 | IFCAP_TXCSUM_IPV6)) == IFCAP_TSO6) { in sfxge_if_ioctl()483 if (reqcap & IFCAP_TXCSUM) { in sfxge_if_ioctl()487 if (reqcap & IFCAP_TSO4) { in sfxge_if_ioctl()488 reqcap &= ~IFCAP_TSO4; in sfxge_if_ioctl()[all …]
3073 vxlan_set_reqcap(struct vxlan_softc *sc, struct ifnet *ifp, int reqcap) in vxlan_set_reqcap() 3075 int mask = reqcap ^ ifp->if_capenable; in vxlan_set_reqcap() 3078 if (mask & IFCAP_TXCSUM && !(reqcap & IFCAP_TXCSUM) && in vxlan_set_reqcap() 3079 reqcap & IFCAP_TSO4) { in vxlan_set_reqcap() 3080 reqcap &= ~IFCAP_TSO4; in vxlan_set_reqcap() 3083 if (mask & IFCAP_TXCSUM_IPV6 && !(reqcap & IFCAP_TXCSUM_IPV6) && in vxlan_set_reqcap() 3084 reqcap & IFCAP_TSO6) { in vxlan_set_reqcap() 3085 reqcap &= ~IFCAP_TSO6; in vxlan_set_reqcap() 3090 if (mask & IFCAP_TSO4 && reqcap & IFCAP_TSO4 && in vxlan_set_reqcap() 3091 !(reqcap in vxlan_set_reqcap() 3071 vxlan_set_reqcap(struct vxlan_softc * sc,struct ifnet * ifp,int reqcap) vxlan_set_reqcap() argument [all...]
684 int reqcap; member
2680 drv_ioctl_data.reqcap = if_capnv_to_capint(nvcap, in ifhwioctl()2682 if ((drv_ioctl_data.reqcap & in ifhwioctl()
2057 drv_ioctl_data.reqcap = cap; in lagg_setcaps()
491 if (caps.reqcap != 0) { in print_iface()492 printf("\tcapabilities=%x\n", caps.reqcap); in print_iface()
459 flags &= ifcap.reqcap; in ifconfig_set_capability()487 capability->reqcap = ifr.ifr_reqcap; in ifconfig_get_capability()
76 int reqcap; member
3589 drv_ioctl_data->reqcap = ifr->ifr_reqcap; in mlx5e_ioctl()3599 drv_ioctl_data->reqcap &= ~(IFCAP_TXTLS4 | in mlx5e_ioctl()3612 drv_ioctl_data->reqcap &= ~(IFCAP_TXTLS_RTLMT | in mlx5e_ioctl()3616 mask = drv_ioctl_data->reqcap ^ if_getcapenable(ifp); in mlx5e_ioctl()