Home
last modified time | relevance | path

Searched refs:rss_table (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_cls.c1595 struct mvpp2_rss_table *rss_table = mvpp22_rss_table_get(port->priv, in mvpp22_port_rss_ctx_indir_set() local
1598 if (!rss_table) in mvpp22_port_rss_ctx_indir_set()
1601 memcpy(rss_table->indir, indir, in mvpp22_port_rss_ctx_indir_set()
1602 MVPP22_RSS_TABLE_ENTRIES * sizeof(rss_table->indir[0])); in mvpp22_port_rss_ctx_indir_set()
1604 mvpp22_rss_fill_table(port, rss_table, rss_ctx); in mvpp22_port_rss_ctx_indir_set()
1613 struct mvpp2_rss_table *rss_table = mvpp22_rss_table_get(port->priv, in mvpp22_port_rss_ctx_indir_get() local
1616 if (!rss_table) in mvpp22_port_rss_ctx_indir_get()
1619 memcpy(indir, rss_table->indir, in mvpp22_port_rss_ctx_indir_get()
1620 MVPP22_RSS_TABLE_ENTRIES * sizeof(rss_table->indir[0])); in mvpp22_port_rss_ctx_indir_get()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c1077 int *rss_table; in enetc_init_port_rss_memory() local
1085 rss_table = kcalloc(num_rss, sizeof(*rss_table), GFP_KERNEL); in enetc_init_port_rss_memory()
1086 if (!rss_table) in enetc_init_port_rss_memory()
1089 err = enetc_set_rss_table(si, rss_table, num_rss); in enetc_init_port_rss_memory()
1091 kfree(rss_table); in enetc_init_port_rss_memory()
Denetc.c1090 int *rss_table; in enetc_setup_default_rss_table() local
1093 rss_table = kmalloc_array(si->num_rss, sizeof(*rss_table), GFP_KERNEL); in enetc_setup_default_rss_table()
1094 if (!rss_table) in enetc_setup_default_rss_table()
1099 rss_table[i] = i % num_groups; in enetc_setup_default_rss_table()
1101 enetc_set_rss_table(si, rss_table, si->num_rss); in enetc_setup_default_rss_table()
1103 kfree(rss_table); in enetc_setup_default_rss_table()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c520 return ARRAY_SIZE(pdata->rss_table); in xgbe_get_rxfh_indir_size()
530 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) in xgbe_get_rxfh()
531 indir[i] = XGMAC_GET_BITS(pdata->rss_table[i], in xgbe_get_rxfh()
Dxgbe-dev.c380 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) { in xgbe_write_rss_lookup_table()
383 pdata->rss_table[i]); in xgbe_write_rss_lookup_table()
403 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) in xgbe_set_rss_lookup_table()
404 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, table[i]); in xgbe_set_rss_lookup_table()
Dxgbe.h1165 u32 rss_table[XGBE_RSS_MAX_TABLE_SIZE]; member
Dxgbe-drv.c1319 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, in xgbe_start()
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-common.c157 pdata->rss_table[i] = XLGMAC_SET_REG_BITS( in xlgmac_init()
158 pdata->rss_table[i], in xlgmac_init()
Ddwc-xlgmac.h623 u32 rss_table[XLGMAC_RSS_MAX_TABLE_SIZE]; member
Ddwc-xlgmac-hw.c2348 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) { in xlgmac_write_rss_lookup_table()
2351 pdata->rss_table[i]); in xlgmac_write_rss_lookup_table()
2372 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) { in xlgmac_set_rss_lookup_table()
2374 pdata->rss_table[i] = XLGMAC_SET_REG_BITS( in xlgmac_set_rss_lookup_table()
2375 pdata->rss_table[i], in xlgmac_set_rss_lookup_table()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h1032 __le16 *rss_table; member
Dbnxt.c3692 if (vnic->rss_table) { in bnxt_free_vnic_attributes()
3694 vnic->rss_table, in bnxt_free_vnic_attributes()
3696 vnic->rss_table = NULL; in bnxt_free_vnic_attributes()
3763 vnic->rss_table = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_vnic_attributes()
3767 if (!vnic->rss_table) { in bnxt_alloc_vnic_attributes()
3772 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_attributes()
5166 vnic->rss_table[i] = cpu_to_le16(vnic->fw_grp_ids[j]); in __bnxt_fill_hw_rss_tbl()
5173 __le16 *ring_tbl = vnic->rss_table; in __bnxt_fill_hw_rss_tbl_p5()