Searched refs:rss_table (Results 1 – 12 of 12) sorted by relevance
/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_cls.c | 1601 struct mvpp2_rss_table *rss_table = mvpp22_rss_table_get(port->priv, in mvpp22_port_rss_ctx_indir_set() local 1604 if (!rss_table) in mvpp22_port_rss_ctx_indir_set() 1607 memcpy(rss_table->indir, indir, in mvpp22_port_rss_ctx_indir_set() 1608 MVPP22_RSS_TABLE_ENTRIES * sizeof(rss_table->indir[0])); in mvpp22_port_rss_ctx_indir_set() 1610 mvpp22_rss_fill_table(port, rss_table, rss_ctx); in mvpp22_port_rss_ctx_indir_set() 1619 struct mvpp2_rss_table *rss_table = mvpp22_rss_table_get(port->priv, in mvpp22_port_rss_ctx_indir_get() local 1622 if (!rss_table) in mvpp22_port_rss_ctx_indir_get() 1625 memcpy(indir, rss_table->indir, in mvpp22_port_rss_ctx_indir_get() 1626 MVPP22_RSS_TABLE_ENTRIES * sizeof(rss_table->indir[0])); in mvpp22_port_rss_ctx_indir_get()
|
/drivers/net/ethernet/freescale/enetc/ |
D | enetc_pf.c | 1185 int *rss_table; in enetc_init_port_rss_memory() local 1193 rss_table = kcalloc(num_rss, sizeof(*rss_table), GFP_KERNEL); in enetc_init_port_rss_memory() 1194 if (!rss_table) in enetc_init_port_rss_memory() 1197 err = enetc_set_rss_table(si, rss_table, num_rss); in enetc_init_port_rss_memory() 1199 kfree(rss_table); in enetc_init_port_rss_memory()
|
D | enetc.c | 1660 int *rss_table; in enetc_setup_default_rss_table() local 1663 rss_table = kmalloc_array(si->num_rss, sizeof(*rss_table), GFP_KERNEL); in enetc_setup_default_rss_table() 1664 if (!rss_table) in enetc_setup_default_rss_table() 1669 rss_table[i] = i % num_groups; in enetc_setup_default_rss_table() 1671 enetc_set_rss_table(si, rss_table, si->num_rss); in enetc_setup_default_rss_table() 1673 kfree(rss_table); in enetc_setup_default_rss_table()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ethtool.c | 529 return ARRAY_SIZE(pdata->rss_table); in xgbe_get_rxfh_indir_size() 539 for (i = 0; i < ARRAY_SIZE(pdata->rss_table); i++) in xgbe_get_rxfh() 540 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 | 1166 u32 rss_table[XGBE_RSS_MAX_TABLE_SIZE]; member
|
D | xgbe-drv.c | 1333 XGMAC_SET_BITS(pdata->rss_table[i], MAC_RSSDR, DMCH, in xgbe_start()
|
/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-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()
|
D | dwc-xlgmac.h | 623 u32 rss_table[XLGMAC_RSS_MAX_TABLE_SIZE]; member
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 3914 if (vnic->rss_table) { in bnxt_free_vnic_attributes() 3916 vnic->rss_table, in bnxt_free_vnic_attributes() 3918 vnic->rss_table = NULL; in bnxt_free_vnic_attributes() 3985 vnic->rss_table = dma_alloc_coherent(&pdev->dev, in bnxt_alloc_vnic_attributes() 3989 if (!vnic->rss_table) { in bnxt_alloc_vnic_attributes() 3994 vnic->rss_hash_key = ((void *)vnic->rss_table) + size; in bnxt_alloc_vnic_attributes() 5112 vnic->rss_table[i] = cpu_to_le16(vnic->fw_grp_ids[j]); in __bnxt_fill_hw_rss_tbl() 5119 __le16 *ring_tbl = vnic->rss_table; in __bnxt_fill_hw_rss_tbl_p5()
|
D | bnxt.h | 1036 __le16 *rss_table; member
|