Lines Matching defs:ulp_mode
90 ulp_extra_len(struct mbuf *m, int *ulp_mode)
96 *ulp_mode = *((int *)(mtag + 1));
98 return (t4_ulp_extra_len[*ulp_mode & 3]);
386 if (toep->ulp_mode == ULP_MODE_ISCSI) {
492 unsigned int plen, uint8_t credits, int shove, int ulp_mode, int txalign)
503 if (toep->ulp_mode == ULP_MODE_ISCSI)
504 wr_ulp_mode = V_TX_ULP_MODE(ulp_mode >> 4) |
505 V_TX_ULP_SUBMODE(ulp_mode & 3);
507 wr_ulp_mode = V_TX_ULP_MODE(toep->ulp_mode);
613 KASSERT(toep->ulp_mode == ULP_MODE_NONE ||
614 toep->ulp_mode == ULP_MODE_TCPDDP ||
615 toep->ulp_mode == ULP_MODE_RDMA,
616 ("%s: ulp_mode %u for toep %p", __func__, toep->ulp_mode, toep));
768 if (compl || toep->ulp_mode == ULP_MODE_RDMA) {
816 int tx_credits, ulp_len = 0, ulp_mode = 0, qlen = 0;
890 ulp_len = plen + ulp_extra_len(sndptr, &ulp_mode);
904 ulp_mode, 0);
921 ulp_mode, 0);
1010 if (toep->ulp_mode == ULP_MODE_ISCSI)
1120 if (toep->ulp_mode != ULP_MODE_RDMA) {
1327 if (toep->ulp_mode == ULP_MODE_ISCSI) {
1342 if (toep->ulp_mode == ULP_MODE_ISCSI)
1555 if (toep->ulp_mode == ULP_MODE_TCPDDP) {
1746 if (toep->ulp_mode == ULP_MODE_ISCSI)
1753 if (toep->ulp_mode == ULP_MODE_ISCSI)