All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Thomas Monjalon <thomas@monjalon.net>
Cc: dev@dpdk.org
Subject: [dpdk-dev] Common netlink parsing?
Date: Sat, 25 Apr 2020 12:24:26 -0700	[thread overview]
Message-ID: <20200425122426.351675d7@hermes.lan> (raw)

While adding error handling to tap device, I noticed we already have two
places rolling their own netlink message handling (tap and mlx5) and now
with proposed IF proxy there is a third.

Netlink is non-trivial and easy to get wrong and doing error handling
also requires work. There should be a common library for this.

My preference would be to use pre-existing code (libmnl) but the
DPDK maintainers seem to have an aversion to taking a dependency on
any external code and reinvent everything (see RCU etc).


             reply	other threads:[~2020-04-25 19:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-25 19:24 Stephen Hemminger [this message]
2020-04-25 19:37 ` [dpdk-dev] Common netlink parsing? Thomas Monjalon
2020-04-27 11:43 ` Andrzej Ostruszka [C]

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=20200425122426.351675d7@hermes.lan \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=thomas@monjalon.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.