Lines Matching refs:cqe

356 					 struct eth_end_agg_rx_cqe *cqe)  in bnx2x_update_sge_prod()  argument
369 RX_SGE(le16_to_cpu(cqe->sgl_or_raw_data.sgl[i]))); in bnx2x_update_sge_prod()
372 sge_len - 1, le16_to_cpu(cqe->sgl_or_raw_data.sgl[sge_len - 1])); in bnx2x_update_sge_prod()
377 le16_to_cpu(cqe->sgl_or_raw_data.sgl[sge_len - 1])); in bnx2x_update_sge_prod()
411 const struct eth_fast_path_rx_cqe *cqe, in bnx2x_get_rxhash() argument
416 (cqe->status_flags & ETH_FAST_PATH_RX_CQE_RSS_HASH_FLG)) { in bnx2x_get_rxhash()
419 htype = cqe->status_flags & ETH_FAST_PATH_RX_CQE_RSS_HASH_TYPE; in bnx2x_get_rxhash()
424 return le32_to_cpu(cqe->rss_hash_result); in bnx2x_get_rxhash()
432 struct eth_fast_path_rx_cqe *cqe) in bnx2x_tpa_start() argument
475 le16_to_cpu(cqe->pars_flags.flags); in bnx2x_tpa_start()
476 tpa_info->vlan_tag = le16_to_cpu(cqe->vlan_tag); in bnx2x_tpa_start()
478 tpa_info->len_on_bd = le16_to_cpu(cqe->len_on_bd); in bnx2x_tpa_start()
479 tpa_info->placement_offset = cqe->placement_offset; in bnx2x_tpa_start()
480 tpa_info->rxhash = bnx2x_get_rxhash(bp, cqe, &tpa_info->rxhash_type); in bnx2x_tpa_start()
482 u16 gro_size = le16_to_cpu(cqe->pkt_len_or_gro_seg_len); in bnx2x_tpa_start()
596 struct eth_end_agg_rx_cqe *cqe, in bnx2x_fill_frag_skb() argument
605 frag_size = le16_to_cpu(cqe->pkt_len) - len_on_bd; in bnx2x_fill_frag_skb()
615 le16_to_cpu(cqe->pkt_len), in bnx2x_fill_frag_skb()
616 le16_to_cpu(cqe->num_of_coalesced_segs)); in bnx2x_fill_frag_skb()
622 BNX2X_ERR("cqe->pkt_len = %d\n", cqe->pkt_len); in bnx2x_fill_frag_skb()
630 u16 sge_idx = RX_SGE(le16_to_cpu(cqe->sgl_or_raw_data.sgl[j])); in bnx2x_fill_frag_skb()
762 struct eth_end_agg_rx_cqe *cqe, in bnx2x_tpa_stop() argument
808 skb, cqe, cqe_idx)) { in bnx2x_tpa_stop()
863 void bnx2x_csum_validate(struct sk_buff *skb, union eth_rx_cqe *cqe, in bnx2x_csum_validate() argument
872 if (cqe->fast_path_cqe.status_flags & in bnx2x_csum_validate()
878 if (cqe->fast_path_cqe.type_error_flags & in bnx2x_csum_validate()
892 union eth_rx_cqe *cqe; in bnx2x_rx_int() local
909 cqe = &fp->rx_comp_ring[comp_ring_cons]; in bnx2x_rx_int()
910 cqe_fp = &cqe->fast_path_cqe; in bnx2x_rx_int()
958 bnx2x_sp_event(fp, cqe); in bnx2x_rx_int()
989 queue = cqe->end_agg_cqe.queue_index; in bnx2x_rx_int()
995 frag_size = le16_to_cpu(cqe->end_agg_cqe.pkt_len) - in bnx2x_rx_int()
1006 &cqe->end_agg_cqe, comp_ring_cons); in bnx2x_rx_int()
1012 bnx2x_update_sge_prod(fp, pages, &cqe->end_agg_cqe); in bnx2x_rx_int()
1082 bnx2x_csum_validate(skb, cqe, fp, in bnx2x_rx_int()
1088 if (unlikely(cqe->fast_path_cqe.type_error_flags & in bnx2x_rx_int()
1121 cqe = &fp->rx_comp_ring[comp_ring_cons]; in bnx2x_rx_int()
1122 cqe_fp = &cqe->fast_path_cqe; in bnx2x_rx_int()