Lines Matching refs:flags2
2395 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_CAPABLE) || in ixgbe_update_rsc()
2402 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED)) { in ixgbe_update_rsc()
2403 adapter->flags2 |= IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2408 } else if (adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED) { in ixgbe_update_rsc()
2409 adapter->flags2 &= ~IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2605 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_get_rss_hash_opts()
2619 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_get_rss_hash_opts()
2923 u32 flags2 = adapter->flags2; in ixgbe_set_rss_hash_opt() local
2948 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2951 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2963 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
2966 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
2991 if (flags2 != adapter->flags2) { in ixgbe_set_rss_hash_opt()
3002 if ((flags2 & UDP_RSS_FLAGS) && in ixgbe_set_rss_hash_opt()
3003 !(adapter->flags2 & UDP_RSS_FLAGS)) in ixgbe_set_rss_hash_opt()
3006 adapter->flags2 = flags2; in ixgbe_set_rss_hash_opt()
3017 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_set_rss_hash_opt()
3020 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_set_rss_hash_opt()
3436 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_get_eee()
3452 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_set_eee()
3482 adapter->flags2 |= IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3486 adapter->flags2 &= ~IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3505 if (adapter->flags2 & IXGBE_FLAG2_RX_LEGACY) in ixgbe_get_priv_flags()
3508 if (adapter->flags2 & IXGBE_FLAG2_VF_IPSEC_ENABLED) in ixgbe_get_priv_flags()
3517 unsigned int flags2 = adapter->flags2; in ixgbe_set_priv_flags() local
3519 flags2 &= ~IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3521 flags2 |= IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3523 flags2 &= ~IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3525 flags2 |= IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3527 if (flags2 != adapter->flags2) { in ixgbe_set_priv_flags()
3528 adapter->flags2 = flags2; in ixgbe_set_priv_flags()