Lines Matching refs:kwr
360 struct tls_key_req *kwr; in chtls_setkey() local
374 wrlen = roundup(sizeof(*kwr), 16); in chtls_setkey()
396 kwr = (struct tls_key_req *)__skb_put_zero(skb, len); in chtls_setkey()
397 kwr->wr.op_to_compl = in chtls_setkey()
400 kwr->wr.flowid_len16 = in chtls_setkey()
403 kwr->wr.protocol = 0; in chtls_setkey()
404 kwr->wr.mfs = htons(TLS_MFS); in chtls_setkey()
405 kwr->wr.reneg_to_write_rx = optname; in chtls_setkey()
408 kwr->req.cmd = cpu_to_be32(ULPTX_CMD_V(ULP_TX_MEM_WRITE) | in chtls_setkey()
411 kwr->req.len16 = cpu_to_be32((csk->tid << 8) | in chtls_setkey()
412 DIV_ROUND_UP(len - sizeof(kwr->wr), 16)); in chtls_setkey()
413 kwr->req.dlen = cpu_to_be32(ULP_MEMIO_DATA_LEN_V(klen >> 5)); in chtls_setkey()
414 kwr->req.lock_addr = cpu_to_be32(ULP_MEMIO_ADDR_V(kaddr)); in chtls_setkey()
417 kwr->sc_imm.cmd_more = cpu_to_be32(ULPTX_CMD_V(ULP_TX_SC_IMM)); in chtls_setkey()
418 kwr->sc_imm.len = cpu_to_be32(klen); in chtls_setkey()
422 kctx = (struct _key_ctx *)(kwr + 1); in chtls_setkey()