From: Harry van Haaren <harry.van.haaren@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/2] fix vf statistic wraparound handling in macro
Date: Mon, 12 Oct 2015 17:45:31 +0100 [thread overview]
Message-ID: <1444668333-20191-1-git-send-email-harry.van.haaren@intel.com> (raw)
In-Reply-To: <561BD4AE.4010704@gmail.com>
The following two patches fix a misinterpretation of the cyclic
counters of igb and ixgbe VF. When the 32bit value wraps around,
the code now handles the wrapped new value appropriatly.
v2:
- Reimplemented with Alex's suggested fix for off-by-one
v1:
- Initial implementation
Harry van Haaren (2):
ixgbe: fix VF statistic wraparound handling macro
igb: fix VF statistic wraparound handling macro
drivers/net/e1000/igb_ethdev.c | 3 +--
drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
--
1.9.1
next prev parent reply other threads:[~2015-10-12 16:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 13:33 Harry van Haaren
2015-10-12 13:33 ` [dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro Harry van Haaren
2015-10-12 14:45 ` Roger B. Melton
2015-10-12 15:41 ` Alexander Duyck
2015-10-12 16:45 ` Harry van Haaren [this message]
2015-10-12 16:45 ` Harry van Haaren
2015-10-13 19:43 ` Roger B. Melton
2015-10-14 10:15 ` Roger B. Melton
2015-10-28 13:37 ` Thomas Monjalon
2015-10-12 16:45 ` [dpdk-dev] [PATCH 2/2] igb: " Harry van Haaren
2015-10-13 19:44 ` Roger B. Melton
2015-10-14 10:16 ` Roger B. Melton
2015-10-28 13:40 ` [dpdk-dev] [PATCH 0/2] fix vf statistic wraparound handling in macro Thomas Monjalon
2015-10-13 19:43 ` [dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro Roger B. Melton
2015-10-12 13:33 ` [dpdk-dev] [PATCH 2/2] igb: " Harry van Haaren
2015-10-12 15:02 ` Roger B. Melton
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=1444668333-20191-1-git-send-email-harry.van.haaren@intel.com \
--to=harry.van.haaren@intel.com \
--cc=dev@dpdk.org \
/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).