From: Jakub Kicinski <jakub.kicinski@netronome.com>
To: Saeed Mahameed <saeedm@mellanox.com>
Cc: Ariel Levkovich <lariel@mellanox.com>,
"dsahern@gmail.com" <dsahern@gmail.com>,
"sbrivio@redhat.com" <sbrivio@redhat.com>,
"nikolay@cumulusnetworks.com" <nikolay@cumulusnetworks.com>,
"stephen@networkplumber.org" <stephen@networkplumber.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"sd@queasysnail.net" <sd@queasysnail.net>,
Jiri Pirko <jiri@mellanox.com>
Subject: Re: [PATCH net-next v2 0/3] VGT+ support
Date: Fri, 1 Nov 2019 17:21:02 -0700 [thread overview]
Message-ID: <20191101172102.2fc29010@cakuba.netronome.com> (raw)
In-Reply-To: <6e0a2b89b4ef56daca9a154fa8b042e7f06632a4.camel@mellanox.com>
On Fri, 1 Nov 2019 21:28:22 +0000, Saeed Mahameed wrote:
> Jakub, since Ariel is still working on his upstream mailing list skills
> :), i would like to emphasis and summarize his point in text style ;-)
> the way we like it.
Thanks :)
> Bottom line, we tried to push this feature a couple of years ago, and
> due to some internal issues this submission ignored for a while, now as
> the legacy sriov customers are moving towards upstream, which is for me
> a great progress I think this feature worth the shot, also as Ariel
> pointed out, VF vlan filter is really a gap that should be closed.
>
> For all other features it is true that the user must consider moving to
> witchdev mode or find a another community for support.
>
> Our policy is still strong regarding obsoleting legacy mode and pushing
> all new feature to switchdev mode, but looking at the facts here I do
> think there is a point here and ROI to close this gap in legacy mode.
>
> I hope this all make sense.
I understand and sympathize, you know full well the benefits of working
upstream-first...
I won't reiterate the entire response from my previous email, but the
bottom line for me is that we haven't added a single legacy VF NDO
since 2016, I was hoping we never will add more and I was trying to
stop anyone who tried.
Muxing the VF info through linkinfo is getting pretty ugly with the
tricks we have to play to make it fit message size.
And you can't really say you considered your options carefully here and
reviewed the code, since the patch adds this nugget to a uAPI header:
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 797e214..35ab210 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -180,6 +180,8 @@ enum {
#ifndef __KERNEL__
#define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
#define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
+#define BITS_PER_BYTE 8
+#define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
#endif
enum {
next prev parent reply other threads:[~2019-11-02 0:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-31 19:47 [PATCH net-next v2 0/3] VGT+ support Ariel Levkovich
2019-10-31 19:47 ` [PATCH net-next v2 1/3] net: Support querying specific VF properties Ariel Levkovich
2019-10-31 19:47 ` [PATCH net-next v2 2/3] net: Add SRIOV VGT+ support Ariel Levkovich
2019-10-31 19:47 ` [PATCH net-next v2 3/3] net/mlx5: " Ariel Levkovich
2019-10-31 20:31 ` [PATCH net-next v2 0/3] " David Miller
2019-10-31 22:20 ` Ariel Levkovich
2019-10-31 22:58 ` David Miller
2019-11-01 14:55 ` Ariel Levkovich
2019-11-01 0:23 ` Jakub Kicinski
[not found] ` <8d7db56c-376a-d809-4a65-bfc2baf3254f@mellanox.com>
2019-11-01 21:28 ` Saeed Mahameed
2019-11-02 0:21 ` Jakub Kicinski [this message]
2019-11-05 1:38 ` Saeed Mahameed
2019-11-05 1:47 ` David Ahern
2019-11-05 2:35 ` Jakub Kicinski
2019-11-05 20:10 ` Saeed Mahameed
2019-11-05 21:55 ` Jakub Kicinski
2019-11-05 22:52 ` Saeed Mahameed
2019-11-05 23:10 ` Jakub Kicinski
2019-11-05 23:48 ` Saeed Mahameed
2019-11-06 1:38 ` Jakub Kicinski
2019-11-06 22:21 ` Saeed Mahameed
2019-11-07 10:24 ` Jiri Pirko
2019-11-13 22:55 ` Keller, Jacob E
2019-11-14 2:25 ` Jakub Kicinski
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=20191101172102.2fc29010@cakuba.netronome.com \
--to=jakub.kicinski@netronome.com \
--cc=dsahern@gmail.com \
--cc=jiri@mellanox.com \
--cc=lariel@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=nikolay@cumulusnetworks.com \
--cc=saeedm@mellanox.com \
--cc=sbrivio@redhat.com \
--cc=sd@queasysnail.net \
--cc=stephen@networkplumber.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).