summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r299905arybchik2016-06-041-2/+8
| | | | | | | | | | sfxge(4): fix V1 licensing MCDI operations Implementation of the MCDI commands for Siena boards was requesting the wrong operation. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299904arybchik2016-06-047-5/+307
| | | | | | | | | | | | | sfxge(4): improve PCIe link speed and width check Perform a more accurate check of whether the PCIe bandwidth is sufficient for the current/supported port modes. Give a different warning if there is sufficient bandwidth to achieve line rate, but the link is not fast enough for optimal latency. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299903arybchik2016-06-041-3/+25
| | | | | | | | | | sfxge(4): cleanup: make TLV scans quieter Find end of segments in a more direct way that avoids an error report at the terminator. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299901arybchik2016-06-043-3/+14
| | | | | | | | | | | sfxge(4): cleanup: make VPD lookups quieter A lookup on a VPD entry which is missing reports several failure messages as it propagates through wrapper functions. Restructured the wrappers to treat this gracefully as an expected case. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299899arybchik2016-06-041-14/+7
| | | | | | | | | | sfxge(4): cleanup: make licensing function quieter Silent handling of failure to invoke functions that are not supported on older licensing versions. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299898arybchik2016-06-043-1/+1065
| | | | | | | | | | | | sfxge(4): restructure efx_lic to support V3 licensing Create separate implementations of the efx_lic API for each revision of the licensing system. All processing of the V1/V2 license partition is moved to efx_lic, and an implementation of V3 licensing uses the existing TLV functions with extensions for writing new TLV entries. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299734arybchik2016-06-041-9/+0
| | | | | | | sfxge(4): remove unused EFX PHY symbols Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299733arybchik2016-06-042-6/+0
| | | | | | | sfxge(4): remove obsolete EFX_MON types Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299732arybchik2016-06-042-9/+0
| | | | | | | sfxge(4): remove unimplemented sensor reconfigure method Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299731arybchik2016-06-042-24/+3
| | | | | | | sfxge(4): remove unimplemented sensor reset method Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299730arybchik2016-06-041-1/+1
| | | | | | | | sfxge(4): fix build with -Werror=pointer-sign -Werror=pointer-sign is enabled in OmniOS GLD driver build. Sponsored by: Solarflare Communications, Inc.
* MFC r299729arybchik2016-06-043-30/+4
| | | | | | | sfxge(4): remove unimplemented MAC reset method Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299728arybchik2016-06-041-1/+0
| | | | | | sfxge(4): cleanup: remove unused define EFX_EVQ_FALCON_TIMER_QUANTUM_NS Sponsored by: Solarflare Communications, Inc.
* MFC r299727arybchik2016-06-041-1/+0
| | | | | | sfxge(4): cleanup: remove unused variable flags Sponsored by: Solarflare Communications, Inc.
* MFC r299724arybchik2016-06-042-8/+0
| | | | | | | sfxge(4): remove unimplemented EFX PHY methods Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299723arybchik2016-06-041-3/+5
| | | | | | | sfxge(4): import TLV layout from firmwaresrc Submitted by: Laurence Evans <levans at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299722arybchik2016-06-045-82/+6
| | | | | | | sfxge(4): remove obsolete EFSYS_OPT_PHY_PROPS option and APIs Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299721arybchik2016-06-046-185/+6
| | | | | | | sfxge(4): remove PHY property method stubs Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299720arybchik2016-06-042-1010/+1008
| | | | | | | sfxge(4): move ef10 definitions to ef10_impl.h Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299719arybchik2016-06-042-70/+77
| | | | | | | | | | | sfxge(4): prepare for moving EF10 definitions to ef10_impl.h Move legacy privilege masks near to their only user. Move Huntington definitions to the top of hunt_impl.h to prepare for moving the remaining EF10 definitions to ef10_impl.h. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299718arybchik2016-06-042-306/+304
| | | | | | | | | sfxge(4): rename falconsiena_filter types Falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299607-r299612arybchik2016-06-047-240/+227
| | | | | | | | | sfxge(4): rename falconsiena_* Falcon support has been removed, so this code only supports Siena. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299596-r299606, r299681, r299726, r299738arybchik2016-06-0417-2084/+2169
| | | | | | | sfxge(4): move ef10_*() functions to ef10_*.c files Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299595arybchik2016-06-041-4/+14
| | | | | | | | | | | | | | | sfxge(4): comment on when we assume multicast chaining is available It's the same on Medford as Huntington. Multicast chaining is not always on, even with Medford, as it's not supported by low latency firmware. Unlike the Linux driver, we don't need to support virtulization with firmware released before support for multicast chaining was added. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299594arybchik2016-06-042-5/+42
| | | | | | | | | | | | | | | | sfxge(4): avoid duplicate delivery of packets when changing multicast mode with multicast chaining enabled With multicast chaining, if e.g. a specific multicast filter is inserted and the multicast mis-match filter is then inserted, both may match a packet and cause it to be delivered. Copy the behaviour of the Linux driver, which is to remove the old filters first, on the basis that customers are more likely to be able to handle drops than duplicates (see bug49178 comment 4). Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299518arybchik2016-06-041-39/+83
| | | | | | | | | | | | sfxge(4): update multicast filter insertion algorithm When the multicast filters we're allowed to insert are controlled by the hypervisor, it may be that we can insert some but not others. So we need to have fallbacks where we insert any filters we can without rolling back when one fails to insert. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299517arybchik2016-06-0418-216/+216
| | | | | | | sfxge(4): cleanup: constify common code method tables Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299411arybchik2016-06-042-49/+65
| | | | | | | | | | | sfxge(4): update unicast filter insertion algorithm As unicast filters are not chained, we should always try to insert the specific filter for our MAC address, and then try to insert the unicast mis-match filter if that fails or all unicast has been requested. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299410arybchik2016-06-044-6/+6
| | | | | | | | | | sfxge(4): fix efx_filter_reconfigure parameter type This caused signed/unsigned errors in some subsequent patches. The only value passed to this is a uint32_t. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299407arybchik2016-06-047-88/+6
| | | | | | | sfxge(4): make efx_sram_test Siena-only Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299406arybchik2016-06-043-2/+8
| | | | | | | sfxge(4): add new Emerald board sensors to common code Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299405arybchik2016-06-042-42/+21
| | | | | | | sfxge(4): simplify efx_mac_select Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299404arybchik2016-06-043-19/+2
| | | | | | | sfxge(4): remove Falcon specific EV_GLOBAL support Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299403arybchik2016-06-045-60/+16
| | | | | | | sfxge(4): remove Falcon-specific code paths from common code Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299344arybchik2016-06-042-5/+1
| | | | | | | sfxge(4): cleanup: remove unneeded include files Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299340arybchik2016-06-042-57/+0
| | | | | | | sfxge(4): cleanup: remove unused efx_infer_family() Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299339arybchik2016-06-041-2/+1
| | | | | | | sfxge(4): cleanup: remove obsolete common code module Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299338, r299345arybchik2016-06-042-2/+2
| | | | | | | sfxge(4): cleanup: fix typos Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299337arybchik2016-06-041-11/+4
| | | | | | | sfxge(4): cleanup efx_check.h comments and error messages Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299320-r299328, r299330-r299336arybchik2016-06-0414-848/+112
| | | | | | | sfxge(4): remove EFSYS_OPT_FALCON and related EFSYS_OPT_ options Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299402arybchik2016-06-042-0/+428
| | | | | | | | | | | sfxge(4): add TLV format buffer manipulation functions for V3 licensing The licensing partition for V3 licensing will use the standard TLV format, so Medford licensing operations on the staging buffer are implemented using the TLV functions. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299319arybchik2016-06-041-28/+217
| | | | | | | | | | | | | sfxge(4): add TLV item manipulation functions to common code Add creation, deletion and checksumming operations to the private copy of TLV functions in the common code. Functions added in preparation for V3 licensing support, as licensing keys are stored in the TLV format. Missing support for multiple segment partitions added. Annotations for Windows code analysis also updated. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299318arybchik2016-06-045-4/+62
| | | | | | | | | | | sfxge(4): restructure TLV buffer validation Move TLV buffer validation into ef10-specific function and add accessor function which also converts the partition ID to the internal representation. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299254arybchik2016-06-044-40/+3
| | | | | | | | | sfxge(4): remove EFSYS_OPT_PCIE_TUNE With the removal of Falcon support, this is now dead code. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299253arybchik2016-06-044-19/+30
| | | | | | | | | | | | | sfxge(4): disable common code support for Falcon This patch ensures that client code will fail to build with Falcon support. Following patches remove Falcon support code entirely. sfxge(4) has never supported Falcon. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299252arybchik2016-06-042-4/+3
| | | | | | | sfxge(4): cleanup: fix obsolete EFSYS_OPT_PHY_BIST option Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299251arybchik2016-06-041-2/+2
| | | | | | | sfxge(4): Siena no longer supports EFSYS_OPT_PCIE_TUNE Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r299250arybchik2016-06-044-50/+0
| | | | | | | sfxge(4): remove unused efx_nic_pcie_extended_sync() Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r301105arybchik2016-06-043-24/+24
| | | | | | sfxge(4): cope with code duplication on SW events composition Sponsored by: Solarflare Communications, Inc.
* MFC r301075arybchik2016-06-043-19/+16
| | | | | | sfxge(4): avoid code duplication in SW events definition Sponsored by: Solarflare Communications, Inc.
OpenPOWER on IntegriCloud