[dpdk-dev] [PATCH 2/2] devtools: forbid rte symbols in cnxk base driver

Thomas Monjalon thomas at monjalon.net
Tue Nov 28 12:54:23 CET 2023


04/10/2023 14:27, jerinj at marvell.com:
> From: Jerin Jacob <jerinj at marvell.com>
> 
> cnxk base code is shared between different driver environments.
> 
> Forbid the direct usage of rte_ symbols instead use plt_
> symbol as alternatives.
> 
> roc_platform.[ch] files abstract the difference of driver
> environment, hence skip those files for rules check.
> 
> Suggested-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Jerin Jacob <jerinj at marvell.com>

Series applied, thanks.

I've moved the check in a more appropriate place
to keep a kind of ordering in all checks.
Also, I've changed a word to mention "API":
MESSAGE='Use plt_ symbols instead of rte_ API in cnxk base driver'




More information about the dev mailing list