Lines Matching refs:l4kwqe

3378 	struct l4_kwq_offload_pg *l4kwqe;  in cnic_cm_offload_pg()  local
3381 l4kwqe = (struct l4_kwq_offload_pg *) &csk->kwqe1; in cnic_cm_offload_pg()
3382 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_offload_pg()
3383 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_offload_pg()
3385 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_OFFLOAD_PG; in cnic_cm_offload_pg()
3386 l4kwqe->flags = in cnic_cm_offload_pg()
3388 l4kwqe->l2hdr_nbytes = ETH_HLEN; in cnic_cm_offload_pg()
3390 l4kwqe->da0 = csk->ha[0]; in cnic_cm_offload_pg()
3391 l4kwqe->da1 = csk->ha[1]; in cnic_cm_offload_pg()
3392 l4kwqe->da2 = csk->ha[2]; in cnic_cm_offload_pg()
3393 l4kwqe->da3 = csk->ha[3]; in cnic_cm_offload_pg()
3394 l4kwqe->da4 = csk->ha[4]; in cnic_cm_offload_pg()
3395 l4kwqe->da5 = csk->ha[5]; in cnic_cm_offload_pg()
3397 l4kwqe->sa0 = dev->mac_addr[0]; in cnic_cm_offload_pg()
3398 l4kwqe->sa1 = dev->mac_addr[1]; in cnic_cm_offload_pg()
3399 l4kwqe->sa2 = dev->mac_addr[2]; in cnic_cm_offload_pg()
3400 l4kwqe->sa3 = dev->mac_addr[3]; in cnic_cm_offload_pg()
3401 l4kwqe->sa4 = dev->mac_addr[4]; in cnic_cm_offload_pg()
3402 l4kwqe->sa5 = dev->mac_addr[5]; in cnic_cm_offload_pg()
3404 l4kwqe->etype = ETH_P_IP; in cnic_cm_offload_pg()
3405 l4kwqe->ipid_start = DEF_IPID_START; in cnic_cm_offload_pg()
3406 l4kwqe->host_opaque = csk->l5_cid; in cnic_cm_offload_pg()
3409 l4kwqe->pg_flags |= L4_KWQ_OFFLOAD_PG_VLAN_TAGGING; in cnic_cm_offload_pg()
3410 l4kwqe->vlan_tag = csk->vlan_id; in cnic_cm_offload_pg()
3411 l4kwqe->l2hdr_nbytes += 4; in cnic_cm_offload_pg()
3420 struct l4_kwq_update_pg *l4kwqe; in cnic_cm_update_pg() local
3423 l4kwqe = (struct l4_kwq_update_pg *) &csk->kwqe1; in cnic_cm_update_pg()
3424 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_update_pg()
3425 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_update_pg()
3427 l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPDATE_PG; in cnic_cm_update_pg()
3428 l4kwqe->flags = in cnic_cm_update_pg()
3430 l4kwqe->pg_cid = csk->pg_cid; in cnic_cm_update_pg()
3432 l4kwqe->da0 = csk->ha[0]; in cnic_cm_update_pg()
3433 l4kwqe->da1 = csk->ha[1]; in cnic_cm_update_pg()
3434 l4kwqe->da2 = csk->ha[2]; in cnic_cm_update_pg()
3435 l4kwqe->da3 = csk->ha[3]; in cnic_cm_update_pg()
3436 l4kwqe->da4 = csk->ha[4]; in cnic_cm_update_pg()
3437 l4kwqe->da5 = csk->ha[5]; in cnic_cm_update_pg()
3439 l4kwqe->pg_host_opaque = csk->l5_cid; in cnic_cm_update_pg()
3440 l4kwqe->pg_valids = L4_KWQ_UPDATE_PG_VALIDS_DA; in cnic_cm_update_pg()
3448 struct l4_kwq_upload *l4kwqe; in cnic_cm_upload_pg() local
3451 l4kwqe = (struct l4_kwq_upload *) &csk->kwqe1; in cnic_cm_upload_pg()
3452 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_upload_pg()
3453 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_upload_pg()
3455 l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPLOAD_PG; in cnic_cm_upload_pg()
3456 l4kwqe->flags = in cnic_cm_upload_pg()
3458 l4kwqe->cid = csk->pg_cid; in cnic_cm_upload_pg()
3550 struct l4_kwq_close_req *l4kwqe; in cnic_cm_close_req() local
3553 l4kwqe = (struct l4_kwq_close_req *) &csk->kwqe2; in cnic_cm_close_req()
3554 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_close_req()
3555 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_close_req()
3557 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_CLOSE; in cnic_cm_close_req()
3558 l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_CLOSE_REQ_LAYER_CODE_SHIFT; in cnic_cm_close_req()
3559 l4kwqe->cid = csk->cid; in cnic_cm_close_req()
3567 struct l4_kwq_reset_req *l4kwqe; in cnic_cm_abort_req() local
3570 l4kwqe = (struct l4_kwq_reset_req *) &csk->kwqe2; in cnic_cm_abort_req()
3571 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_abort_req()
3572 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_abort_req()
3574 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_RESET; in cnic_cm_abort_req()
3575 l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_RESET_REQ_LAYER_CODE_SHIFT; in cnic_cm_abort_req()
3576 l4kwqe->cid = csk->cid; in cnic_cm_abort_req()