Searched refs:sqs (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | nic_main.c | 696 static void nic_send_pnicvf(struct nicpf *nic, int sqs) in nic_send_pnicvf() argument 701 mbx.nicvf.nicvf = nic->nicvf[nic->pqs_vf[sqs]]; in nic_send_pnicvf() 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() 735 static void nic_alloc_sqs(struct nicpf *nic, struct sqs_alloc *sqs) in nic_alloc_sqs() argument 744 for (idx = 0; idx < sqs->qs_count; idx++) { in nic_alloc_sqs() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | qos.c | 277 struct mlx5e_txqsq **sqs; in mlx5e_qos_alloc_queues() local 279 sqs = kvcalloc(qos_sqs_size, sizeof(struct mlx5e_txqsq *), GFP_KERNEL); in mlx5e_qos_alloc_queues() 280 if (!sqs) in mlx5e_qos_alloc_queues() 285 rcu_assign_pointer(chs->c[i]->qos_sqs, sqs); in mlx5e_qos_alloc_queues() 292 struct mlx5e_txqsq **sqs; in mlx5e_qos_alloc_queues() local 294 sqs = rcu_replace_pointer(chs->c[i]->qos_sqs, NULL, in mlx5e_qos_alloc_queues() 298 kvfree(sqs); in mlx5e_qos_alloc_queues()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rep.c | 581 u32 *sqs; in mlx5e_add_sqs_fwd_rules() local 592 sqs = kvcalloc(nch * sqs_per_channel, sizeof(*sqs), GFP_KERNEL); in mlx5e_add_sqs_fwd_rules() 593 if (!sqs) in mlx5e_add_sqs_fwd_rules() 599 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules() 603 sqs[num_sqs++] = c->rq_xdpsq.sqn; in mlx5e_add_sqs_fwd_rules() 606 sqs[num_sqs++] = c->xdpsq->sqn; in mlx5e_add_sqs_fwd_rules() 613 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules() 616 err = mlx5e_sqs2vport_start(esw, rep, sqs, num_sqs); in mlx5e_add_sqs_fwd_rules() 617 kvfree(sqs); in mlx5e_add_sqs_fwd_rules()
|
| /linux/drivers/nvme/target/ |
| H A D | core.c | 852 ctrl->sqs[qid] = sq; in nvmet_sq_setup() 912 if (!ctrl->sqs) in nvmet_check_sqid() 918 if ((create && ctrl->sqs[sqid]) || in nvmet_check_sqid() 919 (!create && !ctrl->sqs[sqid])) in nvmet_check_sqid() 963 if (ctrl && ctrl->sqs && ctrl->sqs[0] == sq) in nvmet_sq_destroy() 989 sq->ctrl->sqs[sq->qid] = NULL; in nvmet_sq_destroy() 1644 ctrl->sqs = kcalloc(subsys->max_qid + 1, in nvmet_alloc_ctrl() 1647 if (!ctrl->sqs) in nvmet_alloc_ctrl() 1722 kfree(ctrl->sqs); in nvmet_alloc_ctrl() 1756 kfree(ctrl->sqs); in nvmet_ctrl_free()
|
| H A D | nvmet.h | 253 struct nvmet_sq **sqs; member
|
| H A D | rdma.c | 2019 struct nvmet_sq *nvme_sq = ctrl->sqs[0]; in nvmet_rdma_host_port_addr()
|
| H A D | tcp.c | 2184 struct nvmet_sq *sq = ctrl->sqs[0]; in nvmet_tcp_host_port_addr()
|
| H A D | fc.c | 2964 struct nvmet_sq *sq = ctrl->sqs[0]; in nvmet_fc_host_traddr()
|