Home
last modified time | relevance | path

Searched refs:qg_buf (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_xsk.c220 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_qp_ena() local
230 size = struct_size(qg_buf, txqs, 1); in ice_qp_ena()
231 qg_buf = kzalloc(size, GFP_KERNEL); in ice_qp_ena()
232 if (!qg_buf) in ice_qp_ena()
235 qg_buf->num_txqs = 1; in ice_qp_ena()
241 err = ice_vsi_cfg_txq(vsi, tx_ring, qg_buf); in ice_qp_ena()
248 memset(qg_buf, 0, size); in ice_qp_ena()
249 qg_buf->num_txqs = 1; in ice_qp_ena()
250 err = ice_vsi_cfg_txq(vsi, xdp_ring, qg_buf); in ice_qp_ena()
273 kfree(qg_buf); in ice_qp_ena()
Dice_base.c809 struct ice_aqc_add_tx_qgrp *qg_buf) in ice_vsi_cfg_txq() argument
811 u8 buf_len = struct_size(qg_buf, txqs, 1); in ice_vsi_cfg_txq()
827 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq()
828 ice_set_ctx(hw, (u8 *)&tlan_ctx, qg_buf->txqs[0].txq_ctx, in ice_vsi_cfg_txq()
855 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
859 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
871 txq = &qg_buf->txqs[0]; in ice_vsi_cfg_txq()
Dice_base.h19 struct ice_aqc_add_tx_qgrp *qg_buf);
Dice_lib.c1834 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_vsi_cfg_single_txq() local
1840 qg_buf = kzalloc(struct_size(qg_buf, txqs, 1), GFP_KERNEL); in ice_vsi_cfg_single_txq()
1841 if (!qg_buf) in ice_vsi_cfg_single_txq()
1844 qg_buf->num_txqs = 1; in ice_vsi_cfg_single_txq()
1846 err = ice_vsi_cfg_txq(vsi, tx_rings[q_idx], qg_buf); in ice_vsi_cfg_single_txq()
1847 kfree(qg_buf); in ice_vsi_cfg_single_txq()
1890 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_vsi_cfg_txqs() local
1894 qg_buf = kzalloc(struct_size(qg_buf, txqs, 1), GFP_KERNEL); in ice_vsi_cfg_txqs()
1895 if (!qg_buf) in ice_vsi_cfg_txqs()
1898 qg_buf->num_txqs = 1; in ice_vsi_cfg_txqs()
[all …]