Searched refs:reqcap (Results 1 – 10 of 10) sorted by relevance
440 int reqcap = ifr->ifr_reqcap; in sfxge_if_ioctl() local446 capchg_mask = if_getcapenable(ifp) ^ reqcap; in sfxge_if_ioctl()454 KASSERT((reqcap & ~if_getcapabilities(ifp)) == 0, in sfxge_if_ioctl()457 reqcap & ~if_getcapabilities(ifp), in sfxge_if_ioctl()458 reqcap , if_getcapabilities(ifp))); in sfxge_if_ioctl()467 (reqcap & (IFCAP_TSO4 | IFCAP_TXCSUM)) == IFCAP_TSO4) { in sfxge_if_ioctl()474 (reqcap & (IFCAP_TSO6 | IFCAP_TXCSUM_IPV6)) == IFCAP_TSO6) { in sfxge_if_ioctl()481 if (reqcap & IFCAP_TXCSUM) { in sfxge_if_ioctl()485 if (reqcap & IFCAP_TSO4) { in sfxge_if_ioctl()486 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() argument3075 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 & IFCAP_TXCSUM)) { in vxlan_set_reqcap()[all …]
684 int reqcap; member
2547 drv_ioctl_data.reqcap = if_capnv_to_capint(nvcap, in ifhwioctl()2549 if ((drv_ioctl_data.reqcap & in ifhwioctl()
2058 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()
82 int reqcap; member
3567 drv_ioctl_data->reqcap = ifr->ifr_reqcap; in mlx5e_ioctl()3577 drv_ioctl_data->reqcap &= ~(IFCAP_TXTLS4 | in mlx5e_ioctl()3590 drv_ioctl_data->reqcap &= ~(IFCAP_TXTLS_RTLMT | in mlx5e_ioctl()3594 mask = drv_ioctl_data->reqcap ^ if_getcapenable(ifp); in mlx5e_ioctl()
3140 mask = ifr_nv->reqcap ^ if_getcapenable(ifp); in cxgbe_ioctl()