From: Jesper Dangaard Brouer <brouer@redhat.com>
To: "Md. Islam" <mislam4@kent.edu>
Cc: Netdev <netdev@vger.kernel.org>,
David Miller <davem@davemloft.net>,
David Ahern <dsahern@gmail.com>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
alexei.starovoitov@gmail.com,
Stephen Hemminger <stephen@networkplumber.org>,
makita.toshiaki@lab.ntt.co.jp, panda@hongo.wide.ad.jp,
yasuhiro.ohara@ntt.com, Eric Dumazet <edumazet@google.com>,
john fastabend <john.fastabend@gmail.com>,
brouer@redhat.com
Subject: Re: [PATCH RFC net-next] net: Poptrie based routing table lookup
Date: Tue, 4 Sep 2018 12:52:52 +0200 [thread overview]
Message-ID: <20180904125252.37ca2e89@redhat.com> (raw)
In-Reply-To: <CAFgPn1CRZobsuFxePKm6JS_zHSqD3V7M8AC5cKkqZg4QZdDwGg@mail.gmail.com>
Hi Md. Islam,
People will start to ignore you, when you don't interact appropriately
with the community, and you ignore their advice, especially when it is
about how to interact with the community[1].
You have not addressed any of my feedback on your patch in [1].
[1] http://www.mail-archive.com/search?l=mid&q=20180827173334.16ff0673@redhat.com
--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer
p.s. also top-posting is bad, but I suspect you will not read my
response if I don't top-post.
On Tue, 4 Sep 2018 01:02:30 -0400 "Md. Islam" <mislam4@kent.edu> wrote:
> This patch implements Poptrie based routing table
> lookup/insert/delete/flush. Currently many carrier routers use kernel
> bypass frameworks such as DPDK and VPP to implement the data plane.
> XDP along with this patch will enable Linux to work as such a router.
> Currently it supports up to 255 ports. Many real word backbone routers
> have up to 233 ports (to the best of my knowledge), so it seems to be
> sufficient at this moment.
>
> I also have attached a draft paper to explain it works (poptrie.pdf).
> Please set CONFIG_FIB_POPTRIE=y (default n) before testing the patch.
> Note that, poptrie_lookup() is not being called from anywhere. It will
> be used by XDP forwarding.
>
>
> From 3dc9683298ed896dd3080733503c35d68f05370e Mon Sep 17 00:00:00 2001
> From: tamimcse <tamim@csebuet.org>
> Date: Mon, 3 Sep 2018 23:56:43 -0400
> Subject: [PATCH] Poptrie based routing table lookup
>
> Signed-off-by: tamimcse <tamim@csebuet.org>
> ---
> include/net/ip_fib.h | 42 +++++
> net/ipv4/Kconfig | 4 +
> net/ipv4/Makefile | 1 +
> net/ipv4/fib_poptrie.c | 483 +++++++++++++++++++++++++++++++++++++++++++++++++
> net/ipv4/fib_trie.c | 12 ++
> 5 files changed, 542 insertions(+)
> create mode 100644 net/ipv4/fib_poptrie.c
First of order of business: You need to conform to the kernels coding
standards!
https://www.kernel.org/doc/html/v4.18/process/coding-style.html
There is a script avail to check this called: scripts/checkpatch.pl
It summary says:
total: 139 errors, 238 warnings, 6 checks, 372 lines checked
(Not good, more error+warnings than lines...)
Please fix up those... else people will not even read you code!
next prev parent reply other threads:[~2018-09-04 15:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-04 5:02 [PATCH RFC net-next] net: Poptrie based routing table lookup Md. Islam
2018-09-04 10:52 ` Jesper Dangaard Brouer [this message]
[not found] ` <CAFgPn1AFUKgGdMArXtfCYQfHxO6nzOYcaPFgN-8ref4HBrMcuQ@mail.gmail.com>
2018-09-04 20:34 ` Md. Islam
2018-09-05 5:54 ` Jesper Dangaard Brouer
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=20180904125252.37ca2e89@redhat.com \
--to=brouer@redhat.com \
--cc=alexei.starovoitov@gmail.com \
--cc=davem@davemloft.net \
--cc=dsahern@gmail.com \
--cc=edumazet@google.com \
--cc=john.fastabend@gmail.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=makita.toshiaki@lab.ntt.co.jp \
--cc=mislam4@kent.edu \
--cc=netdev@vger.kernel.org \
--cc=panda@hongo.wide.ad.jp \
--cc=stephen@networkplumber.org \
--cc=yasuhiro.ohara@ntt.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).