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()
2914 u32 flags2 = adapter->flags2; in ixgbe_set_rss_hash_opt() local
2939 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2942 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2954 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
2957 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
2982 if (flags2 != adapter->flags2) { in ixgbe_set_rss_hash_opt()
2993 if ((flags2 & UDP_RSS_FLAGS) && in ixgbe_set_rss_hash_opt()
2994 !(adapter->flags2 & UDP_RSS_FLAGS)) in ixgbe_set_rss_hash_opt()
2997 adapter->flags2 = flags2; in ixgbe_set_rss_hash_opt()
3008 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_set_rss_hash_opt()
3011 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_set_rss_hash_opt()
3435 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_get_eee()
3451 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_set_eee()
3481 adapter->flags2 |= IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3485 adapter->flags2 &= ~IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3504 if (adapter->flags2 & IXGBE_FLAG2_RX_LEGACY) in ixgbe_get_priv_flags()
3507 if (adapter->flags2 & IXGBE_FLAG2_VF_IPSEC_ENABLED) in ixgbe_get_priv_flags()
3516 unsigned int flags2 = adapter->flags2; in ixgbe_set_priv_flags() local
3518 flags2 &= ~IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3520 flags2 |= IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3522 flags2 &= ~IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3524 flags2 |= IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3526 if (flags2 != adapter->flags2) { in ixgbe_set_priv_flags()
3527 adapter->flags2 = flags2; in ixgbe_set_priv_flags()