Lines Matching refs:rss_flags
822 if (params->rss_flags & (1 << BNX2X_RSS_MODE_DISABLED)) in bnx2x_vfpf_config_rss()
823 req->rss_flags |= VFPF_RSS_MODE_DISABLED; in bnx2x_vfpf_config_rss()
824 if (params->rss_flags & (1 << BNX2X_RSS_MODE_REGULAR)) in bnx2x_vfpf_config_rss()
825 req->rss_flags |= VFPF_RSS_MODE_REGULAR; in bnx2x_vfpf_config_rss()
826 if (params->rss_flags & (1 << BNX2X_RSS_SET_SRCH)) in bnx2x_vfpf_config_rss()
827 req->rss_flags |= VFPF_RSS_SET_SRCH; in bnx2x_vfpf_config_rss()
828 if (params->rss_flags & (1 << BNX2X_RSS_IPV4)) in bnx2x_vfpf_config_rss()
829 req->rss_flags |= VFPF_RSS_IPV4; in bnx2x_vfpf_config_rss()
830 if (params->rss_flags & (1 << BNX2X_RSS_IPV4_TCP)) in bnx2x_vfpf_config_rss()
831 req->rss_flags |= VFPF_RSS_IPV4_TCP; in bnx2x_vfpf_config_rss()
832 if (params->rss_flags & (1 << BNX2X_RSS_IPV4_UDP)) in bnx2x_vfpf_config_rss()
833 req->rss_flags |= VFPF_RSS_IPV4_UDP; in bnx2x_vfpf_config_rss()
834 if (params->rss_flags & (1 << BNX2X_RSS_IPV6)) in bnx2x_vfpf_config_rss()
835 req->rss_flags |= VFPF_RSS_IPV6; in bnx2x_vfpf_config_rss()
836 if (params->rss_flags & (1 << BNX2X_RSS_IPV6_TCP)) in bnx2x_vfpf_config_rss()
837 req->rss_flags |= VFPF_RSS_IPV6_TCP; in bnx2x_vfpf_config_rss()
838 if (params->rss_flags & (1 << BNX2X_RSS_IPV6_UDP)) in bnx2x_vfpf_config_rss()
839 req->rss_flags |= VFPF_RSS_IPV6_UDP; in bnx2x_vfpf_config_rss()
841 DP(BNX2X_MSG_IOV, "rss flags %x\n", req->rss_flags); in bnx2x_vfpf_config_rss()
2006 rss.rss_flags = 0; in bnx2x_vf_mbx_update_rss()
2009 if (rss_tlv->rss_flags & VFPF_RSS_MODE_DISABLED) in bnx2x_vf_mbx_update_rss()
2010 __set_bit(BNX2X_RSS_MODE_DISABLED, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2011 if (rss_tlv->rss_flags & VFPF_RSS_MODE_REGULAR) in bnx2x_vf_mbx_update_rss()
2012 __set_bit(BNX2X_RSS_MODE_REGULAR, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2013 if (rss_tlv->rss_flags & VFPF_RSS_SET_SRCH) in bnx2x_vf_mbx_update_rss()
2014 __set_bit(BNX2X_RSS_SET_SRCH, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2015 if (rss_tlv->rss_flags & VFPF_RSS_IPV4) in bnx2x_vf_mbx_update_rss()
2016 __set_bit(BNX2X_RSS_IPV4, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2017 if (rss_tlv->rss_flags & VFPF_RSS_IPV4_TCP) in bnx2x_vf_mbx_update_rss()
2018 __set_bit(BNX2X_RSS_IPV4_TCP, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2019 if (rss_tlv->rss_flags & VFPF_RSS_IPV4_UDP) in bnx2x_vf_mbx_update_rss()
2020 __set_bit(BNX2X_RSS_IPV4_UDP, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2021 if (rss_tlv->rss_flags & VFPF_RSS_IPV6) in bnx2x_vf_mbx_update_rss()
2022 __set_bit(BNX2X_RSS_IPV6, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2023 if (rss_tlv->rss_flags & VFPF_RSS_IPV6_TCP) in bnx2x_vf_mbx_update_rss()
2024 __set_bit(BNX2X_RSS_IPV6_TCP, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2025 if (rss_tlv->rss_flags & VFPF_RSS_IPV6_UDP) in bnx2x_vf_mbx_update_rss()
2026 __set_bit(BNX2X_RSS_IPV6_UDP, &rss.rss_flags); in bnx2x_vf_mbx_update_rss()
2028 if ((!(rss_tlv->rss_flags & VFPF_RSS_IPV4_TCP) && in bnx2x_vf_mbx_update_rss()
2029 rss_tlv->rss_flags & VFPF_RSS_IPV4_UDP) || in bnx2x_vf_mbx_update_rss()
2030 (!(rss_tlv->rss_flags & VFPF_RSS_IPV6_TCP) && in bnx2x_vf_mbx_update_rss()
2031 rss_tlv->rss_flags & VFPF_RSS_IPV6_UDP)) { in bnx2x_vf_mbx_update_rss()