Home
last modified time | relevance | path

Searched refs:tpa_info (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c676 struct qede_agg_info *tpa_info = &rxq->tpa_info[tpa_agg_index]; in qede_fill_frag_skb() local
677 struct sk_buff *skb = tpa_info->skb; in qede_fill_frag_skb()
679 if (unlikely(tpa_info->state != QEDE_AGG_STATE_START)) in qede_fill_frag_skb()
683 skb_fill_page_desc(skb, tpa_info->frag_id++, in qede_fill_frag_skb()
705 tpa_info->state = QEDE_AGG_STATE_ERROR; in qede_fill_frag_skb()
838 struct qede_agg_info *tpa_info = &rxq->tpa_info[cqe->tpa_agg_index]; in qede_tpa_start() local
845 tpa_info->skb = qede_tpa_rx_build_skb(edev, rxq, sw_rx_data_cons, in qede_tpa_start()
848 tpa_info->buffer.page_offset = sw_rx_data_cons->page_offset; in qede_tpa_start()
849 tpa_info->buffer.mapping = sw_rx_data_cons->mapping; in qede_tpa_start()
851 if (unlikely(!tpa_info->skb)) { in qede_tpa_start()
[all …]
Dqede.h358 struct qede_agg_info tpa_info[ETH_TPA_MAX_AGGS_NUM]; member
Dqede_main.c1457 struct qede_agg_info *tpa_info = &rxq->tpa_info[i]; in qede_set_tpa_param() local
1459 tpa_info->state = QEDE_AGG_STATE_NONE; in qede_set_tpa_param()
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c97 struct bnx2x_agg_info *old_tpa_info = to_fp->tpa_info; in bnx2x_move_fp()
109 to_fp->tpa_info = old_tpa_info; in bnx2x_move_fp()
439 struct bnx2x_agg_info *tpa_info = &fp->tpa_info[queue]; in bnx2x_tpa_start() local
440 struct sw_rx_bd *first_buf = &tpa_info->first_buf; in bnx2x_tpa_start()
443 if (tpa_info->tpa_state != BNX2X_TPA_STOP) in bnx2x_tpa_start()
459 tpa_info->tpa_state = BNX2X_TPA_ERROR; in bnx2x_tpa_start()
474 tpa_info->parsing_flags = in bnx2x_tpa_start()
476 tpa_info->vlan_tag = le16_to_cpu(cqe->vlan_tag); in bnx2x_tpa_start()
477 tpa_info->tpa_state = BNX2X_TPA_START; in bnx2x_tpa_start()
478 tpa_info->len_on_bd = le16_to_cpu(cqe->len_on_bd); in bnx2x_tpa_start()
[all …]
Dbnx2x.h607 struct bnx2x_agg_info *tpa_info; member
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c861 struct bnxt_tpa_info *tpa_info = &rxr->rx_tpa[agg_id]; in bnxt_get_tpa_agg_p5() local
863 return &tpa_info->agg_arr[curr]; in bnxt_get_tpa_agg_p5()
1208 struct bnxt_tpa_info *tpa_info; in bnxt_tpa_start() local
1223 tpa_info = &rxr->rx_tpa[agg_id]; in bnxt_tpa_start()
1236 tpa_info->cfa_code = TPA_START_CFA_CODE(tpa_start1); in bnxt_tpa_start()
1237 prod_rx_buf->data = tpa_info->data; in bnxt_tpa_start()
1238 prod_rx_buf->data_ptr = tpa_info->data_ptr; in bnxt_tpa_start()
1240 mapping = tpa_info->mapping; in bnxt_tpa_start()
1247 tpa_info->data = cons_rx_buf->data; in bnxt_tpa_start()
1248 tpa_info->data_ptr = cons_rx_buf->data_ptr; in bnxt_tpa_start()
[all …]