23c6d0dbac
The previous API had various problems, including the length of the caller provided buffer not being specified, no means being available to discover how big the buffer needs to be, and a lack of clarity of what the resulting list contains. To improve it: - add the buffer length as a parameter - if the provided buffer is too short, fail with ENOSPC and return the required length - ensure that the list contents are valid and add comments describing it It is safe to change this API as, unsurprisingly, it has no users. Signed-off-by: Mark Spender <mspender@solarflare.com> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com> |
||
---|---|---|
.. | ||
base | ||
efsys.h | ||
Makefile | ||
rte_pmd_sfc_efx_version.map | ||
sfc_debug.h | ||
sfc_ethdev.c | ||
sfc_ev.c | ||
sfc_ev.h | ||
sfc_intr.c | ||
sfc_kvargs.c | ||
sfc_kvargs.h | ||
sfc_log.h | ||
sfc_mcdi.c | ||
sfc_port.c | ||
sfc_rx.c | ||
sfc_rx.h | ||
sfc_tso.c | ||
sfc_tweak.h | ||
sfc_tx.c | ||
sfc_tx.h | ||
sfc.c | ||
sfc.h |