From patchwork Fri Feb 17 16:00:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ed Czeck X-Patchwork-Id: 124135 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CD5CF41CC1; Fri, 17 Feb 2023 17:00:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BBC4D42D31; Fri, 17 Feb 2023 17:00:50 +0100 (CET) Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) by mails.dpdk.org (Postfix) with ESMTP id A66BE42D1A for ; Fri, 17 Feb 2023 17:00:47 +0100 (CET) Received: by mail-qt1-f180.google.com with SMTP id s22so1277815qtw.11 for ; Fri, 17 Feb 2023 08:00:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atomicrules-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=c4IWdJFwYnergjPZw1qFObMqN+KdP18tyOspeVVD7JA=; b=wPsoF2QMd6fXz6IM3aQMTA/SKBBVIAgQ7lYfHalNMkfWy1MNL8l0MxqTeRkGUa13ge dosr9AgvDqLivqFBbhzgoWOvMbMJTWS4GT08GIgukWqwAXJ6Y++h7xQ5CTmaeJuqGysC Fa7bi0r3iPbWxwV/NCvAZI6ELBHkewLZiSlA1R/DT0/ey2i4rFOXk5Olwbzr+keTbjpM Xb9NYVJzntRqHjdZSElZNjengv4DzvKNG610mRHl3Dk0XJFZPfv8ttA5u7hDPT4jeyy9 dGfpaN3715PAUd9y7zCzvofMfjDj+zxEzEIdBXnl0ioJWqU5fKHOv3SY63m2SSWb7Roa 3mCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c4IWdJFwYnergjPZw1qFObMqN+KdP18tyOspeVVD7JA=; b=ttqzEG6hC2dj3gsgExkz3uazGighuFH5Uqk7nOtnnxPXU6hJPB5e8LJSwQ8CS/uUUA SBwTcU+fVm9hPyhTNxTMgZHN3DshV28w8FrSVOoNPz0MhvEgoQB3VxL3mIxHH2BJ9PoV 6WLFwP1jP1G+xcYzbNGja20GghANyp8xMrjTGz3xhf765Lf9zUowzO7abwUDgnqVJ/bl 8WAwZQwJMSKsNiIzimBa77+xTlp8Q5A6wPwdJm0D1nVQo2wWdVw91NL3HgKaaZizB0Wv fi18Bfvl2FMIciXIwFXHcPEvggs+vPsCzABn67SrVtPxhiUvLJ8MpfAa+xUJ89t/1Mjx BK9Q== X-Gm-Message-State: AO0yUKUHXoXxE8tFME0ZEmw5/2bZOXQApGrDZ5Xeg5TLb1d9PP39CpTf J7elDC0xtQFrJ1J84V8Zv047gtkH+4Xm8Eii X-Google-Smtp-Source: AK7set/s/fthpnyV1ruwCg+al/ur0bEsb9cnQ2p8N+rly1/7snvmaJdNu/evmvfTSv02z0GLg8uwkQ== X-Received: by 2002:a05:622a:1805:b0:3b9:bb27:e116 with SMTP id t5-20020a05622a180500b003b9bb27e116mr1911649qtc.1.1676649646529; Fri, 17 Feb 2023 08:00:46 -0800 (PST) Received: from z690.czeck.local (pool-173-48-111-149.bstnma.fios.verizon.net. [173.48.111.149]) by smtp.gmail.com with ESMTPSA id o6-20020a37be06000000b0073b338b4eb1sm3382460qkf.133.2023.02.17.08.00.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 08:00:45 -0800 (PST) From: Ed Czeck To: dev@dpdk.org, ferruh.yigit@amd.com Cc: Shepard Siegel , John Miller Subject: [PATCH 3/3] net/ark: resize data field to match fpga access Date: Fri, 17 Feb 2023 11:00:38 -0500 Message-Id: <20230217160039.2487085-3-ed.czeck@atomicrules.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230217160039.2487085-1-ed.czeck@atomicrules.com> References: <20230217160039.2487085-1-ed.czeck@atomicrules.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org all fpga accesses are multiples of 4 bytes Signed-off-by: Ed Czeck --- drivers/net/ark/ark_mpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ark/ark_mpu.h b/drivers/net/ark/ark_mpu.h index 9d2b70d35f..10842ba484 100644 --- a/drivers/net/ark/ark_mpu.h +++ b/drivers/net/ark/ark_mpu.h @@ -39,8 +39,7 @@ struct ark_mpu_id_t { #define ARK_MPU_HW 0x010 struct ark_mpu_hw_t { - uint16_t num_queues; - uint16_t reserved; + uint32_t num_queues; uint32_t hw_depth; uint32_t obj_size; uint32_t obj_per_mrr;