Lines Matching refs:flags2
2306 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_CAPABLE) || in ixgbe_update_rsc()
2313 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED)) { in ixgbe_update_rsc()
2314 adapter->flags2 |= IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2319 } else if (adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED) { in ixgbe_update_rsc()
2320 adapter->flags2 &= ~IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2514 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_get_rss_hash_opts()
2528 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_get_rss_hash_opts()
2823 u32 flags2 = adapter->flags2; in ixgbe_set_rss_hash_opt() local
2848 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2851 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2863 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
2866 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
2891 if (flags2 != adapter->flags2) { in ixgbe_set_rss_hash_opt()
2902 if ((flags2 & UDP_RSS_FLAGS) && in ixgbe_set_rss_hash_opt()
2903 !(adapter->flags2 & UDP_RSS_FLAGS)) in ixgbe_set_rss_hash_opt()
2906 adapter->flags2 = flags2; in ixgbe_set_rss_hash_opt()
2917 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_set_rss_hash_opt()
2920 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_set_rss_hash_opt()
3344 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_get_eee()
3360 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_set_eee()
3390 adapter->flags2 |= IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3394 adapter->flags2 &= ~IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3413 if (adapter->flags2 & IXGBE_FLAG2_RX_LEGACY) in ixgbe_get_priv_flags()
3416 if (adapter->flags2 & IXGBE_FLAG2_VF_IPSEC_ENABLED) in ixgbe_get_priv_flags()
3425 unsigned int flags2 = adapter->flags2; in ixgbe_set_priv_flags() local
3427 flags2 &= ~IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3429 flags2 |= IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3431 flags2 &= ~IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3433 flags2 |= IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3435 if (flags2 != adapter->flags2) { in ixgbe_set_priv_flags()
3436 adapter->flags2 = flags2; in ixgbe_set_priv_flags()