• Home
  • Raw
  • Download

Lines Matching refs:rcd

290 #   define vmxnet3_getRxComp(dstrcd, rcd, tmp) do { \  argument
292 vmxnet3_RxCompToCPU((rcd), (tmp)); \
305 # define vmxnet3_getRxComp(dstrcd, rcd, tmp) (dstrcd) = (rcd) argument
634 vmxnet3_append_frag(struct sk_buff *skb, struct Vmxnet3_RxCompDesc *rcd, in vmxnet3_append_frag() argument
644 skb_frag_size_set(frag, rcd->len); in vmxnet3_append_frag()
645 skb->data_len += rcd->len; in vmxnet3_append_frag()
1096 if (!gdesc->rcd.cnc && adapter->netdev->features & NETIF_F_RXCSUM) { in vmxnet3_rx_csum()
1101 BUG_ON(!(gdesc->rcd.tcp || gdesc->rcd.udp)); in vmxnet3_rx_csum()
1102 BUG_ON(!(gdesc->rcd.v4 || gdesc->rcd.v6)); in vmxnet3_rx_csum()
1103 BUG_ON(gdesc->rcd.frg); in vmxnet3_rx_csum()
1105 if (gdesc->rcd.csum) { in vmxnet3_rx_csum()
1106 skb->csum = htons(gdesc->rcd.csum); in vmxnet3_rx_csum()
1119 vmxnet3_rx_error(struct vmxnet3_rx_queue *rq, struct Vmxnet3_RxCompDesc *rcd, in vmxnet3_rx_error() argument
1123 if (!rcd->fcs) in vmxnet3_rx_error()
1154 struct Vmxnet3_RxCompDesc *rcd; in vmxnet3_rq_rx_complete() local
1160 vmxnet3_getRxComp(rcd, &rq->comp_ring.base[rq->comp_ring.next2proc].rcd, in vmxnet3_rq_rx_complete()
1162 while (rcd->gen == rq->comp_ring.gen) { in vmxnet3_rq_rx_complete()
1177 BUG_ON(rcd->rqID != rq->qid && rcd->rqID != rq->qid2); in vmxnet3_rq_rx_complete()
1178 idx = rcd->rxdIdx; in vmxnet3_rq_rx_complete()
1179 ring_idx = rcd->rqID < adapter->num_rx_queues ? 0 : 1; in vmxnet3_rq_rx_complete()
1188 if (unlikely(rcd->eop && rcd->err)) { in vmxnet3_rq_rx_complete()
1189 vmxnet3_rx_error(rq, rcd, ctx, adapter); in vmxnet3_rq_rx_complete()
1193 if (rcd->sop) { /* first buf of the pkt */ in vmxnet3_rq_rx_complete()
1195 rcd->rqID != rq->qid); in vmxnet3_rq_rx_complete()
1200 if (unlikely(rcd->len == 0)) { in vmxnet3_rq_rx_complete()
1202 BUG_ON(!(rcd->sop && rcd->eop)); in vmxnet3_rq_rx_complete()
1228 if (rcd->rssType != VMXNET3_RCD_RSS_TYPE_NONE && in vmxnet3_rq_rx_complete()
1230 ctx->skb->rxhash = le32_to_cpu(rcd->rssHash); in vmxnet3_rq_rx_complete()
1232 skb_put(ctx->skb, rcd->len); in vmxnet3_rq_rx_complete()
1269 if (rcd->len) { in vmxnet3_rq_rx_complete()
1274 vmxnet3_append_frag(ctx->skb, rcd, rbi); in vmxnet3_rq_rx_complete()
1288 if (rcd->eop) { in vmxnet3_rq_rx_complete()
1292 (union Vmxnet3_GenericDesc *)rcd); in vmxnet3_rq_rx_complete()
1295 if (unlikely(rcd->ts)) in vmxnet3_rq_rx_complete()
1296 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rcd->tci); in vmxnet3_rq_rx_complete()
1330 vmxnet3_getRxComp(rcd, in vmxnet3_rq_rx_complete()
1331 &rq->comp_ring.base[rq->comp_ring.next2proc].rcd, &rxComp); in vmxnet3_rq_rx_complete()