Lines Matching refs:hash_opts
547 unsigned long hash_opts) in mvpp2_flow_set_hek_fields() argument
556 for_each_set_bit(i, &hash_opts, MVPP22_CLS_HEK_N_FIELDS) { in mvpp2_flow_set_hek_fields()
614 u16 hash_opts; in mvpp2_port_rss_hash_opts_set() local
629 hash_opts = flow->supported_hash_opts & requested_opts; in mvpp2_port_rss_hash_opts_set()
634 if (hash_opts & MVPP22_CLS_HEK_L4_OPTS) in mvpp2_port_rss_hash_opts_set()
639 if (mvpp2_flow_set_hek_fields(&fe, hash_opts)) in mvpp2_port_rss_hash_opts_set()
652 u16 hash_opts = 0; in mvpp2_flow_get_hek_fields() local
662 hash_opts |= MVPP22_CLS_HEK_OPT_MAC_DA; in mvpp2_flow_get_hek_fields()
665 hash_opts |= MVPP22_CLS_HEK_OPT_VLAN; in mvpp2_flow_get_hek_fields()
668 hash_opts |= MVPP22_CLS_HEK_OPT_L3_PROTO; in mvpp2_flow_get_hek_fields()
671 hash_opts |= MVPP22_CLS_HEK_OPT_IP4SA; in mvpp2_flow_get_hek_fields()
674 hash_opts |= MVPP22_CLS_HEK_OPT_IP4DA; in mvpp2_flow_get_hek_fields()
677 hash_opts |= MVPP22_CLS_HEK_OPT_IP6SA; in mvpp2_flow_get_hek_fields()
680 hash_opts |= MVPP22_CLS_HEK_OPT_IP6DA; in mvpp2_flow_get_hek_fields()
683 hash_opts |= MVPP22_CLS_HEK_OPT_L4SIP; in mvpp2_flow_get_hek_fields()
686 hash_opts |= MVPP22_CLS_HEK_OPT_L4DIP; in mvpp2_flow_get_hek_fields()
692 return hash_opts; in mvpp2_flow_get_hek_fields()
703 u16 hash_opts = 0; in mvpp2_port_rss_hash_opts_get() local
718 hash_opts |= mvpp2_flow_get_hek_fields(&fe); in mvpp2_port_rss_hash_opts_get()
721 return hash_opts; in mvpp2_port_rss_hash_opts_get()
967 u16 hash_opts = 0; in mvpp2_ethtool_rxfh_set() local
975 hash_opts |= MVPP22_CLS_HEK_OPT_L4SIP; in mvpp2_ethtool_rxfh_set()
977 hash_opts |= MVPP22_CLS_HEK_OPT_L4DIP; in mvpp2_ethtool_rxfh_set()
982 hash_opts |= MVPP22_CLS_HEK_OPT_MAC_DA; in mvpp2_ethtool_rxfh_set()
984 hash_opts |= MVPP22_CLS_HEK_OPT_VLAN; in mvpp2_ethtool_rxfh_set()
986 hash_opts |= MVPP22_CLS_HEK_OPT_L3_PROTO; in mvpp2_ethtool_rxfh_set()
988 hash_opts |= (MVPP22_CLS_HEK_OPT_IP4SA | in mvpp2_ethtool_rxfh_set()
991 hash_opts |= (MVPP22_CLS_HEK_OPT_IP4DA | in mvpp2_ethtool_rxfh_set()
997 return mvpp2_port_rss_hash_opts_set(port, info->flow_type, hash_opts); in mvpp2_ethtool_rxfh_set()
1002 unsigned long hash_opts; in mvpp2_ethtool_rxfh_get() local
1005 hash_opts = mvpp2_port_rss_hash_opts_get(port, info->flow_type); in mvpp2_ethtool_rxfh_get()
1008 for_each_set_bit(i, &hash_opts, MVPP22_CLS_HEK_N_FIELDS) { in mvpp2_ethtool_rxfh_get()