Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_xsk.c213 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_qp_ena() local
223 size = struct_size(qg_buf, txqs, 1); in ice_qp_ena()
224 qg_buf = kzalloc(size, GFP_KERNEL); in ice_qp_ena()
225 if (!qg_buf) in ice_qp_ena()
228 qg_buf->num_txqs = 1; in ice_qp_ena()
234 err = ice_vsi_cfg_txq(vsi, tx_ring, qg_buf); in ice_qp_ena()
241 memset(qg_buf, 0, size); in ice_qp_ena()
242 qg_buf->num_txqs = 1; in ice_qp_ena()
243 err = ice_vsi_cfg_txq(vsi, xdp_ring, qg_buf); in ice_qp_ena()
266 kfree(qg_buf); in ice_qp_ena()
Dice_base.c768 struct ice_aqc_add_tx_qgrp *qg_buf) in ice_vsi_cfg_txq() argument
770 u8 buf_len = struct_size(qg_buf, txqs, 1); in ice_vsi_cfg_txq()
786 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq()
787 ice_set_ctx(hw, (u8 *)&tlan_ctx, qg_buf->txqs[0].txq_ctx, in ice_vsi_cfg_txq()
814 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
818 ring->q_handle, 1, qg_buf, buf_len, in ice_vsi_cfg_txq()
830 txq = &qg_buf->txqs[0]; in ice_vsi_cfg_txq()
Dice_base.h19 struct ice_aqc_add_tx_qgrp *qg_buf);
Dice_lib.c1903 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_vsi_cfg_single_txq() local
1909 qg_buf = kzalloc(struct_size(qg_buf, txqs, 1), GFP_KERNEL); in ice_vsi_cfg_single_txq()
1910 if (!qg_buf) in ice_vsi_cfg_single_txq()
1913 qg_buf->num_txqs = 1; in ice_vsi_cfg_single_txq()
1915 err = ice_vsi_cfg_txq(vsi, tx_rings[q_idx], qg_buf); in ice_vsi_cfg_single_txq()
1916 kfree(qg_buf); in ice_vsi_cfg_single_txq()
1959 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_vsi_cfg_txqs() local
1963 qg_buf = kzalloc(struct_size(qg_buf, txqs, 1), GFP_KERNEL); in ice_vsi_cfg_txqs()
1964 if (!qg_buf) in ice_vsi_cfg_txqs()
1967 qg_buf->num_txqs = 1; in ice_vsi_cfg_txqs()
[all …]