l4kwqe 3379 drivers/net/ethernet/broadcom/cnic.c struct l4_kwq_offload_pg *l4kwqe; l4kwqe 3382 drivers/net/ethernet/broadcom/cnic.c l4kwqe = (struct l4_kwq_offload_pg *) &csk->kwqe1; l4kwqe 3383 drivers/net/ethernet/broadcom/cnic.c memset(l4kwqe, 0, sizeof(*l4kwqe)); l4kwqe 3384 drivers/net/ethernet/broadcom/cnic.c wqes[0] = (struct kwqe *) l4kwqe; l4kwqe 3386 drivers/net/ethernet/broadcom/cnic.c l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_OFFLOAD_PG; l4kwqe 3387 drivers/net/ethernet/broadcom/cnic.c l4kwqe->flags = l4kwqe 3389 drivers/net/ethernet/broadcom/cnic.c l4kwqe->l2hdr_nbytes = ETH_HLEN; l4kwqe 3391 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da0 = csk->ha[0]; l4kwqe 3392 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da1 = csk->ha[1]; l4kwqe 3393 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da2 = csk->ha[2]; l4kwqe 3394 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da3 = csk->ha[3]; l4kwqe 3395 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da4 = csk->ha[4]; l4kwqe 3396 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da5 = csk->ha[5]; l4kwqe 3398 drivers/net/ethernet/broadcom/cnic.c l4kwqe->sa0 = dev->mac_addr[0]; l4kwqe 3399 drivers/net/ethernet/broadcom/cnic.c l4kwqe->sa1 = dev->mac_addr[1]; l4kwqe 3400 drivers/net/ethernet/broadcom/cnic.c l4kwqe->sa2 = dev->mac_addr[2]; l4kwqe 3401 drivers/net/ethernet/broadcom/cnic.c l4kwqe->sa3 = dev->mac_addr[3]; l4kwqe 3402 drivers/net/ethernet/broadcom/cnic.c l4kwqe->sa4 = dev->mac_addr[4]; l4kwqe 3403 drivers/net/ethernet/broadcom/cnic.c l4kwqe->sa5 = dev->mac_addr[5]; l4kwqe 3405 drivers/net/ethernet/broadcom/cnic.c l4kwqe->etype = ETH_P_IP; l4kwqe 3406 drivers/net/ethernet/broadcom/cnic.c l4kwqe->ipid_start = DEF_IPID_START; l4kwqe 3407 drivers/net/ethernet/broadcom/cnic.c l4kwqe->host_opaque = csk->l5_cid; l4kwqe 3410 drivers/net/ethernet/broadcom/cnic.c l4kwqe->pg_flags |= L4_KWQ_OFFLOAD_PG_VLAN_TAGGING; l4kwqe 3411 drivers/net/ethernet/broadcom/cnic.c l4kwqe->vlan_tag = csk->vlan_id; l4kwqe 3412 drivers/net/ethernet/broadcom/cnic.c l4kwqe->l2hdr_nbytes += 4; l4kwqe 3421 drivers/net/ethernet/broadcom/cnic.c struct l4_kwq_update_pg *l4kwqe; l4kwqe 3424 drivers/net/ethernet/broadcom/cnic.c l4kwqe = (struct l4_kwq_update_pg *) &csk->kwqe1; l4kwqe 3425 drivers/net/ethernet/broadcom/cnic.c memset(l4kwqe, 0, sizeof(*l4kwqe)); l4kwqe 3426 drivers/net/ethernet/broadcom/cnic.c wqes[0] = (struct kwqe *) l4kwqe; l4kwqe 3428 drivers/net/ethernet/broadcom/cnic.c l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPDATE_PG; l4kwqe 3429 drivers/net/ethernet/broadcom/cnic.c l4kwqe->flags = l4kwqe 3431 drivers/net/ethernet/broadcom/cnic.c l4kwqe->pg_cid = csk->pg_cid; l4kwqe 3433 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da0 = csk->ha[0]; l4kwqe 3434 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da1 = csk->ha[1]; l4kwqe 3435 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da2 = csk->ha[2]; l4kwqe 3436 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da3 = csk->ha[3]; l4kwqe 3437 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da4 = csk->ha[4]; l4kwqe 3438 drivers/net/ethernet/broadcom/cnic.c l4kwqe->da5 = csk->ha[5]; l4kwqe 3440 drivers/net/ethernet/broadcom/cnic.c l4kwqe->pg_host_opaque = csk->l5_cid; l4kwqe 3441 drivers/net/ethernet/broadcom/cnic.c l4kwqe->pg_valids = L4_KWQ_UPDATE_PG_VALIDS_DA; l4kwqe 3449 drivers/net/ethernet/broadcom/cnic.c struct l4_kwq_upload *l4kwqe; l4kwqe 3452 drivers/net/ethernet/broadcom/cnic.c l4kwqe = (struct l4_kwq_upload *) &csk->kwqe1; l4kwqe 3453 drivers/net/ethernet/broadcom/cnic.c memset(l4kwqe, 0, sizeof(*l4kwqe)); l4kwqe 3454 drivers/net/ethernet/broadcom/cnic.c wqes[0] = (struct kwqe *) l4kwqe; l4kwqe 3456 drivers/net/ethernet/broadcom/cnic.c l4kwqe->opcode = L4_KWQE_OPCODE_VALUE_UPLOAD_PG; l4kwqe 3457 drivers/net/ethernet/broadcom/cnic.c l4kwqe->flags = l4kwqe 3459 drivers/net/ethernet/broadcom/cnic.c l4kwqe->cid = csk->pg_cid; l4kwqe 3551 drivers/net/ethernet/broadcom/cnic.c struct l4_kwq_close_req *l4kwqe; l4kwqe 3554 drivers/net/ethernet/broadcom/cnic.c l4kwqe = (struct l4_kwq_close_req *) &csk->kwqe2; l4kwqe 3555 drivers/net/ethernet/broadcom/cnic.c memset(l4kwqe, 0, sizeof(*l4kwqe)); l4kwqe 3556 drivers/net/ethernet/broadcom/cnic.c wqes[0] = (struct kwqe *) l4kwqe; l4kwqe 3558 drivers/net/ethernet/broadcom/cnic.c l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_CLOSE; l4kwqe 3559 drivers/net/ethernet/broadcom/cnic.c l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_CLOSE_REQ_LAYER_CODE_SHIFT; l4kwqe 3560 drivers/net/ethernet/broadcom/cnic.c l4kwqe->cid = csk->cid; l4kwqe 3568 drivers/net/ethernet/broadcom/cnic.c struct l4_kwq_reset_req *l4kwqe; l4kwqe 3571 drivers/net/ethernet/broadcom/cnic.c l4kwqe = (struct l4_kwq_reset_req *) &csk->kwqe2; l4kwqe 3572 drivers/net/ethernet/broadcom/cnic.c memset(l4kwqe, 0, sizeof(*l4kwqe)); l4kwqe 3573 drivers/net/ethernet/broadcom/cnic.c wqes[0] = (struct kwqe *) l4kwqe; l4kwqe 3575 drivers/net/ethernet/broadcom/cnic.c l4kwqe->op_code = L4_KWQE_OPCODE_VALUE_RESET; l4kwqe 3576 drivers/net/ethernet/broadcom/cnic.c l4kwqe->flags = L4_LAYER_CODE << L4_KWQ_RESET_REQ_LAYER_CODE_SHIFT; l4kwqe 3577 drivers/net/ethernet/broadcom/cnic.c l4kwqe->cid = csk->cid;