Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c655 struct qede_agg_info *tpa_info = &rxq->tpa_info[tpa_agg_index]; in qede_fill_frag_skb() local
656 struct sk_buff *skb = tpa_info->skb; in qede_fill_frag_skb()
658 if (unlikely(tpa_info->state != QEDE_AGG_STATE_START)) in qede_fill_frag_skb()
662 skb_fill_page_desc(skb, tpa_info->frag_id++, in qede_fill_frag_skb()
684 tpa_info->state = QEDE_AGG_STATE_ERROR; in qede_fill_frag_skb()
728 struct qede_agg_info *tpa_info = &rxq->tpa_info[cqe->tpa_agg_index]; in qede_tpa_start() local
731 struct sw_rx_data *replace_buf = &tpa_info->buffer; in qede_tpa_start()
732 dma_addr_t mapping = tpa_info->buffer_mapping; in qede_tpa_start()
755 tpa_info->buffer = *sw_rx_data_cons; in qede_tpa_start()
759 tpa_info->buffer_mapping = mapping; in qede_tpa_start()
[all …]
Dqede_main.c1211 struct qede_agg_info *tpa_info = &rxq->tpa_info[i]; in qede_free_sge_mem() local
1212 struct sw_rx_data *replace_buf = &tpa_info->buffer; in qede_free_sge_mem()
1256 struct qede_agg_info *tpa_info = &rxq->tpa_info[i]; in qede_alloc_sge_mem() local
1257 struct sw_rx_data *replace_buf = &tpa_info->buffer; in qede_alloc_sge_mem()
1275 tpa_info->buffer.page_offset = 0; in qede_alloc_sge_mem()
1276 tpa_info->buffer_mapping = mapping; in qede_alloc_sge_mem()
1277 tpa_info->state = QEDE_AGG_STATE_NONE; in qede_alloc_sge_mem()
Dqede.h338 struct qede_agg_info tpa_info[ETH_TPA_MAX_AGGS_NUM]; member
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c98 struct bnx2x_agg_info *old_tpa_info = to_fp->tpa_info; in bnx2x_move_fp()
110 to_fp->tpa_info = old_tpa_info; in bnx2x_move_fp()
440 struct bnx2x_agg_info *tpa_info = &fp->tpa_info[queue]; in bnx2x_tpa_start() local
441 struct sw_rx_bd *first_buf = &tpa_info->first_buf; in bnx2x_tpa_start()
444 if (tpa_info->tpa_state != BNX2X_TPA_STOP) in bnx2x_tpa_start()
460 tpa_info->tpa_state = BNX2X_TPA_ERROR; in bnx2x_tpa_start()
475 tpa_info->parsing_flags = in bnx2x_tpa_start()
477 tpa_info->vlan_tag = le16_to_cpu(cqe->vlan_tag); in bnx2x_tpa_start()
478 tpa_info->tpa_state = BNX2X_TPA_START; in bnx2x_tpa_start()
479 tpa_info->len_on_bd = le16_to_cpu(cqe->len_on_bd); in bnx2x_tpa_start()
[all …]
Dbnx2x.h595 struct bnx2x_agg_info *tpa_info; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c1067 struct bnxt_tpa_info *tpa_info; in bnxt_tpa_start() local
1076 tpa_info = &rxr->rx_tpa[agg_id]; in bnxt_tpa_start()
1087 tpa_info->cfa_code = TPA_START_CFA_CODE(tpa_start1); in bnxt_tpa_start()
1088 prod_rx_buf->data = tpa_info->data; in bnxt_tpa_start()
1089 prod_rx_buf->data_ptr = tpa_info->data_ptr; in bnxt_tpa_start()
1091 mapping = tpa_info->mapping; in bnxt_tpa_start()
1098 tpa_info->data = cons_rx_buf->data; in bnxt_tpa_start()
1099 tpa_info->data_ptr = cons_rx_buf->data_ptr; in bnxt_tpa_start()
1101 tpa_info->mapping = cons_rx_buf->mapping; in bnxt_tpa_start()
1103 tpa_info->len = in bnxt_tpa_start()
[all …]