From: David Ahern <dsahern@gmail.com>
To: Roopa Prabhu <roopa@cumulusnetworks.com>, davem@davemloft.net
Cc: netdev@vger.kernel.org, nikolay@cumulusnetworks.com,
jiri@mellanox.com, idosch@mellanox.com, petrm@mellanox.com
Subject: Re: [PATCH net-next 3/6] vxlan: ecmp support for mac fdb entries
Date: Mon, 18 May 2020 21:57:44 -0600 [thread overview]
Message-ID: <74896d1b-bd83-4271-3492-6dc0117ae933@gmail.com> (raw)
In-Reply-To: <1589854474-26854-4-git-send-email-roopa@cumulusnetworks.com>
On 5/18/20 8:14 PM, Roopa Prabhu wrote:
> diff --git a/include/net/nexthop.h b/include/net/nexthop.h
> index 04dafc6..d929c98 100644
> --- a/include/net/nexthop.h
> +++ b/include/net/nexthop.h
> @@ -331,6 +331,8 @@ static inline struct fib_nh_common *nexthop_path_fdb_result(struct nexthop *nh,
> struct nexthop *nhp;
>
> nhp = nexthop_select_path(nh, hash);
> + if (unlikely(!nhp))
> + return NULL;
> nhi = rcu_dereference(nhp->nh_info);
> return &nhi->fib_nhc;
> }
that should be folded into patch 2 which introduces nexthop_path_fdb_result
> diff --git a/include/uapi/linux/neighbour.h b/include/uapi/linux/neighbour.h
> index cd144e3..eefcda8 100644
> --- a/include/uapi/linux/neighbour.h
> +++ b/include/uapi/linux/neighbour.h
> @@ -29,6 +29,7 @@ enum {
> NDA_LINK_NETNSID,
> NDA_SRC_VNI,
> NDA_PROTOCOL, /* Originator of entry */
> + NDA_NH_ID,
> __NDA_MAX
> };
>
>
That needs to be in Patch 2 for it to compile.
I am not qualified to review the vxlan code.
next prev parent reply other threads:[~2020-05-19 3:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-19 2:14 [PATCH net-next 0/6] Support for fdb ECMP nexthop groups Roopa Prabhu
2020-05-19 2:14 ` [PATCH net-next 1/6] nexthop: dereference nh only once in nexthop_select_path Roopa Prabhu
2020-05-19 3:25 ` David Ahern
2020-05-19 8:48 ` Nikolay Aleksandrov
2020-05-19 10:04 ` Nikolay Aleksandrov
2020-05-19 2:14 ` [PATCH net-next 2/6] nexthop: support for fdb ecmp nexthops Roopa Prabhu
2020-05-19 3:53 ` David Ahern
[not found] ` <CAJieiUjXO6h9HtwTn3fv7W=WovyUxzU2+EZ_Off6kxxRfgyUKQ@mail.gmail.com>
[not found] ` <CAJieiUgHqYo1UZ2VKHK=hTTLZjkScYisdRJ0be0kjtj6c-DRYA@mail.gmail.com>
2020-05-19 17:07 ` David Ahern
2020-05-19 2:14 ` [PATCH net-next 3/6] vxlan: ecmp support for mac fdb entries Roopa Prabhu
2020-05-19 3:57 ` David Ahern [this message]
2020-05-19 11:13 ` Nikolay Aleksandrov
2020-05-19 11:28 ` Nikolay Aleksandrov
2020-05-19 12:55 ` kbuild test robot
2020-05-19 13:31 ` kbuild test robot
2020-05-19 2:14 ` [PATCH net-next 4/6] nexthop: add support for notifiers Roopa Prabhu
2020-05-19 2:14 ` [PATCH net-next 5/6] vxlan: support for nexthop notifiers Roopa Prabhu
2020-05-19 2:14 ` [PATCH net-next 6/6] selftests: net: add fdb nexthop tests Roopa Prabhu
2020-05-19 4:00 ` David Ahern
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=74896d1b-bd83-4271-3492-6dc0117ae933@gmail.com \
--to=dsahern@gmail.com \
--cc=davem@davemloft.net \
--cc=idosch@mellanox.com \
--cc=jiri@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=nikolay@cumulusnetworks.com \
--cc=petrm@mellanox.com \
--cc=roopa@cumulusnetworks.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).