Searched refs:rss_table (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 1591 struct mvpp2_rss_table *rss_table = mvpp22_rss_table_get(port->priv, in mvpp22_port_rss_ctx_indir_set() local 1594 if (!rss_table) in mvpp22_port_rss_ctx_indir_set() 1597 memcpy(rss_table->indir, indir, in mvpp22_port_rss_ctx_indir_set() 1598 MVPP22_RSS_TABLE_ENTRIES * sizeof(rss_table->indir[0])); in mvpp22_port_rss_ctx_indir_set() 1600 mvpp22_rss_fill_table(port, rss_table, rss_ctx); in mvpp22_port_rss_ctx_indir_set() 1609 struct mvpp2_rss_table *rss_table = mvpp22_rss_table_get(port->priv, in mvpp22_port_rss_ctx_indir_get() local 1612 if (!rss_table) in mvpp22_port_rss_ctx_indir_get() 1615 memcpy(indir, rss_table->indir, in mvpp22_port_rss_ctx_indir_get() 1616 MVPP22_RSS_TABLE_ENTRIES * sizeof(rss_table->indir[0])); in mvpp22_port_rss_ctx_indir_get()
|
/linux-6.12.1/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 1162 int *rss_table; in enetc_init_port_rss_memory() local 1170 rss_table = kcalloc(num_rss, sizeof(*rss_table), GFP_KERNEL); in enetc_init_port_rss_memory() 1171 if (!rss_table) in enetc_init_port_rss_memory() 1174 err = enetc_set_rss_table(si, rss_table, num_rss); in enetc_init_port_rss_memory() 1176 kfree(rss_table); in enetc_init_port_rss_memory()
|
D | enetc.c | 2038 int *rss_table; in enetc_setup_default_rss_table() local 2041 rss_table = kmalloc_array(si->num_rss, sizeof(*rss_table), GFP_KERNEL); in enetc_setup_default_rss_table() 2042 if (!rss_table) in enetc_setup_default_rss_table() 2047 rss_table[i] = i % num_groups; in enetc_setup_default_rss_table() 2049 enetc_set_rss_table(si, rss_table, si->num_rss); in enetc_setup_default_rss_table() 2051 kfree(rss_table); in enetc_setup_default_rss_table()
|
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 527 return ARRAY_SIZE(pdata->rss_table); in xgbe_get_rxfh_indir_size() 537 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) in xgbe_get_rxfh() 538 rxfh->indir[i] = XGMAC_GET_BITS(pdata->rss_table[i], in xgbe_get_rxfh()
|
D | xgbe.h | 1199 u32 rss_table[XGBE_RSS_MAX_TABLE_SIZE]; member
|
D | xgbe-dev.c | 380 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()
|
D | xgbe-drv.c | 1333 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, in xgbe_start()
|
/linux-6.12.1/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 155 pdata->rss_table[i] = XLGMAC_SET_REG_BITS( in xlgmac_init() 156 pdata->rss_table[i], in xlgmac_init()
|
D | dwc-xlgmac.h | 624 u32 rss_table[XLGMAC_RSS_MAX_TABLE_SIZE]; member
|
D | dwc-xlgmac-hw.c | 2348 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()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 4612 if (vnic->rss_table) { in bnxt_free_vnic_attributes() 4614 vnic->rss_table, in bnxt_free_vnic_attributes() 4616 vnic->rss_table = NULL; in bnxt_free_vnic_attributes() 4683 vnic->rss_table = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_vnic_attributes() 4687 if (!vnic->rss_table) { in bnxt_alloc_vnic_attributes() 4692 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_attributes() 6278 vnic->rss_table[i] = cpu_to_le16(vnic->fw_grp_ids[j]); in bnxt_fill_hw_rss_tbl() 6285 __le16 *ring_tbl = vnic->rss_table; in bnxt_fill_hw_rss_tbl_p5() 10292 if (vnic->rss_table) in bnxt_del_one_rss_ctx() 10294 vnic->rss_table, in bnxt_del_one_rss_ctx()
|
D | bnxt_ethtool.c | 1225 vnic->rss_table = dma_alloc_coherent(&bp->pdev->dev, in bnxt_alloc_vnic_rss_table() 1229 if (!vnic->rss_table) in bnxt_alloc_vnic_rss_table() 1232 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_rss_table()
|
D | bnxt.h | 1265 __le16 *rss_table; member
|