Searched defs:reqcap (Results 1 - 3 of 3) sorted by relevance

/freebsd-head/lib/libifconfig/
H A Dlibifconfig.h77 int reqcap; member in struct:ifconfig_capabilities
/freebsd-head/sys/dev/sfxge/
H A Dsfxge.c445 int reqcap = ifr->ifr_reqcap; local
451 capchg_mask = ifp->if_capenable ^ reqcap;
459 KASSERT((reqcap & ~ifp->if_capabilities) == 0,
462 reqcap & ~ifp->if_capabilities,
463 reqcap , ifp->if_capabilities));
472 (reqcap & (IFCAP_TSO4 | IFCAP_TXCSUM)) == IFCAP_TSO4) {
479 (reqcap & (IFCAP_TSO6 | IFCAP_TXCSUM_IPV6)) == IFCAP_TSO6) {
486 if (reqcap & IFCAP_TXCSUM) {
490 if (reqcap & IFCAP_TSO4) {
491 reqcap
[all...]
/freebsd-head/sys/net/
H A Dif_vxlan.c3020 vxlan_set_reqcap(struct vxlan_softc *sc, struct ifnet *ifp, int reqcap) argument
3022 int mask = reqcap ^ ifp->if_capenable;
3025 if (mask & IFCAP_TXCSUM && !(reqcap & IFCAP_TXCSUM) &&
3026 reqcap & IFCAP_TSO4) {
3027 reqcap &= ~IFCAP_TSO4;
3030 if (mask & IFCAP_TXCSUM_IPV6 && !(reqcap & IFCAP_TXCSUM_IPV6) &&
3031 reqcap & IFCAP_TSO6) {
3032 reqcap &= ~IFCAP_TSO6;
3037 if (mask & IFCAP_TSO4 && reqcap & IFCAP_TSO4 &&
3038 !(reqcap
[all...]

Completed in 115 milliseconds