Lines Matching refs:l4kwqe

3112 	struct l4_kwq_offload_pg *l4kwqe;  in cnic_cm_offload_pg()  local
3115 l4kwqe = (struct l4_kwq_offload_pg *) &csk->kwqe1; in cnic_cm_offload_pg()
3116 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_offload_pg()
3117 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_offload_pg()
3119 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_OFFLOAD_PG; in cnic_cm_offload_pg()
3120 l4kwqe->flags = in cnic_cm_offload_pg()
3122 l4kwqe->l2hdr_nbytes = ETH_HLEN; in cnic_cm_offload_pg()
3124 l4kwqe->da0 = csk->ha[0]; in cnic_cm_offload_pg()
3125 l4kwqe->da1 = csk->ha[1]; in cnic_cm_offload_pg()
3126 l4kwqe->da2 = csk->ha[2]; in cnic_cm_offload_pg()
3127 l4kwqe->da3 = csk->ha[3]; in cnic_cm_offload_pg()
3128 l4kwqe->da4 = csk->ha[4]; in cnic_cm_offload_pg()
3129 l4kwqe->da5 = csk->ha[5]; in cnic_cm_offload_pg()
3131 l4kwqe->sa0 = dev->mac_addr[0]; in cnic_cm_offload_pg()
3132 l4kwqe->sa1 = dev->mac_addr[1]; in cnic_cm_offload_pg()
3133 l4kwqe->sa2 = dev->mac_addr[2]; in cnic_cm_offload_pg()
3134 l4kwqe->sa3 = dev->mac_addr[3]; in cnic_cm_offload_pg()
3135 l4kwqe->sa4 = dev->mac_addr[4]; in cnic_cm_offload_pg()
3136 l4kwqe->sa5 = dev->mac_addr[5]; in cnic_cm_offload_pg()
3138 l4kwqe->etype = ETH_P_IP; in cnic_cm_offload_pg()
3139 l4kwqe->ipid_start = DEF_IPID_START; in cnic_cm_offload_pg()
3140 l4kwqe->host_opaque = csk->l5_cid; in cnic_cm_offload_pg()
3143 l4kwqe->pg_flags |= L4_KWQ_OFFLOAD_PG_VLAN_TAGGING; in cnic_cm_offload_pg()
3144 l4kwqe->vlan_tag = csk->vlan_id; in cnic_cm_offload_pg()
3145 l4kwqe->l2hdr_nbytes += 4; in cnic_cm_offload_pg()
3154 struct l4_kwq_update_pg *l4kwqe; in cnic_cm_update_pg() local
3157 l4kwqe = (struct l4_kwq_update_pg *) &csk->kwqe1; in cnic_cm_update_pg()
3158 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_update_pg()
3159 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_update_pg()
3161 l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPDATE_PG; in cnic_cm_update_pg()
3162 l4kwqe->flags = in cnic_cm_update_pg()
3164 l4kwqe->pg_cid = csk->pg_cid; in cnic_cm_update_pg()
3166 l4kwqe->da0 = csk->ha[0]; in cnic_cm_update_pg()
3167 l4kwqe->da1 = csk->ha[1]; in cnic_cm_update_pg()
3168 l4kwqe->da2 = csk->ha[2]; in cnic_cm_update_pg()
3169 l4kwqe->da3 = csk->ha[3]; in cnic_cm_update_pg()
3170 l4kwqe->da4 = csk->ha[4]; in cnic_cm_update_pg()
3171 l4kwqe->da5 = csk->ha[5]; in cnic_cm_update_pg()
3173 l4kwqe->pg_host_opaque = csk->l5_cid; in cnic_cm_update_pg()
3174 l4kwqe->pg_valids = L4_KWQ_UPDATE_PG_VALIDS_DA; in cnic_cm_update_pg()
3182 struct l4_kwq_upload *l4kwqe; in cnic_cm_upload_pg() local
3185 l4kwqe = (struct l4_kwq_upload *) &csk->kwqe1; in cnic_cm_upload_pg()
3186 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_upload_pg()
3187 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_upload_pg()
3189 l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPLOAD_PG; in cnic_cm_upload_pg()
3190 l4kwqe->flags = in cnic_cm_upload_pg()
3192 l4kwqe->cid = csk->pg_cid; in cnic_cm_upload_pg()
3284 struct l4_kwq_close_req *l4kwqe; in cnic_cm_close_req() local
3287 l4kwqe = (struct l4_kwq_close_req *) &csk->kwqe2; in cnic_cm_close_req()
3288 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_close_req()
3289 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_close_req()
3291 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_CLOSE; in cnic_cm_close_req()
3292 l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_CLOSE_REQ_LAYER_CODE_SHIFT; in cnic_cm_close_req()
3293 l4kwqe->cid = csk->cid; in cnic_cm_close_req()
3301 struct l4_kwq_reset_req *l4kwqe; in cnic_cm_abort_req() local
3304 l4kwqe = (struct l4_kwq_reset_req *) &csk->kwqe2; in cnic_cm_abort_req()
3305 memset(l4kwqe, 0, sizeof(*l4kwqe)); in cnic_cm_abort_req()
3306 wqes[0] = (struct kwqe *) l4kwqe; in cnic_cm_abort_req()
3308 l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_RESET; in cnic_cm_abort_req()
3309 l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_RESET_REQ_LAYER_CODE_SHIFT; in cnic_cm_abort_req()
3310 l4kwqe->cid = csk->cid; in cnic_cm_abort_req()