[dpdk-dev] [PATCH] net/mlx: replace hardcoded value with macro
thomas at monjalon.net
Mon Feb 10 10:52:54 CET 2020
10/02/2020 09:52, Thomas Monjalon:
> 10/02/2020 07:32, Matan Azrad:
> > From: Thomas Monjalon
> > > Replace checking against 65535 limit,
> > > with a simpler form using RTE_MIN and UINT16_MAX macros.
> > >
> > > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> > > ---
> > No more misusing of *_MAX \ RTE_MIN\RTE_MAX in the mlx PMDs?
> Sorry I don't understand your question.
If you are asking if there are more hardcoded constants,
the answer is yes but they are masks.
I think the masks can remain hardcoded.
More information about the dev