Searched refs:qg_buf (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 213 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()
|
D | ice_base.c | 768 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()
|
D | ice_base.h | 19 struct ice_aqc_add_tx_qgrp *qg_buf);
|
D | ice_lib.c | 1903 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 …]
|