Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore.h301 unsigned int sb_index, u16 pool_index,
304 unsigned int sb_index, u16 pool_index, u32 size,
308 unsigned int sb_index, u16 pool_index,
311 unsigned int sb_index, u16 pool_index,
314 unsigned int sb_index, u16 tc_index,
318 unsigned int sb_index, u16 tc_index,
323 unsigned int sb_index);
325 unsigned int sb_index);
327 unsigned int sb_index, u16 pool_index,
330 unsigned int sb_index, u16 tc_index,
Dspectrum.h503 unsigned int sb_index, u16 pool_index,
506 unsigned int sb_index, u16 pool_index, u32 size,
510 unsigned int sb_index, u16 pool_index,
513 unsigned int sb_index, u16 pool_index,
516 unsigned int sb_index, u16 tc_index,
520 unsigned int sb_index, u16 tc_index,
525 unsigned int sb_index);
527 unsigned int sb_index);
529 unsigned int sb_index, u16 pool_index,
532 unsigned int sb_index, u16 tc_index,
Dcore.c1207 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_pool_get() argument
1215 return mlxsw_driver->sb_pool_get(mlxsw_core, sb_index, in mlxsw_devlink_sb_pool_get()
1221 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_devlink_sb_pool_set() argument
1230 return mlxsw_driver->sb_pool_set(mlxsw_core, sb_index, in mlxsw_devlink_sb_pool_set()
1256 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_get() argument
1266 return mlxsw_driver->sb_port_pool_get(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_port_pool_get()
1271 unsigned int sb_index, u16 pool_index, in mlxsw_devlink_sb_port_pool_set() argument
1282 return mlxsw_driver->sb_port_pool_set(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_port_pool_set()
1288 unsigned int sb_index, u16 tc_index, in mlxsw_devlink_sb_tc_pool_bind_get() argument
1299 return mlxsw_driver->sb_tc_pool_bind_get(mlxsw_core_port, sb_index, in mlxsw_devlink_sb_tc_pool_bind_get()
[all …]
Dspectrum_buffers.c1329 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_pool_get() argument
1346 unsigned int sb_index, u16 pool_index, u32 size, in mlxsw_sp_sb_pool_set() argument
1413 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_port_pool_get() argument
1429 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_port_pool_set() argument
1454 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_get() argument
1474 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_tc_pool_bind_set() argument
1582 unsigned int sb_index) in mlxsw_sp_sb_occ_snapshot() argument
1651 unsigned int sb_index) in mlxsw_sp_sb_occ_max_clear() argument
1712 unsigned int sb_index, u16 pool_index, in mlxsw_sp_sb_occ_port_pool_get() argument
1728 unsigned int sb_index, u16 tc_index, in mlxsw_sp_sb_occ_tc_port_bind_get() argument
/kernel/linux/linux-5.10/include/net/
Ddevlink.h1181 int (*sb_pool_get)(struct devlink *devlink, unsigned int sb_index,
1184 int (*sb_pool_set)(struct devlink *devlink, unsigned int sb_index,
1189 unsigned int sb_index, u16 pool_index,
1192 unsigned int sb_index, u16 pool_index,
1195 unsigned int sb_index,
1200 unsigned int sb_index,
1206 unsigned int sb_index);
1208 unsigned int sb_index);
1210 unsigned int sb_index, u16 pool_index,
1213 unsigned int sb_index,
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Dnfp_devlink.c133 nfp_devlink_sb_pool_get(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_get() argument
138 return nfp_shared_buf_pool_get(pf, sb_index, pool_index, pool_info); in nfp_devlink_sb_pool_get()
142 nfp_devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, in nfp_devlink_sb_pool_set() argument
149 return nfp_shared_buf_pool_set(pf, sb_index, pool_index, in nfp_devlink_sb_pool_set()
/kernel/linux/linux-5.10/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.c639 req->rxq.sb_index = HC_INDEX_ETH_RX_CQ_CONS; in bnx2x_vfpf_setup_q()
656 req->txq.sb_index = HC_INDEX_ETH_TX_CQ_CONS_COS0; in bnx2x_vfpf_setup_q()
1566 init_p->tx.sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1579 txq_params->sb_cq_index = setup_q->txq.sb_index; in bnx2x_vf_mbx_setup_q()
1599 init_p->rx.sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
1622 rxq_params->sb_cq_index = setup_q->rxq.sb_index; in bnx2x_vf_mbx_setup_q()
Dbnx2x_cmn.c5076 u8 fw_sb_id, u8 sb_index, in storm_memset_hc_timeout() argument
5080 CSTORM_STATUS_BLOCK_DATA_TIMEOUT_OFFSET(fw_sb_id, sb_index); in storm_memset_hc_timeout()
5084 port, fw_sb_id, sb_index, ticks); in storm_memset_hc_timeout()
5088 u16 fw_sb_id, u8 sb_index, in storm_memset_hc_disable() argument
5093 CSTORM_STATUS_BLOCK_DATA_FLAGS_OFFSET(fw_sb_id, sb_index); in storm_memset_hc_disable()
5101 port, fw_sb_id, sb_index, disable); in storm_memset_hc_disable()
5105 u8 sb_index, u8 disable, u16 usec) in bnx2x_update_coalesce_sb_index() argument
5110 storm_memset_hc_timeout(bp, port, fw_sb_id, sb_index, ticks); in bnx2x_update_coalesce_sb_index()
5113 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);
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_sp_commands.c306 u8 sb_index = p_hwfn->p_eq->eq_sb_index; in qed_sp_pf_start() local
330 p_ramrod->event_ring_sb_index = sb_index; in qed_sp_pf_start()
411 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.c817 index = le16_to_cpu(p_sb_desc->sb_attn->sb_index); in qed_attn_update_idx()
1157 index = p_sb_attn->sb_index; in qed_int_attentions()
1162 } while (index != p_sb_attn->sb_index); in qed_int_attentions()
1163 p_sb_attn->sb_index = index; in qed_int_attentions()
Dqed_vf.c739 req->sb_index = p_cid->sb_idx; in qed_vf_pf_rxq_start()
853 req->sb_index = p_cid->sb_idx; in qed_vf_pf_txq_start()
Dqed_ll2.c959 p_ramrod->sb_index = p_rx->rx_sb_index; in qed_sp_ll2_rx_queue_start()
1030 p_ramrod->sb_index = p_tx->tx_sb_index; in qed_sp_ll2_tx_queue_start()
Dqed_hsi.h253 u8 sb_index; member
340 u8 sb_index; member
1410 __le16 sb_index; member
5718 u8 sb_index; member
5804 u8 sb_index; member
6854 u8 sb_index; member
Dqed_l2.c869 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_rxq_start_ramrod()
1090 p_ramrod->sb_index = p_cid->sb_idx; in qed_eth_txq_start_ramrod()
Dqed_rdma.c634 p_cnq_params->sb_index = p_hwfn->pf_params.rdma_pf_params.gl_pi; in qed_rdma_start_fw()
Dqed_sriov.c2125 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_rxq()
2461 params.sb_idx = req->sb_index; in qed_iov_vf_mbx_start_txq()
/kernel/linux/linux-5.10/fs/nilfs2/
Dsuper.c838 unsigned long long sb_index = pos; in nilfs_read_super_block() local
841 offset = do_div(sb_index, blocksize); in nilfs_read_super_block()
842 *pbh = sb_bread(sb, sb_index); in nilfs_read_super_block()
/kernel/linux/linux-5.10/net/core/
Ddevlink.c206 unsigned int sb_index) in devlink_sb_get_by_index() argument
211 if (devlink_sb->index == sb_index) in devlink_sb_get_by_index()
218 unsigned int sb_index) in devlink_sb_index_exists() argument
220 return devlink_sb_get_by_index(devlink, sb_index); in devlink_sb_index_exists()
227 u32 sb_index = nla_get_u32(attrs[DEVLINK_ATTR_SB_INDEX]); in devlink_sb_get_from_attrs() local
230 devlink_sb = devlink_sb_get_by_index(devlink, sb_index); in devlink_sb_get_from_attrs()
1386 static int devlink_sb_pool_set(struct devlink *devlink, unsigned int sb_index, in devlink_sb_pool_set() argument
1395 return ops->sb_pool_set(devlink, sb_index, pool_index, in devlink_sb_pool_set()
1600 unsigned int sb_index, u16 pool_index, in devlink_sb_port_pool_set() argument
1608 return ops->sb_port_pool_set(devlink_port, sb_index, in devlink_sb_port_pool_set()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic.c4878 u16 sb_id, u8 sb_index, in cnic_storm_memset_hc_disable() argument
4886 sizeof(struct hc_index_data)*sb_index + in cnic_storm_memset_hc_disable()