Searched refs:rss_table (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 1595 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()
|
/Linux-v5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 520 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()
|
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.h | 1165 u32 rss_table[XGBE_RSS_MAX_TABLE_SIZE]; member
|
D | xgbe-drv.c | 1314 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, in xgbe_start()
|
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 1083 int *rss_table; in enetc_setup_default_rss_table() local 1086 rss_table = kmalloc_array(si->num_rss, sizeof(*rss_table), GFP_KERNEL); in enetc_setup_default_rss_table() 1087 if (!rss_table) in enetc_setup_default_rss_table() 1092 rss_table[i] = i % num_groups; in enetc_setup_default_rss_table() 1094 enetc_set_rss_table(si, rss_table, si->num_rss); in enetc_setup_default_rss_table() 1096 kfree(rss_table); in enetc_setup_default_rss_table()
|
/Linux-v5.10/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 157 pdata->rss_table[i] = XLGMAC_SET_REG_BITS( in xlgmac_init() 158 pdata->rss_table[i], in xlgmac_init()
|
D | dwc-xlgmac.h | 623 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-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 1025 __le16 *rss_table; member
|
D | bnxt.c | 3597 if (vnic->rss_table) { in bnxt_free_vnic_attributes() 3599 vnic->rss_table, in bnxt_free_vnic_attributes() 3601 vnic->rss_table = NULL; in bnxt_free_vnic_attributes() 3668 vnic->rss_table = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_vnic_attributes() 3672 if (!vnic->rss_table) { in bnxt_alloc_vnic_attributes() 3677 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_attributes() 5071 vnic->rss_table[i] = cpu_to_le16(vnic->fw_grp_ids[j]); in __bnxt_fill_hw_rss_tbl() 5078 __le16 *ring_tbl = vnic->rss_table; in __bnxt_fill_hw_rss_tbl_p5()
|