/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
D | ena_com.c | 1051 return ena_dev->rss.hash_func; in ena_com_get_current_hash_function() 1057 (ena_dev->rss).hash_key; in ena_com_hash_key_fill_default_key() 1068 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_allocate() local 1074 rss->hash_key = in ena_com_hash_key_allocate() 1075 dma_alloc_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_allocate() 1076 &rss->hash_key_dma_addr, GFP_KERNEL); in ena_com_hash_key_allocate() 1078 if (unlikely(!rss->hash_key)) in ena_com_hash_key_allocate() 1086 struct ena_rss *rss = &ena_dev->rss; in ena_com_hash_key_destroy() local 1088 if (rss->hash_key) in ena_com_hash_key_destroy() 1089 dma_free_coherent(ena_dev->dmadev, sizeof(*rss->hash_key), in ena_com_hash_key_destroy() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 422 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_get_rss_hash_opts() local 424 if (!(rss->flowkey_cfg & in otx2_get_rss_hash_opts() 430 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_VLAN) in otx2_get_rss_hash_opts() 436 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_TCP) in otx2_get_rss_hash_opts() 441 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_UDP) in otx2_get_rss_hash_opts() 446 if (rss->flowkey_cfg & NIX_FLOW_KEY_TYPE_SCTP) in otx2_get_rss_hash_opts() 467 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_set_rss_hash_opts() local 469 u32 rss_cfg = rss->flowkey_cfg; in otx2_set_rss_hash_opts() 471 if (!rss->enable) { in otx2_set_rss_hash_opts() 537 rss->flowkey_cfg = rss_cfg; in otx2_set_rss_hash_opts() [all …]
|
D | otx2_common.c | 250 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_set_flowkey_cfg() local 261 req->flowkey_cfg = rss->flowkey_cfg; in otx2_set_flowkey_cfg() 271 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_set_rss_table() local 278 for (idx = 0; idx < rss->rss_size; idx++) { in otx2_set_rss_table() 296 aq->rss.rq = rss->ind_tbl[idx]; in otx2_set_rss_table() 310 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_set_rss_key() local 311 u64 *key = (u64 *)&rss->key[4]; in otx2_set_rss_key() 323 (u64)(*((u32 *)&rss->key)) << 32); in otx2_set_rss_key() 324 idx = sizeof(rss->key) / sizeof(u64); in otx2_set_rss_key() 333 struct otx2_rss_info *rss = &pfvf->hw.rss_info; in otx2_rss_init() local [all …]
|
D | otx2_txrx.c | 170 struct otx2_rss_info *rss; in otx2_set_rxhash() local 176 rss = &pfvf->hw.rss_info; in otx2_set_rxhash() 177 if (rss->flowkey_cfg) { in otx2_set_rxhash() 178 if (rss->flowkey_cfg & in otx2_set_rxhash()
|
/kernel/linux/linux-5.10/include/linux/ |
D | percpu-rwsem.h | 13 struct rcu_sync rss; member 32 .rss = __RCU_SYNC_INITIALIZER(name.rss), \ 62 if (likely(rcu_sync_is_idle(&sem->rss))) in percpu_down_read() 81 if (likely(rcu_sync_is_idle(&sem->rss))) in percpu_down_read_trylock() 105 if (likely(rcu_sync_is_idle(&sem->rss))) { in percpu_up_read()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/build/test/moduletest/runtest/bin/rss_monitor_t/testcases/bin/ |
D | rss_monitor01.sh | 39 rss=$(cat /proc/$pid/rss | awk -F ':' '{print$2}'| awk '{print$1}') 41 if [ "$rss"x = "$statusVMRss"x ]; then
|
/kernel/linux/linux-5.10/kernel/locking/ |
D | percpu-rwsem.c | 19 rcu_sync_init(&sem->rss); in __percpu_init_rwsem() 40 rcu_sync_dtor(&sem->rss); in percpu_free_rwsem() 220 rcu_sync_enter(&sem->rss); in percpu_down_write() 268 rcu_sync_exit(&sem->rss); in percpu_up_write()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_ethtool.c | 559 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_set_rss_hash_opts() local 562 if (!rss->enable) in nicvf_set_rss_hash_opts() 653 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_get_rxfh() local 657 for (idx = 0; idx < rss->rss_size; idx++) in nicvf_get_rxfh() 658 indir[idx] = rss->ind_tbl[idx]; in nicvf_get_rxfh() 662 memcpy(hkey, rss->key, RSS_HASH_KEY_SIZE * sizeof(u64)); in nicvf_get_rxfh() 674 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_set_rxfh() local 680 if (!rss->enable) { in nicvf_set_rxfh() 687 for (idx = 0; idx < rss->rss_size; idx++) in nicvf_set_rxfh() 688 rss->ind_tbl[idx] = indir[idx]; in nicvf_set_rxfh() [all …]
|
D | nicvf_main.c | 337 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_config_rss() local 338 int ind_tbl_len = rss->rss_size; in nicvf_config_rss() 342 mbx.rss_cfg.hash_bits = rss->hash_bits; in nicvf_config_rss() 351 mbx.rss_cfg.ind_tbl[i] = rss->ind_tbl[nextq++]; in nicvf_config_rss() 361 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_set_rss_key() local 366 nicvf_reg_write(nic, key_addr, rss->key[idx]); in nicvf_set_rss_key() 373 struct nicvf_rss_info *rss = &nic->rss_info; in nicvf_rss_init() local 379 rss->enable = false; in nicvf_rss_init() 380 rss->hash_bits = 0; in nicvf_rss_init() 384 rss->enable = true; in nicvf_rss_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 838 return sizeof(priv->rss.key); in stmmac_get_rxfh_key_size() 845 return ARRAY_SIZE(priv->rss.table); in stmmac_get_rxfh_indir_size() 855 for (i = 0; i < ARRAY_SIZE(priv->rss.table); i++) in stmmac_get_rxfh() 856 indir[i] = priv->rss.table[i]; in stmmac_get_rxfh() 860 memcpy(key, priv->rss.key, sizeof(priv->rss.key)); in stmmac_get_rxfh() 877 for (i = 0; i < ARRAY_SIZE(priv->rss.table); i++) in stmmac_set_rxfh() 878 priv->rss.table[i] = indir[i]; in stmmac_set_rxfh() 882 memcpy(priv->rss.key, key, sizeof(priv->rss.key)); in stmmac_set_rxfh() 884 return stmmac_rss_configure(priv, priv->hw, &priv->rss, in stmmac_set_rxfh()
|
D | stmmac_selftests.c | 824 if (!priv->dma_cap.rssen || !priv->rss.enable) in stmmac_test_rss() 1345 if (priv->rss.enable) { in __stmmac_test_l3filt() 1346 old_enable = priv->rss.enable; in __stmmac_test_l3filt() 1347 priv->rss.enable = false; in __stmmac_test_l3filt() 1419 priv->rss.enable = old_enable; in __stmmac_test_l3filt() 1420 stmmac_rss_configure(priv, priv->hw, &priv->rss, in __stmmac_test_l3filt() 1471 if (priv->rss.enable) { in __stmmac_test_l4filt() 1472 old_enable = priv->rss.enable; in __stmmac_test_l4filt() 1473 priv->rss.enable = false; in __stmmac_test_l4filt() 1550 priv->rss.enable = old_enable; in __stmmac_test_l4filt() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 1016 struct rss_params *rss = &adapter->params.rss; in t4vf_get_rss_glb_config() local 1039 rss->mode = FW_RSS_GLB_CONFIG_CMD_MODE_G( in t4vf_get_rss_glb_config() 1041 switch (rss->mode) { in t4vf_get_rss_glb_config() 1046 rss->u.basicvirtual.synmapen = in t4vf_get_rss_glb_config() 1048 rss->u.basicvirtual.syn4tupenipv6 = in t4vf_get_rss_glb_config() 1050 rss->u.basicvirtual.syn2tupenipv6 = in t4vf_get_rss_glb_config() 1052 rss->u.basicvirtual.syn4tupenipv4 = in t4vf_get_rss_glb_config() 1054 rss->u.basicvirtual.syn2tupenipv4 = in t4vf_get_rss_glb_config() 1057 rss->u.basicvirtual.ofdmapen = in t4vf_get_rss_glb_config() 1060 rss->u.basicvirtual.tnlmapen = in t4vf_get_rss_glb_config() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_ethtool.c | 1203 struct mlx5e_rss_params *rss = &priv->rss_params; in mlx5e_get_rxfh() local 1206 memcpy(indir, rss->indirection_rqt, in mlx5e_get_rxfh() 1207 sizeof(rss->indirection_rqt)); in mlx5e_get_rxfh() 1210 memcpy(key, rss->toeplitz_hash_key, in mlx5e_get_rxfh() 1211 sizeof(rss->toeplitz_hash_key)); in mlx5e_get_rxfh() 1214 *hfunc = rss->hfunc; in mlx5e_get_rxfh() 1223 struct mlx5e_rss_params *rss = &priv->rss_params; in mlx5e_set_rxfh() local 1240 if (hfunc != ETH_RSS_HASH_NO_CHANGE && hfunc != rss->hfunc) { in mlx5e_set_rxfh() 1241 rss->hfunc = hfunc; in mlx5e_set_rxfh() 1247 memcpy(rss->indirection_rqt, indir, in mlx5e_set_rxfh() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_l2.c | 2365 struct qed_rss_params *rss) in qed_update_vport_rss() argument 2370 rss->update_rss_config = 1; in qed_update_vport_rss() 2371 rss->rss_enable = 1; in qed_update_vport_rss() 2372 rss->update_rss_capabilities = 1; in qed_update_vport_rss() 2373 rss->update_rss_ind_table = 1; in qed_update_vport_rss() 2374 rss->update_rss_key = 1; in qed_update_vport_rss() 2375 rss->rss_caps = input->rss_caps; in qed_update_vport_rss() 2376 memcpy(rss->rss_key, input->rss_key, QED_RSS_KEY_SIZE * sizeof(u32)); in qed_update_vport_rss() 2385 memcpy(rss->rss_ind_table, in qed_update_vport_rss() 2388 rss->rss_table_size_log = 7; in qed_update_vport_rss() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_base.h | 64 __le32 rss; /* RSS Hash */ member
|
/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/ |
D | mem_debug07.sh | 46 | grep rss | grep nptes | grep swap | grep adj | grep s | grep name)
|
/kernel/linux/linux-5.10/mm/ |
D | memory.c | 480 static inline void init_rss_vec(int *rss) in init_rss_vec() argument 482 memset(rss, 0, sizeof(int) * NR_MM_COUNTERS); in init_rss_vec() 485 static inline void add_mm_rss_vec(struct mm_struct *mm, int *rss) in add_mm_rss_vec() argument 492 if (rss[i]) in add_mm_rss_vec() 493 add_mm_counter(mm, i, rss[i]); in add_mm_rss_vec() 702 struct vm_area_struct *src_vma, unsigned long addr, int *rss) in copy_nonpresent_pte() argument 721 rss[MM_SWAPENTS]++; in copy_nonpresent_pte() 725 rss[mm_counter(page)]++; in copy_nonpresent_pte() 754 rss[mm_counter(page)]++; in copy_nonpresent_pte() 801 pte_t *dst_pte, pte_t *src_pte, unsigned long addr, int *rss, in copy_present_page() argument [all …]
|
/kernel/linux/linux-5.10/arch/sparc/mm/ |
D | tsb.c | 396 void tsb_grow(struct mm_struct *mm, unsigned long tsb_index, unsigned long rss) in tsb_grow() argument 411 if (new_rss_limit > rss) in tsb_grow() 487 (rss < mm->context.tsb_block[tsb_index].tsb_rss_limit))) { in tsb_grow()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
D | hisilicon-hns-dsaf.txt | 9 "6port-16rss", 60 mode = "6port-16rss";
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_type.h | 211 __le32 rss; /* RSS Hash */ member 241 __le32 rss; /* RSS Hash */ member
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.h | 75 __le32 rss; /* RSS Hash */ member
|