Searched refs:sqs (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_ethtool.c | 238 int sqs; in nicvf_get_strings() local 255 for (sqs = 0; sqs < nic->sqs_count; sqs++) { in nicvf_get_strings() 256 if (!nic->snicvf[sqs]) in nicvf_get_strings() 258 nicvf_get_qset_strings(nic->snicvf[sqs], &data, sqs + 1); in nicvf_get_strings() 276 int sqs; in nicvf_get_sset_count() local 283 for (sqs = 0; sqs < nic->sqs_count; sqs++) { in nicvf_get_sset_count() 286 snic = nic->snicvf[sqs]; in nicvf_get_sset_count() 326 int sqs, cpu; in nicvf_get_ethtool_stats() local 346 for (sqs = 0; sqs < nic->sqs_count; sqs++) { in nicvf_get_ethtool_stats() 347 if (!nic->snicvf[sqs]) in nicvf_get_ethtool_stats() [all …]
|
H A D | nic_main.c | 702 nic_send_msg_to_vf(nic, sqs, &mbx); in nic_send_pnicvf() 722 int sqs; in nic_nxt_avail_sqs() local 724 for (sqs = 0; sqs < nic->num_sqs_en; sqs++) { in nic_nxt_avail_sqs() 725 if (!nic->sqs_used[sqs]) in nic_nxt_avail_sqs() 726 nic->sqs_used[sqs] = true; in nic_nxt_avail_sqs() 729 return sqs + nic->num_vf_en; in nic_nxt_avail_sqs() 744 for (idx = 0; idx < sqs->qs_count; idx++) { in nic_alloc_sqs() 748 nic->vf_sqs[sqs->vf_id][idx] = sqs_id; in nic_alloc_sqs() 749 nic->pqs_vf[sqs_id] = sqs->vf_id; in nic_alloc_sqs() 755 mbx.sqs_alloc.vf_id = sqs->vf_id; in nic_alloc_sqs() [all …]
|
H A D | nicvf_main.c | 404 int sqs; in nicvf_request_sqs() local 433 for (sqs = 0; sqs < nic->sqs_count; sqs++) { in nicvf_request_sqs() 436 mbx.nicvf.sqs_id = sqs; in nicvf_request_sqs() 439 nic->snicvf[sqs]->sqs_id = sqs; in nicvf_request_sqs() 441 nic->snicvf[sqs]->qs->rq_cnt = MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs() 444 nic->snicvf[sqs]->qs->rq_cnt = rx_queues; in nicvf_request_sqs() 449 nic->snicvf[sqs]->qs->sq_cnt = MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs() 452 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs() 456 nic->snicvf[sqs]->qs->cq_cnt = in nicvf_request_sqs() 457 max(nic->snicvf[sqs]->qs->rq_cnt, nic->snicvf[sqs]->qs->sq_cnt); in nicvf_request_sqs() [all …]
|
H A D | nicvf_queues.c | 713 int sqs; in nicvf_config_vlan_stripping() local 725 for (sqs = 0; sqs < nic->sqs_count; sqs++) in nicvf_config_vlan_stripping() 726 if (nic->snicvf[sqs]) in nicvf_config_vlan_stripping() 727 nicvf_queue_reg_write(nic->snicvf[sqs], in nicvf_config_vlan_stripping()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | qos.c | 269 struct mlx5e_txqsq **sqs; in mlx5e_qos_alloc_queues() local 271 sqs = kvcalloc(qos_sqs_size, sizeof(struct mlx5e_txqsq *), GFP_KERNEL); in mlx5e_qos_alloc_queues() 272 if (!sqs) in mlx5e_qos_alloc_queues() 277 rcu_assign_pointer(chs->c[i]->qos_sqs, sqs); in mlx5e_qos_alloc_queues() 284 struct mlx5e_txqsq **sqs; in mlx5e_qos_alloc_queues() local 286 sqs = rcu_replace_pointer(chs->c[i]->qos_sqs, NULL, in mlx5e_qos_alloc_queues() 290 kvfree(sqs); in mlx5e_qos_alloc_queues()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 519 u32 *sqs; in mlx5e_add_sqs_fwd_rules() local 530 sqs = kvcalloc(nch * sqs_per_channel, sizeof(*sqs), GFP_KERNEL); in mlx5e_add_sqs_fwd_rules() 531 if (!sqs) in mlx5e_add_sqs_fwd_rules() 537 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules() 541 sqs[num_sqs++] = c->rq_xdpsq.sqn; in mlx5e_add_sqs_fwd_rules() 543 sqs[num_sqs++] = c->xdpsq.sqn; in mlx5e_add_sqs_fwd_rules() 550 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules() 553 err = mlx5e_sqs2vport_start(esw, rep, sqs, num_sqs); in mlx5e_add_sqs_fwd_rules() 554 kvfree(sqs); in mlx5e_add_sqs_fwd_rules()
|
/openbmc/linux/drivers/nvme/target/ |
H A D | core.c | 783 ctrl->sqs[qid] = sq; in nvmet_sq_setup() 801 if (ctrl && ctrl->sqs && ctrl->sqs[0] == sq) in nvmet_sq_destroy() 826 sq->ctrl->sqs[sq->qid] = NULL; in nvmet_sq_destroy() 1435 ctrl->sqs = kcalloc(subsys->max_qid + 1, in nvmet_alloc_ctrl() 1438 if (!ctrl->sqs) in nvmet_alloc_ctrl() 1477 kfree(ctrl->sqs); in nvmet_alloc_ctrl() 1508 kfree(ctrl->sqs); in nvmet_ctrl_free()
|
H A D | fabrics-cmd.c | 154 if (ctrl->sqs[qid] != NULL) { in nvmet_install_queue() 189 ctrl->sqs[qid] = NULL; in nvmet_install_queue()
|
H A D | nvmet.h | 183 struct nvmet_sq **sqs; member
|
/openbmc/phosphor-snmp/docs/ |
H A D | snmp-configuration.md | 45 …ject/network/snmp/manager xyz.openbmc_project.Network.Client.Create Client sqs "<snmp manager ip>"…
|