numam-dpdk/drivers/net/sfc/base
Mark Spender 23c6d0dbac net/sfc/base: improve API to get supported filter matches
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>
2017-04-04 15:52:52 +02:00
..
ef10_ev.c net/sfc/base: import Rx packed stream mode 2017-01-17 19:39:26 +01:00
ef10_filter.c net/sfc/base: improve API to get supported filter matches 2017-04-04 15:52:52 +02:00
ef10_impl.h net/sfc/base: improve API to get supported filter matches 2017-04-04 15:52:52 +02:00
ef10_intr.c net/sfc/base: import SFN7xxx family support 2017-01-17 19:39:25 +01:00
ef10_mac.c net/sfc/base: import loopback control 2017-01-17 19:39:26 +01:00
ef10_mcdi.c net/sfc/base: import SFN7xxx family support 2017-01-17 19:39:25 +01:00
ef10_nic.c net/sfc/base: import monitors access via MCDI 2017-01-17 19:39:26 +01:00
ef10_nvram.c net/sfc/base: import NVRAM support 2017-01-17 19:39:26 +01:00
ef10_phy.c net/sfc/base: import loopback control 2017-01-17 19:39:26 +01:00
ef10_rx.c net/sfc/base: do not use enum type when values are bitmask 2017-01-17 19:40:50 +01:00
ef10_tlv_layout.h net/sfc/base: import SFN7xxx family support 2017-01-17 19:39:25 +01:00
ef10_tx.c net/sfc/base: separate limitations on Tx DMA descriptors 2017-04-04 15:52:52 +02:00
ef10_vpd.c net/sfc/base: import VPD support 2017-01-17 19:39:26 +01:00
efx_bootcfg.c net/sfc/base: import bootrom configuration 2017-01-17 19:39:26 +01:00
efx_check.h net/sfc/base: import libefx licensing 2017-01-17 19:39:26 +01:00
efx_crc32.c net/sfc/base: import libefx base 2017-01-17 19:39:25 +01:00
efx_ev.c net/sfc/base: import monitors access via MCDI 2017-01-17 19:39:26 +01:00
efx_filter.c net/sfc/base: improve API to get supported filter matches 2017-04-04 15:52:52 +02:00
efx_hash.c net/sfc/base: import libefx base 2017-01-17 19:39:25 +01:00
efx_impl.h net/sfc/base: improve API to get supported filter matches 2017-04-04 15:52:52 +02:00
efx_intr.c net/sfc/base: import SFN8xxx family support 2017-01-17 19:39:25 +01:00
efx_lic.c net/sfc/base: import libefx licensing 2017-01-17 19:39:26 +01:00
efx_mac.c net/sfc/base: add MCDI agnostic wrapper for MAC stats clear 2017-04-04 15:52:52 +02:00
efx_mcdi.c net/sfc/base: import MAC statistics 2017-01-17 19:39:26 +01:00
efx_mcdi.h net/sfc/base: import loopback control 2017-01-17 19:39:26 +01:00
efx_mon.c net/sfc/base: import monitors access via MCDI 2017-01-17 19:39:26 +01:00
efx_nic.c net/sfc/base: import loopback control 2017-01-17 19:39:26 +01:00
efx_nvram.c net/sfc/base: import NVRAM support 2017-01-17 19:39:26 +01:00
efx_phy_ids.h net/sfc/base: import libefx base 2017-01-17 19:39:25 +01:00
efx_phy.c net/sfc/base: import PHY LEDs control 2017-01-17 19:39:26 +01:00
efx_port.c net/sfc/base: import loopback control 2017-01-17 19:39:26 +01:00
efx_regs_ef10.h net/sfc/base: import SFN7xxx family support 2017-01-17 19:39:25 +01:00
efx_regs_mcdi.h net/sfc/base: import MCDI definition 2017-01-17 19:39:25 +01:00
efx_regs_pci.h net/sfc/base: import register definitions 2017-01-17 19:39:25 +01:00
efx_regs.h net/sfc/base: import register definitions 2017-01-17 19:39:25 +01:00
efx_rx.c net/sfc/base: do not use enum type when values are bitmask 2017-01-17 19:40:50 +01:00
efx_sram.c net/sfc/base: import diagnostics support 2017-01-17 19:39:26 +01:00
efx_tx.c net/sfc/base: separate limitations on Tx DMA descriptors 2017-04-04 15:52:52 +02:00
efx_types.h net/sfc/base: import libefx base 2017-01-17 19:39:25 +01:00
efx_vpd.c net/sfc/base: import VPD support 2017-01-17 19:39:26 +01:00
efx.h net/sfc/base: improve API to get supported filter matches 2017-04-04 15:52:52 +02:00
hunt_impl.h net/sfc/base: import SFN7xxx family support 2017-01-17 19:39:25 +01:00
hunt_nic.c net/sfc/base: separate limitations on Tx DMA descriptors 2017-04-04 15:52:52 +02:00
mcdi_mon.c net/sfc/base: import monitors access via MCDI 2017-01-17 19:39:26 +01:00
mcdi_mon.h net/sfc/base: import monitors access via MCDI 2017-01-17 19:39:26 +01:00
medford_impl.h net/sfc/base: import SFN8xxx family support 2017-01-17 19:39:25 +01:00
medford_nic.c net/sfc/base: separate limitations on Tx DMA descriptors 2017-04-04 15:52:52 +02:00
README net/sfc/base: import libefx base 2017-01-17 19:39:25 +01:00
siena_flash.h net/sfc/base: import 5xxx/6xxx family support 2017-01-17 19:39:25 +01:00
siena_impl.h net/sfc/base: import VPD support 2017-01-17 19:39:26 +01:00
siena_mac.c net/sfc/base: import loopback control 2017-01-17 19:39:26 +01:00
siena_mcdi.c net/sfc/base: import 5xxx/6xxx family support 2017-01-17 19:39:25 +01:00
siena_nic.c net/sfc/base: separate limitations on Tx DMA descriptors 2017-04-04 15:52:52 +02:00
siena_nvram.c net/sfc/base: import NVRAM support 2017-01-17 19:39:26 +01:00
siena_phy.c net/sfc/base: import loopback control 2017-01-17 19:39:26 +01:00
siena_sram.c net/sfc/base: import diagnostics support 2017-01-17 19:39:26 +01:00
siena_vpd.c net/sfc/base: import VPD support 2017-01-17 19:39:26 +01:00

   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.