Lines Matching defs:tx_crq
2398 union sub_crq tx_crq;
2485 memset(&tx_crq, 0, sizeof(tx_crq));
2486 tx_crq.v1.first = IBMVNIC_CRQ_CMD;
2487 tx_crq.v1.type = IBMVNIC_TX_DESC;
2488 tx_crq.v1.n_crq_elem = 1;
2489 tx_crq.v1.n_sge = 1;
2490 tx_crq.v1.flags1 = IBMVNIC_TX_COMP_NEEDED;
2493 tx_crq.v1.correlator =
2496 tx_crq.v1.correlator = cpu_to_be32(bufidx);
2497 tx_crq.v1.dma_reg = cpu_to_be16(ltb->map_id);
2498 tx_crq.v1.sge_len = cpu_to_be32(skb->len);
2499 tx_crq.v1.ioba = cpu_to_be64(data_dma_addr);
2502 tx_crq.v1.flags2 |= IBMVNIC_TX_VLAN_INSERT;
2503 tx_crq.v1.vlan_id = cpu_to_be16(skb->vlan_tci);
2507 tx_crq.v1.flags1 |= IBMVNIC_TX_PROT_IPV4;
2510 tx_crq.v1.flags1 |= IBMVNIC_TX_PROT_IPV6;
2515 tx_crq.v1.flags1 |= IBMVNIC_TX_PROT_TCP;
2517 tx_crq.v1.flags1 |= IBMVNIC_TX_PROT_UDP;
2520 tx_crq.v1.flags1 |= IBMVNIC_TX_CHKSUM_OFFLOAD;
2524 tx_crq.v1.flags1 |= IBMVNIC_TX_LSO;
2525 tx_crq.v1.mss = cpu_to_be16(skb_shinfo(skb)->gso_size);
2532 tx_crq.v1.n_crq_elem = num_entries;
2541 indir_arr[0] = tx_crq;