Searched refs:qg_buf (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_xsk.c | 206 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_qp_ena() local 215 size = struct_size(qg_buf, txqs, 1); in ice_qp_ena() 216 qg_buf = kzalloc(size, GFP_KERNEL); in ice_qp_ena() 217 if (!qg_buf) in ice_qp_ena() 220 qg_buf->num_txqs = 1; in ice_qp_ena() 226 err = ice_vsi_cfg_txq(vsi, tx_ring, qg_buf); in ice_qp_ena() 233 memset(qg_buf, 0, size); in ice_qp_ena() 234 qg_buf->num_txqs = 1; in ice_qp_ena() 235 err = ice_vsi_cfg_txq(vsi, xdp_ring, qg_buf); in ice_qp_ena() 258 kfree(qg_buf); in ice_qp_ena()
|
D | ice_base.c | 636 struct ice_aqc_add_tx_qgrp *qg_buf) in ice_vsi_cfg_txq() argument 638 u8 buf_len = struct_size(qg_buf, txqs, 1); in ice_vsi_cfg_txq() 650 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq() 651 ice_set_ctx(hw, (u8 *)&tlan_ctx, qg_buf->txqs[0].txq_ctx, in ice_vsi_cfg_txq() 670 1, qg_buf, buf_len, NULL); in ice_vsi_cfg_txq() 681 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 | 1709 struct ice_aqc_add_tx_qgrp *qg_buf; in ice_vsi_cfg_txqs() local 1713 qg_buf = kzalloc(struct_size(qg_buf, txqs, 1), GFP_KERNEL); in ice_vsi_cfg_txqs() 1714 if (!qg_buf) in ice_vsi_cfg_txqs() 1717 qg_buf->num_txqs = 1; in ice_vsi_cfg_txqs() 1720 err = ice_vsi_cfg_txq(vsi, rings[q_idx], qg_buf); in ice_vsi_cfg_txqs() 1726 kfree(qg_buf); in ice_vsi_cfg_txqs()
|