Lines Matching refs:flags2

2427 	if (!(adapter->flags2 & IXGBE_FLAG2_RSC_CAPABLE) ||  in ixgbe_update_rsc()
2434 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED)) { in ixgbe_update_rsc()
2435 adapter->flags2 |= IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2440 } else if (adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED) { in ixgbe_update_rsc()
2441 adapter->flags2 &= ~IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2637 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_get_rss_hash_opts()
2651 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_get_rss_hash_opts()
2955 u32 flags2 = adapter->flags2; in ixgbe_set_rss_hash_opt() local
2980 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2983 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rss_hash_opt()
2995 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
2998 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rss_hash_opt()
3023 if (flags2 != adapter->flags2) { in ixgbe_set_rss_hash_opt()
3034 if ((flags2 & UDP_RSS_FLAGS) && in ixgbe_set_rss_hash_opt()
3035 !(adapter->flags2 & UDP_RSS_FLAGS)) in ixgbe_set_rss_hash_opt()
3038 adapter->flags2 = flags2; in ixgbe_set_rss_hash_opt()
3049 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_set_rss_hash_opt()
3052 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_set_rss_hash_opt()
3468 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_get_eee()
3484 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_set_eee()
3514 adapter->flags2 |= IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3518 adapter->flags2 &= ~IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3537 if (adapter->flags2 & IXGBE_FLAG2_RX_LEGACY) in ixgbe_get_priv_flags()
3540 if (adapter->flags2 & IXGBE_FLAG2_VF_IPSEC_ENABLED) in ixgbe_get_priv_flags()
3543 if (adapter->flags2 & IXGBE_FLAG2_AUTO_DISABLE_VF) in ixgbe_get_priv_flags()
3552 unsigned int flags2 = adapter->flags2; in ixgbe_set_priv_flags() local
3555 flags2 &= ~IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3557 flags2 |= IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3559 flags2 &= ~IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3561 flags2 |= IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3563 flags2 &= ~IXGBE_FLAG2_AUTO_DISABLE_VF; in ixgbe_set_priv_flags()
3570 flags2 |= IXGBE_FLAG2_AUTO_DISABLE_VF; in ixgbe_set_priv_flags()
3578 if (flags2 != adapter->flags2) { in ixgbe_set_priv_flags()
3579 adapter->flags2 = flags2; in ixgbe_set_priv_flags()