summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r293770arybchik2016-01-145-35/+35
| | | | | | | | sfxge: cleanup: use consistent types for NVRAM partitions Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293769arybchik2016-01-144-48/+138
| | | | | | | | sfxge: fix interrupt handling for Medford Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293768arybchik2016-01-141-12/+83
| | | | | | | | | | | | | | sfxge: update NVRAM partition lookup for Medford Prior to Medford, option ROM config was stored with one partition per network port. Medford stores option ROM config in a single partition (as an array of configurations, one per PF). Update the EFXname /port to MCDI partition mapping for this. Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293767arybchik2016-01-141-14/+8
| | | | | | | | | | sfxge: cleanup: improve consistency in efx_check.h Make error messages consistent, and remove redundant checks. Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293766arybchik2016-01-142-56/+2
| | | | | | | | | | | sfxge: remove obsolete efx_mac_hash_set() from common code This API has been replaced by efx_mac_multicast_list_set() and has no callers. Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293765arybchik2016-01-144-2/+13
| | | | | | | | sfxge: rework MCDI header version handling Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293764arybchik2016-01-145-235/+252
| | | | | | | | | | | sfxge: rename hunt filter methods, types etc. to ef10 and use for Medford New filters types may be added, but the same machinery should be able to handle them. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293763arybchik2016-01-141-0/+13
| | | | | | | | sfxge: add definitions for compressed satellite images to common code headers Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293762arybchik2016-01-141-0/+7
| | | | | | | | sfxge: add new MCDI sensors to common code Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293761arybchik2016-01-141-5/+0
| | | | | | | | | | sfxge: remove unnecessary pulling out of soft bits from RX events These bits are changed on Medford. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293758arybchik2016-01-145-63/+3
| | | | | | | | | | | | | sfxge: remove obsolete common code PKTFILTER module The pktfilter module has been obsolete for some time, as it was replaced by newer features in filter module. With the removal of the storport driver, this module has no users and can be removed. Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293757arybchik2016-01-144-47/+56
| | | | | | | | sfxge: rename hunt MCDI methods to ef10 and use for Medford Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293756arybchik2016-01-144-125/+138
| | | | | | | | | | | sfxge: rename hunt nvram methods and use for Medford Some new partitions have been added, but they shouldn't need to be handled any differently. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293755arybchik2016-01-143-44/+58
| | | | | | | | sfxge: rename Huntington VPD methods to ef10 and use for Medford Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293754arybchik2016-01-144-52/+60
| | | | | | | | sfxge: rename hunt RX methods to ef10 and use for Medford Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293753arybchik2016-01-143-57/+83
| | | | | | | | | | | sfxge: rename hunt TX methods to ef10 and use for Medford Rename all except hunt_tx_qdesc_tso_create(), which creates a fw-assisted TSO v1 descriptor which isn't supported on Medford. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293752arybchik2016-01-144-54/+57
| | | | | | | | sfxge: rename hunt ev methods to ef10 and use for Medford Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293751arybchik2016-01-143-25/+34
| | | | | | | | | | sfxge: rename hunt interrupt methods to ef10 and use on Medford All of these apply to both Huntington and Medford. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293750arybchik2016-01-144-11/+13
| | | | | | | | sfxge: update SRAM methods to be no-ops on Medford as well Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293749arybchik2016-01-142-2/+6
| | | | | | | | | | sfxge: use NIC config in place of some Huntington specific PIO constants This should allow these functions to work for Medford as well. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293748arybchik2016-01-145-84/+95
| | | | | | | | | | | | sfxge: change hunt specific fields of efx_nic_t to ef10 All these fields will be used in shared ef10 code, so put them in an ef10 member of a per-architecture union, rather that in the per-chip union. Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293740arybchik2016-01-142-2/+14
| | | | | | | sfxge: update autogenerated monitors lists Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r293734arybchik2016-01-146-0/+154
| | | | | | | | | sfxge: add medford_impl.h, medford_nic.c, ef10_impl.h Creating some files together to do the build system changes in one go. Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r293733arybchik2016-01-143-32/+33
| | | | | | | | sfxge: add Medford sensor support Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293732arybchik2016-01-141-2/+2
| | | | | | | | sfxge: use MCDIv2 on Medford Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293731arybchik2016-01-143-23/+49
| | | | | | | | sfxge: add Medford PCI IDs to common code Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293730arybchik2016-01-141-43/+57
| | | | | | | | sfxge: add sanity checking for EFX_OPT_MEDFORD build option to efx_check.h Submitted by: Mark Spender <mspender at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r293658arybchik2016-01-141-0/+1
| | | | | | | sfxge: add Medford build option disabled by default Submitted by: Mark Spender <mspender at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r292090arybchik2016-01-146-139/+78
| | | | | | | | sfxge: unify MCDI response polling Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: philip Sponsored by: Solarflare Communications, Inc.
* MFC r292088arybchik2016-01-141-21/+50
| | | | | | | | | sfxge: simplify MCDI methods It is a part of MCDI rework to share more code among NIC families. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r292086arybchik2016-01-141-1/+8
| | | | | | | sfxge: add tunable for maximum start attetmps after reset Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r292055arybchik2016-01-147-158/+100
| | | | | | | | | | | sfxge: consolidate privilege check functions To reduce code duplication in common code, consolidate similar privilege check functions. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r292053arybchik2016-01-141-1/+1
| | | | | | | sfxge: cleanup: fix header Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r292052arybchik2016-01-142-19/+15
| | | | | | | sfxge: simplify privilege checks with macro Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r292010arybchik2016-01-141-3/+0
| | | | | | | sfxge: cleanup: removed unused variable Submitted by: Artem V. Andreev <Artem.Andreev at oktetlabs.ru> Sponsored by: Solarflare Communications, Inc.
* MFC r292009arybchik2016-01-141-1/+1
| | | | | | | sfxge: cleanup: fix (unused) EFX_OR_BYTE macro Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r292008arybchik2016-01-145-1/+73
| | | | | | | | | | | sfxge: use MAC spoofing TX and MAC change privileges Update of common code to provide a query on the MAC_SPOOFING_TX and CHANGE_MAC privileges instead of the deprecated MAC_SPOOFING privilege. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r292051arybchik2016-01-144-1/+115
| | | | | | | sfxge: [6/6] support for MCDI proxy authorization in common code Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r292050arybchik2016-01-141-13/+15
| | | | | | | | | sfxge: [5/6] rework event completion error handling Required for MCDI proxy authorization support. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r292007arybchik2016-01-144-156/+124
| | | | | | | | | sfxge: [4/6] rework MCDI response polling Required for MCDI proxy authorization support. Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r291985arybchik2016-01-146-76/+121
| | | | | | | | | | sfxge: [3/6] rework MCDI response handling Required for MCDI proxy authorization support. Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r291928arybchik2016-01-143-11/+42
| | | | | | | | | | sfxge: [2/6] rework MCDI response polling Required to support MCDI proxy authorization. Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r291927arybchik2016-01-142-0/+8
| | | | | | | | sfxge: [1/6] add common code MCDI proxy auth build option Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r291926arybchik2016-01-141-8/+8
| | | | | | | | | | | | sfxge: fix pointer parameter/value signedness mismatch warnings TLV routines use 'uint8_t *', NVRAM code uses caddr_t. Just cast to required type to fix the warning. Required to build with -Werror=pointer-signg. Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r291925arybchik2016-01-141-2/+2
| | | | | | | | | | sfxge: fix name conflict with crc32_table from sys/crc32.h The header is not present on FreeBSD, but exists on OmniOS where sfxge common code is used as well. Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r291924arybchik2016-01-144-8/+15
| | | | | | | | | | | sfxge: switch to TxQ creation specific flags It is better do not mix TxQ creation and receive event flags since only checksum flags are applicable to TxQ. Also it will allow to add a new TxQ creation specific flags. Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r291923arybchik2016-01-145-5/+43
| | | | | | | | | | sfxge: [Sorrento] support writing of MUM firmware When writing the MUM firmware the chunk size must be equal to the erase size. Submitted by: Laurence Evans <levans at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r291922arybchik2016-01-143-0/+14
| | | | | | | | | | sfxge: support PERMIT_SET_MAC_WHEN_FILTERS_INSTALLED flag Use flag on vadapter alloc when reported as a supported capability. Use the slow device reset only when the capability is missing. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc.
* MFC r291862arybchik2016-01-141-1/+26
| | | | | | | | | | sfxge: erase nvram partitions in chunks equal to their erase size The erase size is reported by the nvram info command. Submitted by: Paul Fox <pfox at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc.
* MFC r291849arybchik2016-01-141-15/+53
| | | | | | | | sfxge: pick up the new TLV structures The header is auto-generated from firmware sources. Sponsored by: Solarflare Communications, Inc.
OpenPOWER on IntegriCloud