Lines Matching refs:compl

2485 static void be_parse_rx_compl_v1(struct be_eth_rx_compl *compl,  in be_parse_rx_compl_v1()  argument
2488 rxcp->pkt_size = GET_RX_COMPL_V1_BITS(pktsize, compl); in be_parse_rx_compl_v1()
2489 rxcp->vlanf = GET_RX_COMPL_V1_BITS(vtp, compl); in be_parse_rx_compl_v1()
2490 rxcp->err = GET_RX_COMPL_V1_BITS(err, compl); in be_parse_rx_compl_v1()
2491 rxcp->tcpf = GET_RX_COMPL_V1_BITS(tcpf, compl); in be_parse_rx_compl_v1()
2492 rxcp->udpf = GET_RX_COMPL_V1_BITS(udpf, compl); in be_parse_rx_compl_v1()
2493 rxcp->ip_csum = GET_RX_COMPL_V1_BITS(ipcksm, compl); in be_parse_rx_compl_v1()
2494 rxcp->l4_csum = GET_RX_COMPL_V1_BITS(l4_cksm, compl); in be_parse_rx_compl_v1()
2495 rxcp->ipv6 = GET_RX_COMPL_V1_BITS(ip_version, compl); in be_parse_rx_compl_v1()
2496 rxcp->num_rcvd = GET_RX_COMPL_V1_BITS(numfrags, compl); in be_parse_rx_compl_v1()
2497 rxcp->pkt_type = GET_RX_COMPL_V1_BITS(cast_enc, compl); in be_parse_rx_compl_v1()
2498 rxcp->rss_hash = GET_RX_COMPL_V1_BITS(rsshash, compl); in be_parse_rx_compl_v1()
2500 rxcp->qnq = GET_RX_COMPL_V1_BITS(qnq, compl); in be_parse_rx_compl_v1()
2501 rxcp->vlan_tag = GET_RX_COMPL_V1_BITS(vlan_tag, compl); in be_parse_rx_compl_v1()
2503 rxcp->port = GET_RX_COMPL_V1_BITS(port, compl); in be_parse_rx_compl_v1()
2505 GET_RX_COMPL_V1_BITS(tunneled, compl); in be_parse_rx_compl_v1()
2508 static void be_parse_rx_compl_v0(struct be_eth_rx_compl *compl, in be_parse_rx_compl_v0() argument
2511 rxcp->pkt_size = GET_RX_COMPL_V0_BITS(pktsize, compl); in be_parse_rx_compl_v0()
2512 rxcp->vlanf = GET_RX_COMPL_V0_BITS(vtp, compl); in be_parse_rx_compl_v0()
2513 rxcp->err = GET_RX_COMPL_V0_BITS(err, compl); in be_parse_rx_compl_v0()
2514 rxcp->tcpf = GET_RX_COMPL_V0_BITS(tcpf, compl); in be_parse_rx_compl_v0()
2515 rxcp->udpf = GET_RX_COMPL_V0_BITS(udpf, compl); in be_parse_rx_compl_v0()
2516 rxcp->ip_csum = GET_RX_COMPL_V0_BITS(ipcksm, compl); in be_parse_rx_compl_v0()
2517 rxcp->l4_csum = GET_RX_COMPL_V0_BITS(l4_cksm, compl); in be_parse_rx_compl_v0()
2518 rxcp->ipv6 = GET_RX_COMPL_V0_BITS(ip_version, compl); in be_parse_rx_compl_v0()
2519 rxcp->num_rcvd = GET_RX_COMPL_V0_BITS(numfrags, compl); in be_parse_rx_compl_v0()
2520 rxcp->pkt_type = GET_RX_COMPL_V0_BITS(cast_enc, compl); in be_parse_rx_compl_v0()
2521 rxcp->rss_hash = GET_RX_COMPL_V0_BITS(rsshash, compl); in be_parse_rx_compl_v0()
2523 rxcp->qnq = GET_RX_COMPL_V0_BITS(qnq, compl); in be_parse_rx_compl_v0()
2524 rxcp->vlan_tag = GET_RX_COMPL_V0_BITS(vlan_tag, compl); in be_parse_rx_compl_v0()
2526 rxcp->port = GET_RX_COMPL_V0_BITS(port, compl); in be_parse_rx_compl_v0()
2527 rxcp->ip_frag = GET_RX_COMPL_V0_BITS(ip_frag, compl); in be_parse_rx_compl_v0()
2532 struct be_eth_rx_compl *compl = queue_tail_node(&rxo->cq); in be_rx_compl_get() local
2538 if (compl->dw[offsetof(struct amap_eth_rx_compl_v1, valid) / 32] == 0) in be_rx_compl_get()
2542 be_dws_le_to_cpu(compl, sizeof(*compl)); in be_rx_compl_get()
2545 be_parse_rx_compl_v1(compl, rxcp); in be_rx_compl_get()
2547 be_parse_rx_compl_v0(compl, rxcp); in be_rx_compl_get()
2569 compl->dw[offsetof(struct amap_eth_rx_compl_v1, valid) / 32] = 0; in be_rx_compl_get()
2712 struct be_eth_tx_compl *compl = queue_tail_node(tx_cq); in be_tx_compl_get() local
2714 if (compl->dw[offsetof(struct amap_eth_tx_compl, valid) / 32] == 0) in be_tx_compl_get()
2719 be_dws_le_to_cpu(compl, sizeof(*compl)); in be_tx_compl_get()
2721 txcp->status = GET_TX_COMPL_BITS(status, compl); in be_tx_compl_get()
2722 txcp->end_index = GET_TX_COMPL_BITS(wrb_index, compl); in be_tx_compl_get()
2742 compl->dw[offsetof(struct amap_eth_tx_compl, valid) / 32] = 0; in be_tx_compl_get()