d345d6c957
Fixes a few different things: * Remove 'fw_version' NULL checks, it is allowed if the 'fw_size' is zero, 'fw_version' being NULL but 'fw_size' not zero condition checked in ethdev layer * Be sure required buffer size is returned if provided one is not big enough, instead of returning success (0) * Document in doxygen comment the '-EINVAL' is a valid return type * Take into account that 'snprintf' can return negative value * Cast length to 'size_t' to compare it with 'fw_size' Fixes: |
||
---|---|---|
.. | ||
base | ||
meson.build | ||
rte_pmd_txgbe.h | ||
txgbe_ethdev_vf.c | ||
txgbe_ethdev.c | ||
txgbe_ethdev.h | ||
txgbe_fdir.c | ||
txgbe_flow.c | ||
txgbe_ipsec.c | ||
txgbe_ipsec.h | ||
txgbe_logs.h | ||
txgbe_pf.c | ||
txgbe_ptypes.c | ||
txgbe_ptypes.h | ||
txgbe_regs_group.h | ||
txgbe_rxtx.c | ||
txgbe_rxtx.h | ||
txgbe_tm.c | ||
version.map |