From patchwork Fri Feb 17 16:00:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ed Czeck X-Patchwork-Id: 124136 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 26CCA41CC1; Fri, 17 Feb 2023 17:01:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EEBAB42D0C; Fri, 17 Feb 2023 17:00:51 +0100 (CET) Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) by mails.dpdk.org (Postfix) with ESMTP id 141FA42D29 for ; Fri, 17 Feb 2023 17:00:49 +0100 (CET) Received: by mail-qv1-f46.google.com with SMTP id c10so1540769qvp.4 for ; Fri, 17 Feb 2023 08:00:49 -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=Kq7uU5Owfrv+niTwh9MHLqDsp0m1tEFZ7NEfjOZoQ3Fi6hAUA5X3GZz3q4wKeSsY0m xTTEz/CpjSdUx4mol+Tpx8qP2pk5dYxzdLbt2bgTIpCFIaSd8iw2iLdj+fMsdR87eZqb hsDESwxcHGuxqx5MZw3+OuzFpPf7I8UYbrBmE7b9E/8fDgIX+r4UWBYrI5Wf0Ui9JliI elJK3i15L/yYFga6frkCzLRtwWPuDRHmEdllw85U+G5WG0jiqCyG1Nri0Dp4+RLf7HXs uYt6CnJxYRrtekg0Ob+sY+pnkKV6LPpHmeIwCcyyeu3AMRAdFjGDaG5qVSRkMOA7etkb hepA== 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=qejps0QAeZ47ob+84qBu4kTJhRsjCYX/i9XGC7cYOMUB2/SoMS1mZKymzo7h/ShAlX q3uEM/6spyj//D1dVNgwhF4uC/nnzH2E+TSgHTIAgnXVGzifXQd2EEU4RpBP+HwpYGoZ 1w+/zQgbwGyN3rUAWxDFsLJVUkVTRvIz93am4NTRYA4gCIt1z+0YWDhn6awUmugihmoy 84V9WD2D2Y6kRU8yvadCnB9Q8DThEF6olMGHRHShG6hG8I/ln2c+kWAH+fTM5+Mjypwf AcH/RtmpX9yANxRjw+0cNpw0foxiIUY8h1UMVakVd9rZHHXqpUrpLrrHTLS8+E170+2b sllA== X-Gm-Message-State: AO0yUKVhZ3dGYU8hi9GwmlcMH4q+U7uSNqwrcGGJtl9VfgzWtyB3a7Wy pxtc5SOK64XPxbKbh9U6kVzZTqWmHTw74tHC X-Google-Smtp-Source: AK7set+19/k68CIuqgEqj8AdbfZ1vHGH45f51gN9nMG7OvPX8xW09Tm3UAIFB5T/J+b/Hn9k1U7/0Q== X-Received: by 2002:a05:6214:2508:b0:56e:a6ef:a718 with SMTP id gf8-20020a056214250800b0056ea6efa718mr2280835qvb.11.1676649647840; Fri, 17 Feb 2023 08:00:47 -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.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 08:00:46 -0800 (PST) From: Ed Czeck To: dev@dpdk.org, ferruh.yigit@amd.com Cc: Shepard Siegel , John Miller Subject: [PATCH] net/ark: resize data field to match fpga access Date: Fri, 17 Feb 2023 11:00:39 -0500 Message-Id: <20230217160039.2487085-4-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;