From: Stephen Hemminger <stephen@networkplumber.org>
To: "Medvedkin, Vladimir" <vladimir.medvedkin@intel.com>
Cc: Andrzej Ostruszka <aostruszka@marvell.com>,
dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>
Subject: Re: [dpdk-dev] [PATCH] lpm6: make IPv6 addresses immutable
Date: Mon, 9 Mar 2020 08:52:36 -0700 [thread overview]
Message-ID: <20200309085236.4938969b@hermes.lan> (raw)
In-Reply-To: <2d22e4b0-6b3c-08c0-e687-b7b420c53150@intel.com>
On Mon, 9 Mar 2020 13:38:53 +0000
"Medvedkin, Vladimir" <vladimir.medvedkin@intel.com> wrote:
> Hi Andrze,
>
> Adding const qualifier for bulk lookup leads to compilation problems
> (see http://c-faq.com/ansi/constmismatch.html)
> Also I don't think it would be good for usability to make users
> explicitly cast to (const uint8_t **) when passing 'ips' argument. I'd
> suggest leaving lookup_bulk as is.
Please give a more concrete example. There is no need for explicit cast
in current C.
next prev parent reply other threads:[~2020-03-09 15:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-03 12:53 [dpdk-dev] [PATCH] lpm6: make IPv6 addresses immutable Andrzej Ostruszka
2020-03-09 13:38 ` Medvedkin, Vladimir
2020-03-09 15:52 ` Stephen Hemminger [this message]
2020-03-09 18:02 ` Medvedkin, Vladimir
2020-03-09 18:57 ` Stephen Hemminger
2020-03-09 19:13 ` Stephen Hemminger
2020-03-10 7:49 ` Andrzej Ostruszka
2020-03-10 9:13 ` [dpdk-dev] [PATCH v2] " Andrzej Ostruszka
2020-03-10 14:47 ` Medvedkin, Vladimir
2020-03-31 19:46 ` Thomas Monjalon
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=20200309085236.4938969b@hermes.lan \
--to=stephen@networkplumber.org \
--cc=aostruszka@marvell.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=vladimir.medvedkin@intel.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 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.