From: Shahaf Shuler <shahafs@mellanox.com>
To: Shahaf Shuler <shahafs@mellanox.com>, Yongseok Koh <yskoh@mellanox.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, Ori Kam <orika@mellanox.com>,
Dekel Peled <dekelp@mellanox.com>
Subject: [dpdk-dev] [PATCH] net/mlx5: remove redundant size calculation macro
Date: Sun, 26 May 2019 19:23:19 +0000 [thread overview]
Message-ID: <b5db132faff277bc7ce3590497a7633926c14494.1557911549.git.dekelp@mellanox.com> (raw)
Message-ID: <20190526192319.X3957bAWU0PU_zdVQNVTKJO4GfyaoAr2n908Jw0zhaU@z> (raw)
From: Dekel Peled <dekelp@mellanox.com>
>Patch [1] added, among other definitions, the macro MLX5_ST_SZ_DB.
>Patch [2] added later the macro MLX5_ST_SZ_BYTES, which is exactly
>the same macro with a different name.
>Each of these macros was used in very few places.
>
>This patch removes the definition of MLX5_ST_SZ_DB, and replaces it
>with MLX5_ST_SZ_BYTES wherever it was used.
>Macro MLX5_ST_SZ_BYTES was preffered since it is the same macro
>name used in kernel code, see [3].
>
>[1] http://patches.dpdk.org/patch/45254/
>[2] http://patches.dpdk.org/patch/49403/
>[3] https://lists.openwall.net/netdev/2014/10/02/75
>
>Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Applied to next-net-mlx, thanks.
next reply other threads:[~2019-05-26 19:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-15 10:11 Dekel Peled [this message]
2019-05-15 10:11 ` Dekel Peled
2019-05-26 19:23 ` Shahaf Shuler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b5db132faff277bc7ce3590497a7633926c14494.1557911549.git.dekelp@mellanox.com \
--to=shahafs@mellanox.com \
--cc=dekelp@mellanox.com \
--cc=dev@dpdk.org \
--cc=orika@mellanox.com \
--cc=yskoh@mellanox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).