On 3/23/2021 11:07 AM, Qi Zhang wrote:
PMDs use RTE_LIBRTE_<PMD_NAME>_DEBUG_RX|TX as build option to wrap
data path debug code. As .config has been removed since the meson build,
It is not friendly for new DPDK users to notice those debug options.
Patch 1/8: introduces new compile options for data path debug in ether
layer, PMD can choose to reuse them to avoid maintain their own.
- RTE_ETHDEV_DEBUG_RX
- RTE_ETHDEV_DEBUG_TX
The undocumented RTE_LIBRTE_ETHDEV_DEBUG will a alias to
both RTE_ETHDEV_DEBUG_RX and RTE_ETHDEV_DEBUG_TX for backward
compatibility.
Patch 2/8 - 8/8: refine the build option for Intel PMDs by using the
new build options
Qi Zhang (8):
ether: refine debug build option
net/fm10k: refine debug build option
net/e1000: refine debug build option
net/i40e: refine debug build option
net/iavf: refine debug build option
net/ice: refine debug build option
net/ixgbe: refine debug build option
net/igc: refine debug build option
For series,
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com>
Thomas, Andrew, if there is no objection I am planning to merge it soon.