• Home
  • Raw
  • Download

Lines Matching refs:swqe

768 	struct ehea_swqe *swqe;  in check_sqs()  local
776 swqe = ehea_get_swqe(pr->qp, &swqe_index); in check_sqs()
777 memset(swqe, 0, SWQE_HEADER_SIZE); in check_sqs()
780 swqe->tx_control |= EHEA_SWQE_PURGE; in check_sqs()
781 swqe->wr_id = SWQE_RESTART_CHECK; in check_sqs()
782 swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; in check_sqs()
783 swqe->tx_control |= EHEA_SWQE_IMM_DATA_PRESENT; in check_sqs()
784 swqe->immediate_data_length = 80; in check_sqs()
786 ehea_post_swqe(pr->qp, swqe); in check_sqs()
1621 static void write_swqe2_immediate(struct sk_buff *skb, struct ehea_swqe *swqe, in write_swqe2_immediate() argument
1625 u8 *imm_data = &swqe->u.immdata_desc.immediate_data[0]; in write_swqe2_immediate()
1626 struct ehea_vsgentry *sg1entry = &swqe->u.immdata_desc.sg_entry; in write_swqe2_immediate()
1629 swqe->descriptors = 0; in write_swqe2_immediate()
1632 swqe->tx_control |= EHEA_SWQE_TSO; in write_swqe2_immediate()
1633 swqe->mss = skb_shinfo(skb)->gso_size; in write_swqe2_immediate()
1643 swqe->immediate_data_length = immediate_len; in write_swqe2_immediate()
1650 swqe->descriptors++; in write_swqe2_immediate()
1654 swqe->immediate_data_length = skb_data_size; in write_swqe2_immediate()
1659 struct ehea_swqe *swqe, u32 lkey) in write_swqe2_data() argument
1666 sg1entry = &swqe->u.immdata_desc.sg_entry; in write_swqe2_data()
1667 sg_list = (struct ehea_vsgentry *)&swqe->u.immdata_desc.sg_list; in write_swqe2_data()
1670 write_swqe2_immediate(skb, swqe, lkey); in write_swqe2_data()
1674 if (swqe->descriptors == 0) { in write_swqe2_data()
1683 swqe->descriptors++; in write_swqe2_data()
1695 swqe->descriptors++; in write_swqe2_data()
1982 static void xmit_common(struct sk_buff *skb, struct ehea_swqe *swqe) in xmit_common() argument
1984 swqe->tx_control |= EHEA_SWQE_IMM_DATA_PRESENT | EHEA_SWQE_CRC; in xmit_common()
1990 swqe->tx_control |= EHEA_SWQE_IP_CHECKSUM; in xmit_common()
1992 swqe->ip_start = skb_network_offset(skb); in xmit_common()
1993 swqe->ip_end = swqe->ip_start + ip_hdrlen(skb) - 1; in xmit_common()
1998 swqe->tx_control |= EHEA_SWQE_TCP_CHECKSUM; in xmit_common()
2000 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common()
2006 swqe->tx_control |= EHEA_SWQE_TCP_CHECKSUM; in xmit_common()
2008 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common()
2015 struct ehea_swqe *swqe, u32 lkey) in ehea_xmit2() argument
2017 swqe->tx_control |= EHEA_SWQE_DESCRIPTORS_PRESENT; in ehea_xmit2()
2019 xmit_common(skb, swqe); in ehea_xmit2()
2021 write_swqe2_data(skb, dev, swqe, lkey); in ehea_xmit2()
2025 struct ehea_swqe *swqe) in ehea_xmit3() argument
2027 u8 *imm_data = &swqe->u.immdata_nodesc.immediate_data[0]; in ehea_xmit3()
2029 xmit_common(skb, swqe); in ehea_xmit3()
2036 swqe->immediate_data_length = skb->len; in ehea_xmit3()
2043 struct ehea_swqe *swqe; in ehea_start_xmit() local
2052 swqe = ehea_get_swqe(pr->qp, &swqe_index); in ehea_start_xmit()
2053 memset(swqe, 0, SWQE_HEADER_SIZE); in ehea_start_xmit()
2057 swqe->tx_control |= EHEA_SWQE_VLAN_INSERT; in ehea_start_xmit()
2058 swqe->vlan_tag = vlan_tx_tag_get(skb); in ehea_start_xmit()
2067 ehea_xmit3(skb, dev, swqe); in ehea_start_xmit()
2068 swqe->wr_id = EHEA_BMASK_SET(EHEA_WR_ID_TYPE, EHEA_SWQE3_TYPE) in ehea_start_xmit()
2071 swqe->wr_id |= EHEA_BMASK_SET(EHEA_WR_ID_REFILL, in ehea_start_xmit()
2073 swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; in ehea_start_xmit()
2078 swqe->wr_id = in ehea_start_xmit()
2089 ehea_xmit2(skb, dev, swqe, lkey); in ehea_start_xmit()
2090 swqe->tx_control |= EHEA_SWQE_SIGNALLED_COMPLETION; in ehea_start_xmit()
2097 ehea_dump(swqe, 512, "swqe"); in ehea_start_xmit()
2101 swqe->tx_control |= EHEA_SWQE_PURGE; in ehea_start_xmit()
2104 ehea_post_swqe(pr->qp, swqe); in ehea_start_xmit()
2502 struct ehea_swqe *swqe; in ehea_purge_sq() local
2507 swqe = ehea_get_swqe(&qp, &wqe_index); in ehea_purge_sq()
2508 swqe->tx_control |= EHEA_SWQE_PURGE; in ehea_purge_sq()