Lines Matching refs:flags2
2557 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_CAPABLE) || in ixgbe_update_rsc()
2564 if (!(adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED)) { in ixgbe_update_rsc()
2565 adapter->flags2 |= IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2570 } else if (adapter->flags2 & IXGBE_FLAG2_RSC_ENABLED) { in ixgbe_update_rsc()
2571 adapter->flags2 &= ~IXGBE_FLAG2_RSC_ENABLED; in ixgbe_update_rsc()
2769 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_get_rxfh_fields()
2783 if (adapter->flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_get_rxfh_fields()
3086 u32 flags2 = adapter->flags2; in ixgbe_set_rxfh_fields() local
3111 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rxfh_fields()
3114 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV4_UDP; in ixgbe_set_rxfh_fields()
3126 flags2 &= ~IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rxfh_fields()
3129 flags2 |= IXGBE_FLAG2_RSS_FIELD_IPV6_UDP; in ixgbe_set_rxfh_fields()
3154 if (flags2 != adapter->flags2) { in ixgbe_set_rxfh_fields()
3165 if ((flags2 & UDP_RSS_FLAGS) && in ixgbe_set_rxfh_fields()
3166 !(adapter->flags2 & UDP_RSS_FLAGS)) in ixgbe_set_rxfh_fields()
3169 adapter->flags2 = flags2; in ixgbe_set_rxfh_fields()
3180 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV4_UDP) in ixgbe_set_rxfh_fields()
3183 if (flags2 & IXGBE_FLAG2_RSS_FIELD_IPV6_UDP) in ixgbe_set_rxfh_fields()
3598 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_get_eee()
3614 if (!(adapter->flags2 & IXGBE_FLAG2_EEE_CAPABLE)) in ixgbe_set_eee()
3644 adapter->flags2 |= IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3648 adapter->flags2 &= ~IXGBE_FLAG2_EEE_ENABLED; in ixgbe_set_eee()
3667 if (adapter->flags2 & IXGBE_FLAG2_RX_LEGACY) in ixgbe_get_priv_flags()
3670 if (adapter->flags2 & IXGBE_FLAG2_VF_IPSEC_ENABLED) in ixgbe_get_priv_flags()
3673 if (adapter->flags2 & IXGBE_FLAG2_AUTO_DISABLE_VF) in ixgbe_get_priv_flags()
3682 unsigned int flags2 = adapter->flags2; in ixgbe_set_priv_flags() local
3685 flags2 &= ~IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3687 flags2 |= IXGBE_FLAG2_RX_LEGACY; in ixgbe_set_priv_flags()
3689 flags2 &= ~IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3691 flags2 |= IXGBE_FLAG2_VF_IPSEC_ENABLED; in ixgbe_set_priv_flags()
3693 flags2 &= ~IXGBE_FLAG2_AUTO_DISABLE_VF; in ixgbe_set_priv_flags()
3700 flags2 |= IXGBE_FLAG2_AUTO_DISABLE_VF; in ixgbe_set_priv_flags()
3708 if (flags2 != adapter->flags2) { in ixgbe_set_priv_flags()
3709 adapter->flags2 = flags2; in ixgbe_set_priv_flags()