Home
last modified time | relevance | path

Searched refs:sb_index (Results 1 – 22 of 22) sorted by relevance

/drivers/net/ethernet/mscc/
Docelot_devlink.c505 int ocelot_sb_pool_get(struct ocelot *ocelot, unsigned int sb_index, in ocelot_sb_pool_get() argument
509 if (sb_index >= OCELOT_SB_NUM) in ocelot_sb_pool_get()
514 *pool_info = ocelot_sb_pool[sb_index]; in ocelot_sb_pool_get()
515 pool_info->size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_get()
530 int ocelot_sb_pool_set(struct ocelot *ocelot, unsigned int sb_index, in ocelot_sb_pool_set() argument
538 if (sb_index >= OCELOT_SB_NUM) { in ocelot_sb_pool_set()
554 old_pool_size = ocelot->pool_size[sb_index][pool_index]; in ocelot_sb_pool_set()
555 ocelot->pool_size[sb_index][pool_index] = size; in ocelot_sb_pool_set()
559 ocelot->pool_size[sb_index][pool_index] = old_pool_size; in ocelot_sb_pool_set()
571 unsigned int sb_index, u16 pool_index, in ocelot_sb_port_pool_get() argument
[all …]
Docelot_net.c45 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_pool_get() argument
50 return ocelot_sb_pool_get(ocelot, sb_index, pool_index, pool_info); in ocelot_devlink_sb_pool_get()
53 static int ocelot_devlink_sb_pool_set(struct devlink *dl, unsigned int sb_index, in ocelot_devlink_sb_pool_set() argument
60 return ocelot_sb_pool_set(ocelot, sb_index, pool_index, size, in ocelot_devlink_sb_pool_set()
65 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_port_pool_get() argument
71 return ocelot_sb_port_pool_get(ocelot, port, sb_index, pool_index, in ocelot_devlink_sb_port_pool_get()
76 unsigned int sb_index, u16 pool_index, in ocelot_devlink_sb_port_pool_set() argument
83 return ocelot_sb_port_pool_set(ocelot, port, sb_index, pool_index, in ocelot_devlink_sb_port_pool_set()
89 unsigned int sb_index, u16 tc_index, in ocelot_devlink_sb_tc_pool_bind_get() argument
96 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index, in ocelot_devlink_sb_tc_pool_bind_get()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h361 unsigned int sb_index, u16 pool_index,
364 unsigned int sb_index, u16 pool_index, u32 size,
368 unsigned int sb_index, u16 pool_index,
371 unsigned int sb_index, u16 pool_index,
374 unsigned int sb_index, u16 tc_index,
378 unsigned int sb_index, u16 tc_index,
383 unsigned int sb_index);
385 unsigned int sb_index);
387 unsigned int sb_index, u16 pool_index,
390 unsigned int sb_index, u16 tc_index,
Dspectrum.h582 unsigned int sb_index, u16 pool_index,
585 unsigned int sb_index, u16 pool_index, u32 size,
589 unsigned int sb_index, u16 pool_index,
592 unsigned int sb_index, u16 pool_index,
595 unsigned int sb_index, u16 tc_index,
599 unsigned int sb_index, u16 tc_index,
604 unsigned int sb_index);
606 unsigned int sb_index);
608 unsigned int sb_index, u16 pool_index,
611 unsigned int sb_index, u16 tc_index,
Dcore.c1299 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_pool_get() argument
1307 return mlxsw_driver->sb_pool_get(mlxsw_core, sb_index, in mlxsw_devlink_sb_pool_get()
1313 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_devlink_sb_pool_set() argument
1322 return mlxsw_driver->sb_pool_set(mlxsw_core, sb_index, in mlxsw_devlink_sb_pool_set()
1328 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_get() argument
1338 return mlxsw_driver->sb_port_pool_get(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_port_pool_get()
1343 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_set() argument
1354 return mlxsw_driver->sb_port_pool_set(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_port_pool_set()
1360 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_tc_pool_bind_get() argument
1371 return mlxsw_driver->sb_tc_pool_bind_get(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_tc_pool_bind_get()
[all …]
Dspectrum_buffers.c1355 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_pool_get() argument
1372 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_sp_sb_pool_set() argument
1439 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_port_pool_get() argument
1455 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_port_pool_set() argument
1480 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_get() argument
1500 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_set() argument
1608 unsigned int sb_index) in mlxsw_sp_sb_occ_snapshot() argument
1684 unsigned int sb_index) in mlxsw_sp_sb_occ_max_clear() argument
1754 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_occ_port_pool_get() argument
1770 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_occ_tc_port_bind_get() argument
/drivers/net/dsa/ocelot/
Dfelix.c1875 static int felix_sb_pool_get(struct dsa_switch *ds, unsigned int sb_index, in felix_sb_pool_get() argument
1881 return ocelot_sb_pool_get(ocelot, sb_index, pool_index, pool_info); in felix_sb_pool_get()
1884 static int felix_sb_pool_set(struct dsa_switch *ds, unsigned int sb_index, in felix_sb_pool_set() argument
1891 return ocelot_sb_pool_set(ocelot, sb_index, pool_index, size, in felix_sb_pool_set()
1896 unsigned int sb_index, u16 pool_index, in felix_sb_port_pool_get() argument
1901 return ocelot_sb_port_pool_get(ocelot, port, sb_index, pool_index, in felix_sb_port_pool_get()
1906 unsigned int sb_index, u16 pool_index, in felix_sb_port_pool_set() argument
1911 return ocelot_sb_port_pool_set(ocelot, port, sb_index, pool_index, in felix_sb_port_pool_set()
1916 unsigned int sb_index, u16 tc_index, in felix_sb_tc_pool_bind_get() argument
1922 return ocelot_sb_tc_pool_bind_get(ocelot, port, sb_index, tc_index, in felix_sb_tc_pool_bind_get()
[all …]
/drivers/net/ethernet/netronome/nfp/
Dnfp_devlink.c116 nfp_devlink_sb_pool_get(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_get() argument
121 return nfp_shared_buf_pool_get(pf, sb_index, pool_index, pool_info); in nfp_devlink_sb_pool_get()
125 nfp_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_set() argument
132 return nfp_shared_buf_pool_set(pf, sb_index, pool_index, in nfp_devlink_sb_pool_set()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h253 u8 sb_index; /* Index in the SB */ member
281 u8 sb_index; /* Index in the SB */ member
Dbnx2x_vfpf.c638 req->rxq.sb_index = HC_INDEX_ETH_RX_CQ_CONS; in bnx2x_vfpf_setup_q()
655 req->txq.sb_index = HC_INDEX_ETH_TX_CQ_CONS_COS0; in bnx2x_vfpf_setup_q()
1565 init_p->tx.sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1578 txq_params->sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1598 init_p->rx.sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
1621 rxq_params->sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
Dbnx2x_cmn.c5075 u8 fw_sb_id, u8 sb_index, in storm_memset_hc_timeout() argument
5079 CSTORM_STATUS_BLOCK_DATA_TIMEOUT_OFFSET(fw_sb_id, sb_index); in storm_memset_hc_timeout()
5083 port, fw_sb_id, sb_index, ticks); in storm_memset_hc_timeout()
5087 u16 fw_sb_id, u8 sb_index, in storm_memset_hc_disable() argument
5092 CSTORM_STATUS_BLOCK_DATA_FLAGS_OFFSET(fw_sb_id, sb_index); in storm_memset_hc_disable()
5100 port, fw_sb_id, sb_index, disable); in storm_memset_hc_disable()
5104 u8 sb_index, u8 disable, u16 usec) in bnx2x_update_coalesce_sb_index() argument
5109 storm_memset_hc_timeout(bp, port, fw_sb_id, sb_index, ticks); in bnx2x_update_coalesce_sb_index()
5112 storm_memset_hc_disable(bp, port, fw_sb_id, sb_index, disable); in bnx2x_update_coalesce_sb_index()
Dbnx2x_cmn.h1274 u8 sb_index, u8 disable, u16 usec);
/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c308 u8 sb_index = p_hwfn->p_eq->eq_sb_index; in qed_sp_pf_start() local
332 p_ramrod->event_ring_sb_index = sb_index; in qed_sp_pf_start()
418 sb, sb_index, outer_tag_config->outer_tag.tci); in qed_sp_pf_start()
Dqed_vf.h253 u8 sb_index; member
269 u8 sb_index; member
Dqed_int.c830 index = le16_to_cpu(p_sb_desc->sb_attn->sb_index); in qed_attn_update_idx()
1177 index = p_sb_attn->sb_index; in qed_int_attentions()
1182 } while (index != p_sb_attn->sb_index); in qed_int_attentions()
1183 p_sb_attn->sb_index = index; in qed_int_attentions()
Dqed_vf.c747 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
861 req->sb_index = p_cid->sb_idx; in qed_vf_pf_txq_start()
Dqed_hsi.h290 u8 sb_index; member
377 u8 sb_index; member
1485 __le16 sb_index; member
4135 u8 sb_index; member
4221 u8 sb_index; member
6113 u8 sb_index; member
Dqed_ll2.c986 p_ramrod->sb_index = p_rx->rx_sb_index; in qed_sp_ll2_rx_queue_start()
1058 p_ramrod->sb_index = p_tx->tx_sb_index; in qed_sp_ll2_tx_queue_start()
Dqed_l2.c870 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_rxq_start_ramrod()
1092 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_txq_start_ramrod()
Dqed_rdma.c607 p_cnq_params->sb_index = p_hwfn->pf_params.rdma_pf_params.gl_pi; in qed_rdma_start_fw()
Dqed_sriov.c2127 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_rxq()
2463 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_txq()
/drivers/net/ethernet/broadcom/
Dcnic.c4877 u16 sb_id, u8 sb_index, in cnic_storm_memset_hc_disable() argument
4885 sizeof(struct hc_index_data)*sb_index + in cnic_storm_memset_hc_disable()