/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 1046 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_allocate() local 1048 rss->hash_key = in ena_com_hash_key_allocate() 1049 dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_allocate() 1050 &rss->hash_key_dma_addr, GFP_KERNEL); in ena_com_hash_key_allocate() 1052 if (unlikely(!rss->hash_key)) in ena_com_hash_key_allocate() 1060 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_destroy() local 1062 if (rss->hash_key) in ena_com_hash_key_destroy() 1063 dma_free_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_destroy() 1064 rss->hash_key, rss->hash_key_dma_addr); in ena_com_hash_key_destroy() 1065 rss->hash_key = NULL; in ena_com_hash_key_destroy() [all …]
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_resources.c | 41 int is_tx, int rss, int qpn, int cqn, in mlx4_en_fill_qp_context() argument 48 context->flags = cpu_to_be32(7 << 16 | rss << MLX4_RSS_QPC_FLAG_OFFSET); in mlx4_en_fill_qp_context() 51 if (!is_tx && !rss) in mlx4_en_fill_qp_context() 74 if (!rss && in mlx4_en_fill_qp_context() 87 if (!is_tx && !rss && in mlx4_en_fill_qp_context()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 794 return sizeof(priv->rss.key); in stmmac_get_rxfh_key_size() 801 return ARRAY_SIZE(priv->rss.table); in stmmac_get_rxfh_indir_size() 811 for (i = 0; i < ARRAY_SIZE(priv->rss.table); i++) in stmmac_get_rxfh() 812 indir[i] = priv->rss.table[i]; in stmmac_get_rxfh() 816 memcpy(key, priv->rss.key, sizeof(priv->rss.key)); in stmmac_get_rxfh() 833 for (i = 0; i < ARRAY_SIZE(priv->rss.table); i++) in stmmac_set_rxfh() 834 priv->rss.table[i] = indir[i]; in stmmac_set_rxfh() 838 memcpy(priv->rss.key, key, sizeof(priv->rss.key)); in stmmac_set_rxfh() 840 return stmmac_rss_configure(priv, priv->hw, &priv->rss, in stmmac_set_rxfh()
|
D | stmmac_selftests.c | 820 if (!priv->dma_cap.rssen || !priv->rss.enable) in stmmac_test_rss() 1307 if (priv->rss.enable) { in __stmmac_test_l3filt() 1308 old_enable = priv->rss.enable; in __stmmac_test_l3filt() 1309 priv->rss.enable = false; in __stmmac_test_l3filt() 1380 priv->rss.enable = old_enable; in __stmmac_test_l3filt() 1381 stmmac_rss_configure(priv, priv->hw, &priv->rss, in __stmmac_test_l3filt() 1432 if (priv->rss.enable) { in __stmmac_test_l4filt() 1433 old_enable = priv->rss.enable; in __stmmac_test_l4filt() 1434 priv->rss.enable = false; in __stmmac_test_l4filt() 1510 priv->rss.enable = old_enable; in __stmmac_test_l4filt() [all …]
|
D | stmmac.h | 236 struct stmmac_rss rss; member
|
/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 561 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_set_rss_hash_opts() local 564 if (!rss->enable) in nicvf_set_rss_hash_opts() 655 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_get_rxfh() local 659 for (idx = 0; idx < rss->rss_size; idx++) in nicvf_get_rxfh() 660 indir[idx] = rss->ind_tbl[idx]; in nicvf_get_rxfh() 664 memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_get_rxfh() 676 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_set_rxfh() local 682 if (!rss->enable) { in nicvf_set_rxfh() 689 for (idx = 0; idx < rss->rss_size; idx++) in nicvf_set_rxfh() 690 rss->ind_tbl[idx] = indir[idx]; in nicvf_set_rxfh() [all …]
|
D | nicvf_main.c | 338 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_config_rss() local 339 int ind_tbl_len = rss->rss_size; in nicvf_config_rss() 343 mbx.rss_cfg.hash_bits = rss->hash_bits; in nicvf_config_rss() 352 mbx.rss_cfg.ind_tbl[i] = rss->ind_tbl[nextq++]; in nicvf_config_rss() 362 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_set_rss_key() local 367 nicvf_reg_write(nic, key_addr, rss->key[idx]); in nicvf_set_rss_key() 374 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_rss_init() local 380 rss->enable = false; in nicvf_rss_init() 381 rss->hash_bits = 0; in nicvf_rss_init() 385 rss->enable = true; in nicvf_rss_init() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 1146 struct mlx5e_rss_params *rss = &priv->rss_params; in mlx5e_get_rxfh() local 1149 memcpy(indir, rss->indirection_rqt, in mlx5e_get_rxfh() 1150 sizeof(rss->indirection_rqt)); in mlx5e_get_rxfh() 1153 memcpy(key, rss->toeplitz_hash_key, in mlx5e_get_rxfh() 1154 sizeof(rss->toeplitz_hash_key)); in mlx5e_get_rxfh() 1157 *hfunc = rss->hfunc; in mlx5e_get_rxfh() 1166 struct mlx5e_rss_params *rss = &priv->rss_params; in mlx5e_set_rxfh() local 1182 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != rss->hfunc) { in mlx5e_set_rxfh() 1183 rss->hfunc = hfunc; in mlx5e_set_rxfh() 1188 memcpy(rss->indirection_rqt, indir, in mlx5e_set_rxfh() [all …]
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 1018 struct rss_params *rss = &adapter->params.rss; in t4vf_get_rss_glb_config() local 1041 rss->mode = FW_RSS_GLB_CONFIG_CMD_MODE_G( in t4vf_get_rss_glb_config() 1043 switch (rss->mode) { in t4vf_get_rss_glb_config() 1048 rss->u.basicvirtual.synmapen = in t4vf_get_rss_glb_config() 1050 rss->u.basicvirtual.syn4tupenipv6 = in t4vf_get_rss_glb_config() 1052 rss->u.basicvirtual.syn2tupenipv6 = in t4vf_get_rss_glb_config() 1054 rss->u.basicvirtual.syn4tupenipv4 = in t4vf_get_rss_glb_config() 1056 rss->u.basicvirtual.syn2tupenipv4 = in t4vf_get_rss_glb_config() 1059 rss->u.basicvirtual.ofdmapen = in t4vf_get_rss_glb_config() 1062 rss->u.basicvirtual.tnlmapen = in t4vf_get_rss_glb_config() [all …]
|
D | cxgb4vf_main.c | 708 u16 rss[MAX_PORT_QSETS]; in setup_rss() local 712 rss[qs] = rxq[qs].rspq.abs_id; in setup_rss() 715 0, pi->rss_size, rss, pi->nqsets); in setup_rss() 722 switch (adapter->params.rss.mode) { in setup_rss() 731 if (!adapter->params.rss.u.basicvirtual.tnlalllookup) { in setup_rss() 2633 if (adapter->params.rss.mode != in adap_init0() 2636 " mode %d\n", adapter->params.rss.mode); in adap_init0()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 2381 struct qed_rss_params *rss) in qed_update_vport_rss() argument 2386 rss->update_rss_config = 1; in qed_update_vport_rss() 2387 rss->rss_enable = 1; in qed_update_vport_rss() 2388 rss->update_rss_capabilities = 1; in qed_update_vport_rss() 2389 rss->update_rss_ind_table = 1; in qed_update_vport_rss() 2390 rss->update_rss_key = 1; in qed_update_vport_rss() 2391 rss->rss_caps = input->rss_caps; in qed_update_vport_rss() 2392 memcpy(rss->rss_key, input->rss_key, QED_RSS_KEY_SIZE * sizeof(u32)); in qed_update_vport_rss() 2401 memcpy(rss->rss_ind_table, in qed_update_vport_rss() 2404 rss->rss_table_size_log = 7; in qed_update_vport_rss() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.c | 1982 struct bnx2x_config_rss_params rss; in bnx2x_vf_mbx_update_rss() local 1994 memset(&rss, 0, sizeof(struct bnx2x_config_rss_params)); in bnx2x_vf_mbx_update_rss() 1997 memcpy(rss.ind_table, rss_tlv->ind_table, in bnx2x_vf_mbx_update_rss() 1999 memcpy(rss.rss_key, rss_tlv->rss_key, sizeof(rss_tlv->rss_key)); in bnx2x_vf_mbx_update_rss() 2000 rss.rss_obj = &vf->rss_conf_obj; in bnx2x_vf_mbx_update_rss() 2001 rss.rss_result_mask = rss_tlv->rss_result_mask; in bnx2x_vf_mbx_update_rss() 2004 rss.rss_flags = 0; in bnx2x_vf_mbx_update_rss() 2005 rss.ramrod_flags = 0; in bnx2x_vf_mbx_update_rss() 2008 __set_bit(BNX2X_RSS_MODE_DISABLED, &rss.rss_flags); in bnx2x_vf_mbx_update_rss() 2010 __set_bit(BNX2X_RSS_MODE_REGULAR, &rss.rss_flags); in bnx2x_vf_mbx_update_rss() [all …]
|
/drivers/net/ethernet/intel/igc/ |
D | igc_base.h | 64 __le32 rss; /* RSS Hash */ member
|
/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 197 if (pdata->hw_feat.rss) in xlgmac_init() 441 hw_feat->rss = XLGMAC_GET_REG_BITS(mac_hfr1, in xlgmac_get_all_hw_features() 664 pdata->hw_feat.rss ? "YES" : "NO"); in xlgmac_print_all_hw_features()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_type.h | 219 __le32 rss; /* RSS Hash */ member 249 __le32 rss; /* RSS Hash */ member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_lib.c | 188 struct ixgbe_ring_feature *rss = &adapter->ring_feature[RING_F_RSS]; in ixgbe_cache_ring_sriov() local 206 if ((reg_idx & ~vmdq->mask) >= rss->indices) { in ixgbe_cache_ring_sriov() 230 if ((reg_idx & rss->mask) >= rss->indices) in ixgbe_cache_ring_sriov()
|
/drivers/net/ethernet/qlogic/qede/ |
D | qede_filter.c | 587 struct qed_update_vport_rss_params *rss, u8 *update) in qede_fill_rss_params() argument 593 memset(rss, 0, sizeof(*rss)); in qede_fill_rss_params() 621 rss->rss_ind_table[i] = edev->fp_array[idx].rxq->handle; in qede_fill_rss_params() 628 memcpy(rss->rss_key, edev->rss_key, sizeof(rss->rss_key)); in qede_fill_rss_params() 635 rss->rss_caps = edev->rss_caps; in qede_fill_rss_params()
|
/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.h | 75 __le32 rss; /* RSS Hash */ member
|
/drivers/net/ethernet/intel/igbvf/ |
D | vf.h | 52 u32 rss; /* RSS Hash */ member
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | defines.h | 219 __le32 rss; /* RSS Hash */ member
|
/drivers/net/ethernet/intel/e1000e/ |
D | hw.h | 213 __le32 rss; /* RSS Hash */ member 243 __le32 rss; /* RSS Hash */ member
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_debugfs.c | 91 i, rxd->d.data, rxd->d.rss, rxd->d.staterr, in fm10k_dbg_rx_desc_seq_show()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_type.h | 316 bool rss; member 670 __le32 rss; /* RSS Hash */ member 700 __le32 rss; /* RSS Hash */ member
|
/drivers/net/ethernet/emulex/benet/ |
D | be_main.c | 3566 struct rss_info *rss = &adapter->rss_info; in be_rx_qs_destroy() local 3594 if (rss->rss_flags) { in be_rx_qs_destroy() 3595 rss->rss_flags = RSS_ENABLE_NONE; in be_rx_qs_destroy() 3596 be_cmd_rss_config(adapter, rss->rsstable, rss->rss_flags, in be_rx_qs_destroy() 3597 128, rss->rss_hkey); in be_rx_qs_destroy() 3684 struct rss_info *rss = &adapter->rss_info; in be_rx_qs_create() local 3718 rss->rsstable[j + i] = rxo->rss_id; in be_rx_qs_create() 3719 rss->rss_queue[j + i] = i; in be_rx_qs_create() 3722 rss->rss_flags = RSS_ENABLE_TCP_IPV4 | RSS_ENABLE_IPV4 | in be_rx_qs_create() 3726 rss->rss_flags |= RSS_ENABLE_UDP_IPV4 | in be_rx_qs_create() [all …]
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.h | 473 struct nix_rsse_s rss; member 491 struct nix_rsse_s rss; member
|