DPDK usage discussions
 help / color / mirror / Atom feed
From: "Ciprian Pascu (Nokia)" <ciprian.pascu@nokia.com>
To: "users@dpdk.org" <users@dpdk.org>,
	"bruce.richardson@intel.com" <bruce.richardson@intel.com>
Subject: DPDK issue with reading the eth interface status?
Date: Wed, 7 Dec 2022 13:57:25 +0000	[thread overview]
Message-ID: <HE1PR07MB34652CB007866965A7CBD0C4E31A9@HE1PR07MB3465.eurprd07.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 659 bytes --]

Hi,
I encountered an issue while using dpdk-20.05 in our VMware based VMs: at times, when sysstat data is collected, dpdk signals that some eth interface is down; this happens occasionally; after sysstat data has been collected, eth interface is signaled as up; I was wondering about these lines in '__vmxnet3_dev_link_update' function:

1251 >*******VMXNET3_WRITE_BAR1_REG(hw, VMXNET3_REG_CMD, VMXNET3_CMD_GET_LINK);
1252 >*******ret = VMXNET3_READ_BAR1_REG(hw, VMXNET3_REG_CMD);

Is this atomic? Could this lead to problems if some other module tries to read something else at about the same time and overwrites the command?


Thanks,
Ciprian.


[-- Attachment #2: Type: text/html, Size: 3590 bytes --]

             reply	other threads:[~2022-12-12 11:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-07 13:57 Ciprian Pascu (Nokia) [this message]
2022-12-07 14:12 ` VS: " Ciprian Pascu (Nokia)
2022-12-12 16:26   ` Stephen Hemminger

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=HE1PR07MB34652CB007866965A7CBD0C4E31A9@HE1PR07MB3465.eurprd07.prod.outlook.com \
    --to=ciprian.pascu@nokia.com \
    --cc=bruce.richardson@intel.com \
    --cc=users@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).