On Fri, 1 Nov 2024 01:22:47 +0000 Ferruh Yigit <ferruh.yi...@amd.com> wrote:
> Hi Jiawen, > > Above are generic checks, we may add this function to ethdev driver > header (ethdev_driver.h) so that any PMD can use it, what do you think? This is in the fastpath, and additional checks should not be added there. Or at least put them under RTE_ETHDEV_DEBUG.