From: Shahaf Shuler <shahafs@mellanox.com>
To: Slava Ovsiienko <viacheslavo@mellanox.com>,
"dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix master device Netlink socket sharing
Date: Tue, 11 Jun 2019 18:29:09 +0000 [thread overview]
Message-ID: <AM0PR0502MB3795D3A56E8F98545324FC26C3ED0@AM0PR0502MB3795.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <1559823781-28220-1-git-send-email-viacheslavo@mellanox.com>
Thursday, June 6, 2019 3:23 PM, Viacheslav Ovsiienko:
> Subject: [PATCH] net/mlx5: fix master device Netlink socket sharing
>
> There is the patch [1] that uses master device Netlink socket to retrieve
> master device link settings. This is not thread safe because this resource may
> be in use by other call to the master device itself. Using the same Netlink
> socket concurrently from the multiple threads causes Netlink requests
> malfunction and must be eliminated. The patch replaces master Netlink
> socket with the socket from representor device.
>
> [1] http://patches.dpdk.org/patch/53120/
>
> Fixes: 0333b2f584d9 ("net/mlx5: inherit master link settings for
> representors")
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Applied to next-net-mlx, thanks.
prev parent reply other threads:[~2019-06-11 18:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-06 12:23 Viacheslav Ovsiienko
2019-06-11 18:29 ` Shahaf Shuler [this message]
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=AM0PR0502MB3795D3A56E8F98545324FC26C3ED0@AM0PR0502MB3795.eurprd05.prod.outlook.com \
--to=shahafs@mellanox.com \
--cc=dev@dpdk.org \
--cc=viacheslavo@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).