rss_cfg 321 drivers/net/ethernet/brocade/bna/bna_tx_rx.c req->cfg.type = rxf->rss_cfg.hash_type; rss_cfg 322 drivers/net/ethernet/brocade/bna/bna_tx_rx.c req->cfg.mask = rxf->rss_cfg.hash_mask; rss_cfg 325 drivers/net/ethernet/brocade/bna/bna_tx_rx.c htonl(rxf->rss_cfg.toeplitz_hash_key[i]); rss_cfg 633 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rxf->rss_cfg = q_config->rss_config; rss_cfg 764 drivers/net/ethernet/brocade/bna/bna_types.h struct bna_rss_config rss_cfg; rss_cfg 594 drivers/net/ethernet/cavium/thunder/nic.h struct rss_cfg_msg rss_cfg; rss_cfg 1050 drivers/net/ethernet/cavium/thunder/nic_main.c nic_config_rss(nic, &mbx.rss_cfg); rss_cfg 562 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c u64 rss_cfg = nicvf_reg_read(nic, NIC_VNIC_RSS_CFG); rss_cfg 579 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c rss_cfg &= ~(1ULL << RSS_HASH_TCP); rss_cfg 582 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c rss_cfg |= (1ULL << RSS_HASH_TCP); rss_cfg 592 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c rss_cfg &= ~(1ULL << RSS_HASH_UDP); rss_cfg 595 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c rss_cfg |= (1ULL << RSS_HASH_UDP); rss_cfg 605 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c rss_cfg &= ~(1ULL << RSS_HASH_L4ETC); rss_cfg 608 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c rss_cfg |= (1ULL << RSS_HASH_L4ETC); rss_cfg 616 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c rss_cfg = RSS_HASH_IP; rss_cfg 622 drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c nicvf_reg_write(nic, NIC_VNIC_RSS_CFG, rss_cfg); rss_cfg 342 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.vf_id = nic->vf_id; rss_cfg 343 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.hash_bits = rss->hash_bits; rss_cfg 345 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.tbl_offset = nextq; rss_cfg 346 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.tbl_len = min(ind_tbl_len, rss_cfg 348 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.msg = mbx.rss_cfg.tbl_offset ? rss_cfg 351 drivers/net/ethernet/cavium/thunder/nicvf_main.c for (i = 0; i < mbx.rss_cfg.tbl_len; i++) rss_cfg 352 drivers/net/ethernet/cavium/thunder/nicvf_main.c mbx.rss_cfg.ind_tbl[i] = rss->ind_tbl[nextq++]; rss_cfg 356 drivers/net/ethernet/cavium/thunder/nicvf_main.c ind_tbl_len -= mbx.rss_cfg.tbl_len; rss_cfg 601 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c const u8 *indir = hdev->rss_cfg.rss_indirection_tbl; rss_cfg 674 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg = &hdev->rss_cfg; rss_cfg 696 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c memcpy(&rss_cfg->rss_hash_key[hash_key_index], rss_cfg 700 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c memcpy(&rss_cfg->rss_hash_key[hash_key_index], rss_cfg 711 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg = &hdev->rss_cfg; rss_cfg 717 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c switch (rss_cfg->hash_algo) { rss_cfg 732 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c memcpy(key, rss_cfg->rss_hash_key, rss_cfg 741 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c memcpy(key, rss_cfg->rss_hash_key, rss_cfg 748 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c indir[i] = rss_cfg->rss_indirection_tbl[i]; rss_cfg 757 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg = &hdev->rss_cfg; rss_cfg 765 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->hash_algo = rss_cfg 769 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->hash_algo = rss_cfg 778 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c ret = hclgevf_set_rss_algo_key(hdev, rss_cfg->hash_algo, rss_cfg 784 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c memcpy(rss_cfg->rss_hash_key, key, rss_cfg 791 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_indirection_tbl[i] = indir[i]; rss_cfg 826 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg = &hdev->rss_cfg; rss_cfg 842 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_tcp_en = rss_cfg->rss_tuple_sets.ipv4_tcp_en; rss_cfg 843 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_udp_en = rss_cfg->rss_tuple_sets.ipv4_udp_en; rss_cfg 844 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_sctp_en = rss_cfg->rss_tuple_sets.ipv4_sctp_en; rss_cfg 845 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_fragment_en = rss_cfg->rss_tuple_sets.ipv4_fragment_en; rss_cfg 846 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_tcp_en = rss_cfg->rss_tuple_sets.ipv6_tcp_en; rss_cfg 847 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_udp_en = rss_cfg->rss_tuple_sets.ipv6_udp_en; rss_cfg 848 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_sctp_en = rss_cfg->rss_tuple_sets.ipv6_sctp_en; rss_cfg 849 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_fragment_en = rss_cfg->rss_tuple_sets.ipv6_fragment_en; rss_cfg 892 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_tcp_en = req->ipv4_tcp_en; rss_cfg 893 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_udp_en = req->ipv4_udp_en; rss_cfg 894 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_sctp_en = req->ipv4_sctp_en; rss_cfg 895 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_fragment_en = req->ipv4_fragment_en; rss_cfg 896 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_tcp_en = req->ipv6_tcp_en; rss_cfg 897 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_udp_en = req->ipv6_udp_en; rss_cfg 898 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_sctp_en = req->ipv6_sctp_en; rss_cfg 899 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_fragment_en = req->ipv6_fragment_en; rss_cfg 907 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg = &hdev->rss_cfg; rss_cfg 917 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tuple_sets = rss_cfg->rss_tuple_sets.ipv4_tcp_en; rss_cfg 920 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tuple_sets = rss_cfg->rss_tuple_sets.ipv4_udp_en; rss_cfg 923 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tuple_sets = rss_cfg->rss_tuple_sets.ipv6_tcp_en; rss_cfg 926 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tuple_sets = rss_cfg->rss_tuple_sets.ipv6_udp_en; rss_cfg 929 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tuple_sets = rss_cfg->rss_tuple_sets.ipv4_sctp_en; rss_cfg 932 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c tuple_sets = rss_cfg->rss_tuple_sets.ipv6_sctp_en; rss_cfg 958 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg) rss_cfg 968 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_tcp_en = rss_cfg->rss_tuple_sets.ipv4_tcp_en; rss_cfg 969 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_udp_en = rss_cfg->rss_tuple_sets.ipv4_udp_en; rss_cfg 970 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_sctp_en = rss_cfg->rss_tuple_sets.ipv4_sctp_en; rss_cfg 971 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv4_fragment_en = rss_cfg->rss_tuple_sets.ipv4_fragment_en; rss_cfg 972 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_tcp_en = rss_cfg->rss_tuple_sets.ipv6_tcp_en; rss_cfg 973 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_udp_en = rss_cfg->rss_tuple_sets.ipv6_udp_en; rss_cfg 974 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_sctp_en = rss_cfg->rss_tuple_sets.ipv6_sctp_en; rss_cfg 975 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c req->ipv6_fragment_en = rss_cfg->rss_tuple_sets.ipv6_fragment_en; rss_cfg 987 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg = &hdev->rss_cfg; rss_cfg 989 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c return rss_cfg->rss_size; rss_cfg 2070 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c struct hclgevf_rss_cfg *rss_cfg = &hdev->rss_cfg; rss_cfg 2074 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_size = hdev->nic.kinfo.rss_size; rss_cfg 2077 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->hash_algo = HCLGEVF_RSS_HASH_ALGO_SIMPLE; rss_cfg 2078 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c memcpy(rss_cfg->rss_hash_key, hclgevf_hash_key, rss_cfg 2081 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c ret = hclgevf_set_rss_algo_key(hdev, rss_cfg->hash_algo, rss_cfg 2082 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_hash_key); rss_cfg 2086 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_tcp_en = rss_cfg 2088 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_udp_en = rss_cfg 2090 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_sctp_en = rss_cfg 2092 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv4_fragment_en = rss_cfg 2094 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_tcp_en = rss_cfg 2096 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_udp_en = rss_cfg 2098 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_sctp_en = rss_cfg 2100 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_tuple_sets.ipv6_fragment_en = rss_cfg 2103 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c ret = hclgevf_set_rss_input_tuple(hdev, rss_cfg); rss_cfg 2111 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c rss_cfg->rss_indirection_tbl[i] = i % rss_cfg->rss_size; rss_cfg 2117 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c return hclgevf_set_rss_tc_mode(hdev, rss_cfg->rss_size); rss_cfg 242 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h struct hclgevf_rss_cfg rss_cfg; rss_cfg 652 drivers/net/ethernet/huawei/hinic/hinic_port.c struct hinic_rss_indir_table rss_cfg = { 0 }; rss_cfg 656 drivers/net/ethernet/huawei/hinic/hinic_port.c u16 out_size = sizeof(rss_cfg); rss_cfg 659 drivers/net/ethernet/huawei/hinic/hinic_port.c rss_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); rss_cfg 660 drivers/net/ethernet/huawei/hinic/hinic_port.c rss_cfg.template_id = tmpl_idx; rss_cfg 664 drivers/net/ethernet/huawei/hinic/hinic_port.c &rss_cfg, sizeof(rss_cfg), &rss_cfg, rss_cfg 666 drivers/net/ethernet/huawei/hinic/hinic_port.c if (err || !out_size || rss_cfg.status) { rss_cfg 668 drivers/net/ethernet/huawei/hinic/hinic_port.c err, rss_cfg.status, out_size); rss_cfg 672 drivers/net/ethernet/huawei/hinic/hinic_port.c hinic_be32_to_cpu(rss_cfg.indir, HINIC_RSS_INDIR_SIZE); rss_cfg 674 drivers/net/ethernet/huawei/hinic/hinic_port.c indir_table[i] = rss_cfg.indir[i]; rss_cfg 901 drivers/net/ethernet/huawei/hinic/hinic_port.c struct hinic_rss_config rss_cfg = { 0 }; rss_cfg 907 drivers/net/ethernet/huawei/hinic/hinic_port.c rss_cfg.func_id = HINIC_HWIF_FUNC_IDX(hwif); rss_cfg 908 drivers/net/ethernet/huawei/hinic/hinic_port.c rss_cfg.rss_en = rss_en; rss_cfg 909 drivers/net/ethernet/huawei/hinic/hinic_port.c rss_cfg.template_id = template_id; rss_cfg 910 drivers/net/ethernet/huawei/hinic/hinic_port.c rss_cfg.rq_priority_number = 0; rss_cfg 913 drivers/net/ethernet/huawei/hinic/hinic_port.c &rss_cfg, sizeof(rss_cfg), rss_cfg 914 drivers/net/ethernet/huawei/hinic/hinic_port.c &rss_cfg, &out_size); rss_cfg 915 drivers/net/ethernet/huawei/hinic/hinic_port.c if (err || !out_size || rss_cfg.status) { rss_cfg 918 drivers/net/ethernet/huawei/hinic/hinic_port.c err, rss_cfg.status, out_size); rss_cfg 616 drivers/net/ethernet/netronome/nfp/nfp_net.h u32 rss_cfg; rss_cfg 2816 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nn_writel(nn, NFP_NET_CFG_RSS_CTRL, nn->rss_cfg); rss_cfg 3948 drivers/net/ethernet/netronome/nfp/nfp_net_common.c nn->rss_cfg = NFP_NET_CFG_RSS_IPV4_TCP | rss_cfg 813 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (nn->rss_cfg & nfp_rss_flag) rss_cfg 838 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c u32 new_rss_cfg = nn->rss_cfg; rss_cfg 873 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c if (new_rss_cfg == nn->rss_cfg) rss_cfg 881 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nn->rss_cfg = new_rss_cfg; rss_cfg 883 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nn_dbg(nn, "Changed RSS config to 0x%x\n", nn->rss_cfg);