Lines Matching refs:l4kwqe

3385 	struct l4_kwq_offload_pg *l4kwqe;  in cnic_cm_offload_pg()  local
3388 l4kwqe = (struct l4_kwq_offload_pg *) &csk->kwqe1; in cnic_cm_offload_pg()
3389 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_offload_pg()
3390 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_offload_pg()
3392 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_OFFLOAD_PG; in cnic_cm_offload_pg()
3393 l4kwqe->flags = in cnic_cm_offload_pg()
3395 l4kwqe->l2hdr_nbytes = ETH_HLEN; in cnic_cm_offload_pg()
3397 l4kwqe->da0 = csk->ha[0]; in cnic_cm_offload_pg()
3398 l4kwqe->da1 = csk->ha[1]; in cnic_cm_offload_pg()
3399 l4kwqe->da2 = csk->ha[2]; in cnic_cm_offload_pg()
3400 l4kwqe->da3 = csk->ha[3]; in cnic_cm_offload_pg()
3401 l4kwqe->da4 = csk->ha[4]; in cnic_cm_offload_pg()
3402 l4kwqe->da5 = csk->ha[5]; in cnic_cm_offload_pg()
3404 l4kwqe->sa0 = dev->mac_addr[0]; in cnic_cm_offload_pg()
3405 l4kwqe->sa1 = dev->mac_addr[1]; in cnic_cm_offload_pg()
3406 l4kwqe->sa2 = dev->mac_addr[2]; in cnic_cm_offload_pg()
3407 l4kwqe->sa3 = dev->mac_addr[3]; in cnic_cm_offload_pg()
3408 l4kwqe->sa4 = dev->mac_addr[4]; in cnic_cm_offload_pg()
3409 l4kwqe->sa5 = dev->mac_addr[5]; in cnic_cm_offload_pg()
3411 l4kwqe->etype = ETH_P_IP; in cnic_cm_offload_pg()
3412 l4kwqe->ipid_start = DEF_IPID_START; in cnic_cm_offload_pg()
3413 l4kwqe->host_opaque = csk->l5_cid; in cnic_cm_offload_pg()
3416 l4kwqe->pg_flags |= L4_KWQ_OFFLOAD_PG_VLAN_TAGGING; in cnic_cm_offload_pg()
3417 l4kwqe->vlan_tag = csk->vlan_id; in cnic_cm_offload_pg()
3418 l4kwqe->l2hdr_nbytes += 4; in cnic_cm_offload_pg()
3427 struct l4_kwq_update_pg *l4kwqe; in cnic_cm_update_pg() local
3430 l4kwqe = (struct l4_kwq_update_pg *) &csk->kwqe1; in cnic_cm_update_pg()
3431 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_update_pg()
3432 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_update_pg()
3434 l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPDATE_PG; in cnic_cm_update_pg()
3435 l4kwqe->flags = in cnic_cm_update_pg()
3437 l4kwqe->pg_cid = csk->pg_cid; in cnic_cm_update_pg()
3439 l4kwqe->da0 = csk->ha[0]; in cnic_cm_update_pg()
3440 l4kwqe->da1 = csk->ha[1]; in cnic_cm_update_pg()
3441 l4kwqe->da2 = csk->ha[2]; in cnic_cm_update_pg()
3442 l4kwqe->da3 = csk->ha[3]; in cnic_cm_update_pg()
3443 l4kwqe->da4 = csk->ha[4]; in cnic_cm_update_pg()
3444 l4kwqe->da5 = csk->ha[5]; in cnic_cm_update_pg()
3446 l4kwqe->pg_host_opaque = csk->l5_cid; in cnic_cm_update_pg()
3447 l4kwqe->pg_valids = L4_KWQ_UPDATE_PG_VALIDS_DA; in cnic_cm_update_pg()
3455 struct l4_kwq_upload *l4kwqe; in cnic_cm_upload_pg() local
3458 l4kwqe = (struct l4_kwq_upload *) &csk->kwqe1; in cnic_cm_upload_pg()
3459 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_upload_pg()
3460 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_upload_pg()
3462 l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPLOAD_PG; in cnic_cm_upload_pg()
3463 l4kwqe->flags = in cnic_cm_upload_pg()
3465 l4kwqe->cid = csk->pg_cid; in cnic_cm_upload_pg()
3557 struct l4_kwq_close_req *l4kwqe; in cnic_cm_close_req() local
3560 l4kwqe = (struct l4_kwq_close_req *) &csk->kwqe2; in cnic_cm_close_req()
3561 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_close_req()
3562 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_close_req()
3564 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_CLOSE; in cnic_cm_close_req()
3565 l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_CLOSE_REQ_LAYER_CODE_SHIFT; in cnic_cm_close_req()
3566 l4kwqe->cid = csk->cid; in cnic_cm_close_req()
3574 struct l4_kwq_reset_req *l4kwqe; in cnic_cm_abort_req() local
3577 l4kwqe = (struct l4_kwq_reset_req *) &csk->kwqe2; in cnic_cm_abort_req()
3578 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_abort_req()
3579 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_abort_req()
3581 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_RESET; in cnic_cm_abort_req()
3582 l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_RESET_REQ_LAYER_CODE_SHIFT; in cnic_cm_abort_req()
3583 l4kwqe->cid = csk->cid; in cnic_cm_abort_req()