[dpdk-dev] [PATCH v5 0/2] ethdev: debug code cleanup
Thomas Monjalon
thomas.monjalon at 6wind.com
Wed Nov 25 19:21:13 CET 2015
2015-11-24 17:37, Bruce Richardson:
> This patchset performs two cleanups:
> 1. Four functions in ethdev.c which were enabled for debug only have been
> merged into their inlined header-file counterparts. This change required that
> a number of macros be renamed and moved to the header file too. The macro changes
> are in patches 1 & 2, and the elimination of the separate debug fns are in patch 3.
> 2. Checks for valid function pointers are added to the API calls for reading
> the descriptor ring count, and checking for a valid descriptor. This is because
> these functions are not implemented by most drivers, and so it's far safer to
> have the check.
>
> NOTE: This patchset now depends upon the cryptodev patchset
Applied with small changes, thanks
More information about the dev
mailing list