From patchwork Fri Feb 17 15:47:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ed Czeck X-Patchwork-Id: 124127 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 4451841CC1; Fri, 17 Feb 2023 16:48:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0476042BB1; Fri, 17 Feb 2023 16:48:13 +0100 (CET) Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) by mails.dpdk.org (Postfix) with ESMTP id CB93742D13 for ; Fri, 17 Feb 2023 16:48:10 +0100 (CET) Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-536566d7b16so19124617b3.8 for ; Fri, 17 Feb 2023 07:48:10 -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=kwETrE+7os5Fo0rV8c1H2ObirBpNui0V+mi/fXWIJi4=; b=GSyjBogOXktwwT701FvpLxdjgELcwFz7Lg0gtXAnwqkkiVymZqHFadfTDMmGhOAxBb WGkpTvcSLI00NKnROTWKIyZthPFgz2aoguo8uuzIqzcLjCGbWEU4cYvMVKvQ2A6rIS/N todwY30U89IC7u4+DtJrrHe5ImrwZ+WHPWqpj+yG9wcAyhP0Xk4oaQSNs99Vhm+60k+F TcdFvEjv+3l9Kn/52ksp6dPphc/nJeqWGtm3TFGIyIx+n++UglcQipAfK9GVayCHzPiW tkSW3yoUal0zT84AhQJZJEBhFnKSgiFbrrp1lOpea1xBTMq23q3uHFUap0Mz4bi1IzWw AfIQ== 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=kwETrE+7os5Fo0rV8c1H2ObirBpNui0V+mi/fXWIJi4=; b=zNKo1LqJDrqlKDGOhYdzPG/+8ECDBognz2rYdRfXVyV4YltpZw/Lqy5pozcETUY79L YUMJp/aR8SOZnx/2wgJ+lRA4x2ohSiJIce2Z9VpuZR/GNshL14XmHe/UyWVJ3aR3sQWc Ssxh3dNw7lCjnvkF8+ETflNgwKnITWSxQG4HujBoXOjiDJoaU6Hg1tXDp+8BwvgSAT/1 qL9oNguX//p/rqdg7LfIW7m9VeCWtQQMDzUcjv8o2UzBy/ynUXL/wmEJAWZ6LzWxyGeL f0ZhuHzEtQ7KfwyifGR2TdhiGKm6Mg+QtNnH3eHtNm4lGlTXTaz8Yy9L2YQdUA0IAO60 EsZw== X-Gm-Message-State: AO0yUKXeIm/FYdMJ8PklcBqB60LIVRui+g8z6cr6g0+80RAjSujfvEoy ha8Vv2ia5ebvRPJHU2aibgGcm/RhnRoQ5tA9 X-Google-Smtp-Source: AK7set9Lm62QR+ZlCRc0bRFANMjd42EUqMjfI48fDYSoyCX2L6fAyLmfaDOE6CrWdb9fmwxJxHmTPg== X-Received: by 2002:a81:85c3:0:b0:533:8ac3:1602 with SMTP id v186-20020a8185c3000000b005338ac31602mr5037260ywf.27.1676648889586; Fri, 17 Feb 2023 07:48:09 -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 o73-20020a37414c000000b007195af894e7sm3440904qka.76.2023.02.17.07.48.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 07:48:08 -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 10:47:58 -0500 Message-Id: <20230217154759.2484937-3-ed.czeck@atomicrules.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230217154759.2484937-1-ed.czeck@atomicrules.com> References: <20230217154759.2484937-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 acces 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;