Home
last modified time | relevance | path

Searched refs:len16 (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/ofed/libcxgb4/
H A Dqp.c45 static void copy_wr_to_sq(struct t4_wq *wq, union t4_wr *wqe, u8 len16) in copy_wr_to_sq() argument
55 len16 = align(len16, 4); in copy_wr_to_sq()
66 total = len16 * 16; in copy_wr_to_sq()
81 static void copy_wr_to_rq(struct t4_wq *wq, union t4_recv_wr *wqe, u8 len16) in copy_wr_to_rq() argument
91 total = len16 * 16; in copy_wr_to_rq()
159 struct ibv_send_wr *wr, u8 *len16) in build_rdma_send() argument
202 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send()
208 struct ibv_send_wr *wr, u8 *len16) in build_rdma_write() argument
243 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write()
248 static int build_rdma_read(union t4_wr *wqe, struct ibv_send_wr *wr, u8 *len16) in build_rdma_read() argument
[all …]
H A Dt4.h143 enum fw_wr_opcodes opcode, u8 flags, u8 len16) in init_wr_hdr() argument
151 wqe->send.len16 = len16; in init_wr_hdr()
383 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() argument
388 wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_rq_produce()
426 static inline void t4_sq_produce(struct t4_wq *wq, u8 len16) in t4_sq_produce() argument
431 wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_sq_produce()
461 int len16 = 4; in copy_wqe_to_udb() local
466 while (len16) { in copy_wqe_to_udb()
469 len16--; in copy_wqe_to_udb()
476 static inline void t4_ring_sq_db(struct t4_wq *wq, u16 inc, u8 t4, u8 len16, in t4_ring_sq_db() argument
[all …]
H A Dt4fw_ri_api.h533 __u8 len16; member
551 __u8 len16; member
576 __u8 len16; member
593 __u8 len16; member
602 __u8 len16; member
640 __u8 len16; member
677 __u8 len16; member
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dqp.c409 const struct ib_send_wr *wr, u8 *len16) in build_rdma_send() argument
470 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_send()
476 const struct ib_send_wr *wr, u8 *len16) in build_rdma_write() argument
513 *len16 = DIV_ROUND_UP(size, 16); in build_rdma_write()
518 static int build_rdma_read(union t4_wr *wqe, const struct ib_send_wr *wr, u8 *len16) in build_rdma_read() argument
544 *len16 = DIV_ROUND_UP(sizeof wqe->read, 16); in build_rdma_read()
549 const struct ib_recv_wr *wr, u8 *len16) in build_rdma_recv() argument
558 *len16 = DIV_ROUND_UP(sizeof wqe->recv + in build_rdma_recv()
564 u8 *len16) in build_inv_stag() argument
568 *len16 = DIV_ROUND_UP(sizeof wqe->inv, 16); in build_inv_stag()
[all …]
H A Dt4.h131 enum fw_wr_opcodes opcode, u8 flags, u8 len16) in init_wr_hdr()
139 wqe->send.len16 = len16; in init_wr_hdr()
386 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16)
391 wq->rq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_rq_produce()
434 static inline void t4_sq_produce(struct t4_wq *wq, u8 len16)
439 wq->sq.wq_pidx += DIV_ROUND_UP(len16*16, T4_EQ_ENTRY_SIZE); in t4_sq_produce()
132 init_wr_hdr(union t4_wr * wqe,u16 wrid,enum fw_wr_opcodes opcode,u8 flags,u8 len16) init_wr_hdr() argument
387 t4_rq_produce(struct t4_wq * wq,u8 len16) t4_rq_produce() argument
435 t4_sq_produce(struct t4_wq * wq,u8 len16) t4_sq_produce() argument
H A Dmem.c
/freebsd/sys/dev/qlxgb/
H A Dqla_dbg.c88 void qla_dump_buf16(qla_host_t *ha, char *msg, void *dbuf16, uint32_t len16) in qla_dump_buf16() argument
99 while (len16 >= 8) { in qla_dump_buf16()
104 len16 -= 8; in qla_dump_buf16()
107 switch (len16) { in qla_dump_buf16()
H A Dqla_dbg.h43 uint32_t len16);
/freebsd/sys/dev/qlxgbe/
H A Dql_dbg.c85 void ql_dump_buf16(qla_host_t *ha, const char *msg, void *dbuf16, uint32_t len16) in ql_dump_buf16() argument
96 while (len16 >= 8) { in ql_dump_buf16()
101 len16 -= 8; in ql_dump_buf16()
104 switch (len16) { in ql_dump_buf16()
H A Dql_dbg.h41 uint32_t len16);
/freebsd/sys/dev/qlxge/
H A Dqls_dbg.c90 qls_dump_buf16(qla_host_t *ha, const char *msg, void *dbuf16, uint32_t len16) in qls_dump_buf16() argument
101 while (len16 >= 8) { in qls_dump_buf16()
106 len16 -= 8; in qls_dump_buf16()
109 switch (len16) { in qls_dump_buf16()
H A Dqls_dbg.h43 uint32_t len16);
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c2363 set_mbuf_eo_len16(struct mbuf *m, uint8_t len16) in set_mbuf_eo_len16() argument
2367 m->m_pkthdr.PH_loc.eight[2] = len16; in set_mbuf_eo_len16()
2962 start_wrq_wr(struct sge_wrq *wrq, int len16, struct wrq_cookie *cookie) in start_wrq_wr() argument
2970 MPASS(len16 > 0); in start_wrq_wr()
2971 ndesc = tx_len16_to_desc(len16); in start_wrq_wr()
2986 wr = alloc_wrqe(len16 * 16, wrq); in start_wrq_wr()
3011 wrq->ss_len = len16 * 16; in start_wrq_wr()
3266 MPASS(avail >= tx_len16_to_desc(txp->len16)); in eth_tx()
3369 MPASS(avail >= tx_len16_to_desc(txp->len16)); in eth_tx()
5645 int len16, ndesc, pktlen; in write_txpkt_vm_wr() local
[all …]
H A Dadapter.h619 uint8_t len16; /* # of 16B pieces used by this work request */ member
1264 set_mbuf_len16(struct mbuf *m, uint8_t len16) in set_mbuf_len16() argument
1268 MPASS(len16 > 0 && len16 <= SGE_MAX_WR_LEN / 16); in set_mbuf_len16()
1269 m->m_pkthdr.PH_loc.eight[0] = len16; in set_mbuf_len16()
1695 tx_len16_to_desc(int len16) in tx_len16_to_desc() argument
1698 return (howmany(len16, EQ_ESIZE / 16)); in tx_len16_to_desc()
H A Dt4_filter.c804 int len16; in set_tcamfilter()
807 len16 = howmany(sizeof(struct fw_filter2_wr), 16);
809 len16 = howmany(sizeof(struct fw_filter_wr), 16); in hashfilter_ntuple()
810 fwr = start_wrq_wr(&sc->sge.ctrlq[0], len16, &cookie); in hashfilter_ntuple()
669 int len16; set_tcamfilter() local
/freebsd/sys/dev/cxgbe/crypto/
H A Dt6_kern_tls.c1032 CTR4(KTR_CXGBE, "%s: tid %d len16 %d nsegs %d", __func__, in t6_ktls_parse_pkt()
1117 int len16, ndesc, pktlen; in ktls_write_tcp_options() local
1130 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tcp_options()
1131 ndesc = tx_len16_to_desc(len16); in ktls_write_tcp_options()
1138 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tcp_options()
1212 int len16, ndesc, pktlen; in ktls_write_tunnel_packet() local
1231 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tunnel_packet()
1232 ndesc = tx_len16_to_desc(len16); in ktls_write_tunnel_packet()
1239 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tunnel_packet()
1863 int len16, ndes in ktls_write_tcp_fin() local
[all...]
H A Dt4_crypto.h208 __be32 len16; /* command length */
207 __be32 len16; /* command length */ global() member
H A Dt7_kern_tls.c1156 int len16, ndesc, pktlen; in ktls_write_tunnel_packet() local
1169 len16 = howmany(sizeof(struct fw_eth_tx_pkt_wr) + ctrl, 16); in ktls_write_tunnel_packet()
1170 ndesc = tx_len16_to_desc(len16); in ktls_write_tunnel_packet()
1178 ctrl = V_FW_WR_LEN16(len16); in ktls_write_tunnel_packet()
H A Dt4_keyctx.c694 kwr->len16 = htobe32((tid << 8) |
/freebsd/sys/dev/usb/wlan/
H A Dif_zyd.c2246 uint16_t len16 = UGETW(desc.len[i]); in zyd_bulk_read_callback() local
2248 if (len16 == 0 || len16 > actlen) in zyd_bulk_read_callback()
2251 zyd_rx_data(xfer, offset, len16); in zyd_bulk_read_callback()
2254 len16 = (len16 + 3) & ~3; in zyd_bulk_read_callback()
2255 offset += len16; in zyd_bulk_read_callback()
2256 if (len16 > actlen) in zyd_bulk_read_callback()
2258 actlen -= len16; in zyd_bulk_read_callback()
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_interface.h2195 __u8 len16; member
2213 __u8 len16; member
2238 __u8 len16; member
2269 __u8 len16; member
2286 __u8 len16; member
2295 __u8 len16; member
2333 __u8 len16; member
2370 __u8 len16; member
2382 __u8 len16; member
2392 __u8 len16; member
[all …]
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1662 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_ps()
1744 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_rcvbuf()
1852 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_bio()
1935 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_buf()
2029 ulpmc->len16 = htobe32(howmany(len - sizeof(ulpmc->wr), 16)); in t4_write_page_pods_for_sgl()
/freebsd/sys/dev/cxgbe/common/
H A Dt4_hw.c10045 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_alloc_mac_filt() local
10057 V_FW_CMD_LEN16(len16)); in t4_alloc_mac_filt()
10218 size_t len16 = DIV_ROUND_UP(offsetof(struct fw_vi_mac_cmd, in t4_free_mac_filt() local
10231 V_FW_CMD_LEN16(len16)); in t4_free_mac_filt()
H A Dt4_msg.h4820 __be32 len16; /* command length */ member