Searched refs:sqs (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/ |
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 …]
|
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 …]
|
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 …]
|
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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | qos.c | 268 struct mlx5e_txqsq **sqs; in mlx5e_qos_alloc_queues() local 270 sqs = kvcalloc(qos_sqs_size, sizeof(struct mlx5e_txqsq *), GFP_KERNEL); in mlx5e_qos_alloc_queues() 271 if (!sqs) in mlx5e_qos_alloc_queues() 276 rcu_assign_pointer(chs->c[i]->qos_sqs, sqs); in mlx5e_qos_alloc_queues() 283 struct mlx5e_txqsq **sqs; in mlx5e_qos_alloc_queues() local 285 sqs = rcu_replace_pointer(chs->c[i]->qos_sqs, NULL, in mlx5e_qos_alloc_queues() 289 kvfree(sqs); in mlx5e_qos_alloc_queues()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rep.c | 413 u32 *sqs; in mlx5e_add_sqs_fwd_rules() local 424 sqs = kvcalloc(nch * sqs_per_channel, sizeof(*sqs), GFP_KERNEL); in mlx5e_add_sqs_fwd_rules() 425 if (!sqs) in mlx5e_add_sqs_fwd_rules() 431 sqs[num_sqs++] = c->sq[tc].sqn; in mlx5e_add_sqs_fwd_rules() 435 sqs[num_sqs++] = c->rq_xdpsq.sqn; in mlx5e_add_sqs_fwd_rules() 437 sqs[num_sqs++] = c->xdpsq.sqn; in mlx5e_add_sqs_fwd_rules() 444 sqs[num_sqs++] = ptp_ch->ptpsq[tc].txqsq.sqn; in mlx5e_add_sqs_fwd_rules() 447 err = mlx5e_sqs2vport_start(esw, rep, sqs, num_sqs); in mlx5e_add_sqs_fwd_rules() 448 kvfree(sqs); in mlx5e_add_sqs_fwd_rules()
|
/linux-6.1.9/drivers/nvme/target/ |
D | core.c | 777 ctrl->sqs[qid] = sq; in nvmet_sq_setup() 795 if (ctrl && ctrl->sqs && ctrl->sqs[0] == sq) in nvmet_sq_destroy() 811 sq->ctrl->sqs[sq->qid] = NULL; in nvmet_sq_destroy() 1419 ctrl->sqs = kcalloc(subsys->max_qid + 1, in nvmet_alloc_ctrl() 1422 if (!ctrl->sqs) in nvmet_alloc_ctrl() 1461 kfree(ctrl->sqs); in nvmet_alloc_ctrl() 1492 kfree(ctrl->sqs); in nvmet_ctrl_free()
|
D | fabrics-cmd.c | 154 if (ctrl->sqs[qid] != NULL) { in nvmet_install_queue() 189 ctrl->sqs[qid] = NULL; in nvmet_install_queue()
|
D | nvmet.h | 182 struct nvmet_sq **sqs; member
|