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> |
||
---|---|---|
.. | ||
ef10_ev.c | ||
ef10_filter.c | ||
ef10_impl.h | ||
ef10_intr.c | ||
ef10_mac.c | ||
ef10_mcdi.c | ||
ef10_nic.c | ||
ef10_nvram.c | ||
ef10_phy.c | ||
ef10_rx.c | ||
ef10_tlv_layout.h | ||
ef10_tx.c | ||
ef10_vpd.c | ||
efx_bootcfg.c | ||
efx_check.h | ||
efx_crc32.c | ||
efx_ev.c | ||
efx_filter.c | ||
efx_hash.c | ||
efx_impl.h | ||
efx_intr.c | ||
efx_lic.c | ||
efx_mac.c | ||
efx_mcdi.c | ||
efx_mcdi.h | ||
efx_mon.c | ||
efx_nic.c | ||
efx_nvram.c | ||
efx_phy_ids.h | ||
efx_phy.c | ||
efx_port.c | ||
efx_regs_ef10.h | ||
efx_regs_mcdi.h | ||
efx_regs_pci.h | ||
efx_regs.h | ||
efx_rx.c | ||
efx_sram.c | ||
efx_tx.c | ||
efx_types.h | ||
efx_vpd.c | ||
efx.h | ||
hunt_impl.h | ||
hunt_nic.c | ||
mcdi_mon.c | ||
mcdi_mon.h | ||
medford_impl.h | ||
medford_nic.c | ||
README | ||
siena_flash.h | ||
siena_impl.h | ||
siena_mac.c | ||
siena_mcdi.c | ||
siena_nic.c | ||
siena_nvram.c | ||
siena_phy.c | ||
siena_sram.c | ||
siena_vpd.c |
Copyright (c) 2006-2016 Solarflare Communications Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Solarflare libefx driver library ================================ This directory contains source code of Solarflare Communications libefx driver library of version v4.10.0.1012. Updating ======== The source code in this directory should not be modified. Please contact the driver maintainers to request changes.