From: Remy Horton <remy.horton@intel.com>
To: zr@semihalf.com, thomas.monjalon@6wind.com
Cc: dev@dpdk.org
Subject: Re: [PATCH v3 2/2] examples/ethtool: get reg width to allocate memory
Date: Tue, 07 Jun 2016 10:52:25 +0100 [thread overview]
Message-ID: <57569959.5000407@intel.com> (raw)
In-Reply-To: <1464767771-19159-2-git-send-email-zr@semihalf.com>
On 01/06/2016 08:56, zr@semihalf.com wrote:
> From: Zyta Szpak <zr@semihalf.com>
>
> Version 2 of fixing the fixed register width assumption.
> Not every device uses 32-bit wide register. The app was allocating too
> little space for 64-bit registers which resulted in memory corruption.
> This commit resolves this by getting the size of register in bytes for
> a specific device. If the device does not implement this function, it
> fallsback to sizeof(uint32_t)
>
> Signed-off-by: Zyta Szpak <zr@semihalf.com>
Acked-by: Remy Horton <remy.horton@intel.com>
next prev parent reply other threads:[~2016-06-07 9:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-01 7:56 [PATCH v3 1/2] ethdev: add callback to get register size in bytes zr
2016-06-01 7:56 ` [PATCH v3 2/2] examples/ethtool: get reg width to allocate memory zr
2016-06-07 9:52 ` Remy Horton [this message]
2016-06-07 9:52 ` [PATCH v3 1/2] ethdev: add callback to get register size in bytes Remy Horton
2016-06-08 8:53 ` Thomas Monjalon
2016-06-12 14:51 ` Zyta Szpak
2016-06-13 15:51 ` Remy Horton
2016-06-17 10:20 ` Thomas Monjalon
2016-06-21 9:55 ` Zyta Szpak
2016-06-22 8:19 ` Zyta Szpak
2016-06-22 8:26 ` Thomas Monjalon
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=57569959.5000407@intel.com \
--to=remy.horton@intel.com \
--cc=dev@dpdk.org \
--cc=thomas.monjalon@6wind.com \
--cc=zr@semihalf.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.