[PATCH v2 06/13] net/txgbe: check length of Tx packets

Stephen Hemminger stephen at networkplumber.org
Fri Nov 1 03:56:32 CET 2024


On Fri, 1 Nov 2024 01:22:47 +0000
Ferruh Yigit <ferruh.yigit at 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.


More information about the dev mailing list