svn commit: r350369 - in head/sys/dev/sfxge: . common

2019-07-27 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jul 27 09:36:27 2019 New Revision: 350369 URL: https://svnweb.freebsd.org/changeset/base/350369 Log: sfxge(4): fix power of 2 round up when align has smaller type Substitute driver-defined P2ROUNDUP() h with EFX_P2ROUNDUP() defined in libefx. Cast value and

svn commit: r350370 - head/sys/dev/sfxge/common

2019-07-27 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jul 27 09:36:36 2019 New Revision: 350370 URL: https://svnweb.freebsd.org/changeset/base/350370 Log: sfxge(4): fix align to power of 2 when align has smaller type Substitute driver-defined P2ALIGN() with EFX_P2ALIGN() defined in libefx. Cast value and align

svn commit: r350371 - head/sys/dev/sfxge/common

2019-07-27 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jul 27 09:36:45 2019 New Revision: 350371 URL: https://svnweb.freebsd.org/changeset/base/350371 Log: sfxge(4): unify power of 2 alignment check macro Substitute driver-defined IS_P2ALIGNED() with EFX_IS_P2ALIGNED() defined in libefx. Add type argument and c

svn commit: r306944 - head/sys/dev/sfxge/common

2016-10-10 Thread Andrew Rybchenko
Author: arybchik Date: Mon Oct 10 09:54:01 2016 New Revision: 306944 URL: https://svnweb.freebsd.org/changeset/base/306944 Log: sfxge(4): sync tlv_layout.h with firmwaresrc and update port-mode definition use It fixes driver attach issue to a new firmware which reports a new port-modes.

svn commit: r307038 - head/sys/dev/sfxge/common

2016-10-11 Thread Andrew Rybchenko
Author: arybchik Date: Tue Oct 11 13:08:48 2016 New Revision: 307038 URL: https://svnweb.freebsd.org/changeset/base/307038 Log: sfxge(4): update external port mapping for Medford Extend the mapping table for external port numbering to support port modes which output to the second external

svn commit: r340765 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Thu Nov 22 14:10:46 2018 New Revision: 340765 URL: https://svnweb.freebsd.org/changeset/base/340765 Log: sfxge(4): cleanup: move into right place Due to incorrect merge the piece of code was put in incorrect place and diverge from libefx in other locations. Spo

svn commit: r340766 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Thu Nov 22 14:31:35 2018 New Revision: 340766 URL: https://svnweb.freebsd.org/changeset/base/340766 Log: sfxge(4): support packed stream Rx mode in libefx Submitted by: Artem V. Andreev Sponsored by: Solarflare Communications, Inc. Differential Revision: htt

svn commit: r340767 - in head/sys/dev/sfxge: . common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Thu Nov 22 16:15:24 2018 New Revision: 340767 URL: https://svnweb.freebsd.org/changeset/base/340767 Log: sfxge(4): limit max TXQ size on Medford to 2048 Queues with 4096 descriptors are not supported as the top bit is used for vfifo stuffing. Submitted by: M

svn commit: r340794 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 07:26:37 2018 New Revision: 340794 URL: https://svnweb.freebsd.org/changeset/base/340794 Log: sfxge(4): add MCDI agnostic wrapper for MAC stats clear If a libefx-based driver needs some way to clear port statistics, then an MCDI agnostic method is require

svn commit: r340795 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 07:38:59 2018 New Revision: 340795 URL: https://svnweb.freebsd.org/changeset/base/340795 Log: sfxge(4): add advanced function to extract FW version Some libefx-based drivers might need this functionality to indicate DPCPU FW IDs as part of FW version info

svn commit: r340796 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 07:43:44 2018 New Revision: 340796 URL: https://svnweb.freebsd.org/changeset/base/340796 Log: sfxge(4): fix failure path in EF10 Tx queue PIO enable Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week D

svn commit: r340797 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 07:50:22 2018 New Revision: 340797 URL: https://svnweb.freebsd.org/changeset/base/340797 Log: sfxge(4): fix potential buffer overflow in Tx queue init Improve error checking to avoid a caller overflowing the MCDI request buffer if the requested TXQ size w

svn commit: r340798 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 07:50:34 2018 New Revision: 340798 URL: https://svnweb.freebsd.org/changeset/base/340798 Log: sfxge(4): fix out of bounds read in VIs allocation Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Diffe

svn commit: r340799 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 07:50:45 2018 New Revision: 340799 URL: https://svnweb.freebsd.org/changeset/base/340799 Log: sfxge(4): fix error code usage MCDI results returned in req.emr_rc have already been translated from MC_CMD_ERR_* to errno names, so using an MC_CMD_ERR_* value

svn commit: r340800 - head/sys/dev/sfxge/common

2018-11-22 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 07:50:56 2018 New Revision: 340800 URL: https://svnweb.freebsd.org/changeset/base/340800 Log: sfxge(4): let caller know that queue is already flushed Tx/Rx queue may be already flushed due to Tx/Rx error on the queue or MC reboot. Caller needs to know tha

svn commit: r340801 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:02:58 2018 New Revision: 340801 URL: https://svnweb.freebsd.org/changeset/base/340801 Log: sfxge(4): provide information about supported tunnels VXLAN/NVGRE (and Geneve) support is available on SFN8xxx with full-feature firmware variant running. S

svn commit: r340802 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:03:09 2018 New Revision: 340802 URL: https://svnweb.freebsd.org/changeset/base/340802 Log: sfxge(4): use proper MCDI command for encap filters MC_CMD_FILTER_OP_IN_EXT is needed to set filters for encapsulated packets. Submitted by: Mark Spender

svn commit: r340804 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:03:32 2018 New Revision: 340804 URL: https://svnweb.freebsd.org/changeset/base/340804 Log: sfxge(4): insert filters for encapsulated packets On Medford, with full-featured firmware running, encapsulated packets may not be delivered unless filters are i

svn commit: r340803 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:03:20 2018 New Revision: 340803 URL: https://svnweb.freebsd.org/changeset/base/340803 Log: sfxge(4): support filters for encapsulated packets This supports filters which match all unicast or multicast inner frames in VXLAN, GENEVE, or NVGRE packets.

svn commit: r340805 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:14:45 2018 New Revision: 340805 URL: https://svnweb.freebsd.org/changeset/base/340805 Log: sfxge(4): define a handle to denote default RSS context Make the existing filter-specific define more general. This is the same as MC_CMD_RSS_CONTEXT_ALLOC_OUT_R

svn commit: r340806 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:14:57 2018 New Revision: 340806 URL: https://svnweb.freebsd.org/changeset/base/340806 Log: sfxge(4): fix default RSS context check on Siena Default RSS context check is carried out during filter insertion on Siena and it needs to be fixed Submitte

svn commit: r340808 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:15:20 2018 New Revision: 340808 URL: https://svnweb.freebsd.org/changeset/base/340808 Log: sfxge(4): rename API to check Rx scale and hash support Rename efx_rx_scale_support_get() to efx_rx_scale_default_support_get(), and efx_rx_hash_support_get() to

svn commit: r340811 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:15:56 2018 New Revision: 340811 URL: https://svnweb.freebsd.org/changeset/base/340811 Log: sfxge(4): add API to set an RSS context for a filter Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Differential Revision: http

svn commit: r340809 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:15:32 2018 New Revision: 340809 URL: https://svnweb.freebsd.org/changeset/base/340809 Log: sfxge(4): add API to allocate and free RSS contexts Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Differential Revision: https

svn commit: r340807 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:15:08 2018 New Revision: 340807 URL: https://svnweb.freebsd.org/changeset/base/340807 Log: sfxge(4): add the max number of RSS exclusive contexts The patch adds enc_rx_scale_max_exclusive_contexts member to nic_cfg_t structure and sets the correspondin

svn commit: r340812 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:16:07 2018 New Revision: 340812 URL: https://svnweb.freebsd.org/changeset/base/340812 Log: sfxge(4): add RSS key size define Submitted by: Ivan Malov Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.o

svn commit: r340810 - in head/sys/dev/sfxge: . common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 09:15:44 2018 New Revision: 340810 URL: https://svnweb.freebsd.org/changeset/base/340810 Log: sfxge(4): update RSS API to take RSS context parameter Update efx_rx_scale_mode_set(), efx_rx_scale_key_set() and efx_rx_scale_tbl_set(). Submitted by: Ma

svn commit: r340813 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:19:46 2018 New Revision: 340813 URL: https://svnweb.freebsd.org/changeset/base/340813 Log: sfxge(4): copy new header from firmware src Submitted by: Andrew Jackson Sponsored by: Solarflare Communications, Inc. Differential Revision: https://rev

svn commit: r340816 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:20:20 2018 New Revision: 340816 URL: https://svnweb.freebsd.org/changeset/base/340816 Log: sfxge(4): report verify result from RW finish callback This makes the verify result visible to efx_nvram_rw_finish(), which can be extended to report it in a lat

svn commit: r340815 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:20:08 2018 New Revision: 340815 URL: https://svnweb.freebsd.org/changeset/base/340815 Log: sfxge(4): simplify verify result handling Simplify verify result handling in NVRAM update finish Submitted by: Andy Moreton Sponsored by: Solarflare Co

svn commit: r340814 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:19:57 2018 New Revision: 340814 URL: https://svnweb.freebsd.org/changeset/base/340814 Log: sfxge(4): fix result code in MCDI NVRAM update finish Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Di

svn commit: r340817 - in head/sys/dev/sfxge: . common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:20:32 2018 New Revision: 340817 URL: https://svnweb.freebsd.org/changeset/base/340817 Log: sfxge(4): extend NVRAM RW finish to return verify result Extend efx_nvram_rw_finish() to return firmware verify result code. Submitted by: Andy Moreton S

svn commit: r340818 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:20:44 2018 New Revision: 340818 URL: https://svnweb.freebsd.org/changeset/base/340818 Log: sfxge(4): rename firmware update verify result cap field The existing name confuses support for secure boot with support for reporting a verify result after an N

svn commit: r340821 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:21:17 2018 New Revision: 340821 URL: https://svnweb.freebsd.org/changeset/base/340821 Log: sfxge(4): report correct partition write chunk size If the firmware reports a non-zero write chunk size then nvram writes may fail if a different granularity is

svn commit: r340819 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:20:55 2018 New Revision: 340819 URL: https://svnweb.freebsd.org/changeset/base/340819 Log: sfxge(4): simplify NVRAM type to partition mappings Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https

svn commit: r340820 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:21:06 2018 New Revision: 340820 URL: https://svnweb.freebsd.org/changeset/base/340820 Log: sfxge(4): check NVRAM locking by partition ID Tracking which partition is locked avoids being overly conservative when EFX_NVRAM_xxx maps to more than one partit

svn commit: r340823 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:21:36 2018 New Revision: 340823 URL: https://svnweb.freebsd.org/changeset/base/340823 Log: sfxge(4): precheck and verify flash writes Read existing flash content before writing, so the flash write can be avoided if the existing partition content matche

svn commit: r340825 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:22:01 2018 New Revision: 340825 URL: https://svnweb.freebsd.org/changeset/base/340825 Log: sfxge(4): quieten get version methods Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.fre

svn commit: r340822 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:21:28 2018 New Revision: 340822 URL: https://svnweb.freebsd.org/changeset/base/340822 Log: sfxge(4): fix check in NVRAM validate Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week Differential Revis

svn commit: r340824 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 10:21:50 2018 New Revision: 340824 URL: https://svnweb.freebsd.org/changeset/base/340824 Log: sfxge(4): remove duplicate NVRAM asserts The checking performed in the ->envo_type_to_partn internal method make these assertions unnecessary. Submitted by:

svn commit: r340826 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 11:31:45 2018 New Revision: 340826 URL: https://svnweb.freebsd.org/changeset/base/340826 Log: sfxge(4): fix ignoring function return value fix PreFAST issue, add missing annotation that function return value should not be ignored. Fix alignment. Subm

svn commit: r340827 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 11:31:57 2018 New Revision: 340827 URL: https://svnweb.freebsd.org/changeset/base/340827 Log: sfxge(4): support MUM/SUC firmware partitions Submitted by: Andrew Lee Sponsored by: Solarflare Communications, Inc. Differential Revision: https://revie

svn commit: r340828 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 11:38:50 2018 New Revision: 340828 URL: https://svnweb.freebsd.org/changeset/base/340828 Log: sfxge(4): improve RxQ label init prototype RxQ type provides more information which may be useful to setup event queue appropriately. Sponsored by: Solarf

svn commit: r340829 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 11:39:02 2018 New Revision: 340829 URL: https://svnweb.freebsd.org/changeset/base/340829 Log: sfxge(4): provide simple access to RxQ state in EvQ Packed stream Rx datapath requires access to packed stream state stored in event queue. Number of credits is

svn commit: r340830 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 11:39:13 2018 New Revision: 340830 URL: https://svnweb.freebsd.org/changeset/base/340830 Log: sfxge(4): enforce packed stream fake buffer size In the case of packed stream real size of the buffer does not fit in Rx descriptor byte count. Real size is spec

svn commit: r340831 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 11:39:24 2018 New Revision: 340831 URL: https://svnweb.freebsd.org/changeset/base/340831 Log: sfxge(4): make MAC naming consistent with other modules Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: h

svn commit: r340833 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 13:12:04 2018 New Revision: 340833 URL: https://svnweb.freebsd.org/changeset/base/340833 Log: sfxge(4): support inner checksum offload on transmit Inner checksum offloads may be used only if firmware supports these tunnels. Sponsored by: Solarflare

svn commit: r340836 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 15:59:37 2018 New Revision: 340836 URL: https://svnweb.freebsd.org/changeset/base/340836 Log: sfxge(4): use MCDIv2 for requests with too long response Use MCDIv2 for requests with a response size too long for MCDIv1. Required for MC_CMD_MAC_STATS to re

svn commit: r340837 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 15:59:49 2018 New Revision: 340837 URL: https://svnweb.freebsd.org/changeset/base/340837 Log: sfxge(4): ignore error in completion event on MCDIv2 HW With MCDIv2, the reponse length can be to big to fit into the CMDDONE_DATALEN field in the MCDI completio

svn commit: r340838 - head/sys/dev/sfxge/common

2018-11-23 Thread Andrew Rybchenko
Author: arybchik Date: Fri Nov 23 16:18:36 2018 New Revision: 340838 URL: https://svnweb.freebsd.org/changeset/base/340838 Log: sfxge(4): request info about outer frame in Rx events For encapsulated packets, the firmware gives info about the inner frame fields by default. When not using e

svn commit: r340872 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:09 2018 New Revision: 340872 URL: https://svnweb.freebsd.org/changeset/base/340872 Log: sfxge(4): improve names for EVQ descriptor counts Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https:/

svn commit: r340873 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:22 2018 New Revision: 340873 URL: https://svnweb.freebsd.org/changeset/base/340873 Log: sfxge(4): improve names for RXQ descriptor counts Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https:/

svn commit: r340871 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:22:57 2018 New Revision: 340871 URL: https://svnweb.freebsd.org/changeset/base/340871 Log: sfxge(4): remove assertion on no longer used define MC_CMD_INIT_RXQ_OUT_LEN is not used any more. Submitted by: Mark Spender Sponsored by: Solarflare C

svn commit: r340879 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:35 2018 New Revision: 340879 URL: https://svnweb.freebsd.org/changeset/base/340879 Log: sfxge(4): remove unused defined for WPTR alignment MEDFORD_RX_WPTR_ALIGN is not used. Submitted by: Andy Moreton Sponsored by: Solarflare Communication

svn commit: r340874 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:34 2018 New Revision: 340874 URL: https://svnweb.freebsd.org/changeset/base/340874 Log: sfxge(4): improve names for TXQ descriptor counts Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https:/

svn commit: r340878 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:23 2018 New Revision: 340878 URL: https://svnweb.freebsd.org/changeset/base/340878 Log: sfxge(4): support new sensors Submitted by: Andrew Jackson Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.o

svn commit: r340875 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:46 2018 New Revision: 340875 URL: https://svnweb.freebsd.org/changeset/base/340875 Log: sfxge(4): fix build issue with PHY LED control enabled Fixed build issue with the EFSYS_OPT_PHY_LED_CONTROL for Huntigton and Medford. Submitted by: Vijay

svn commit: r340876 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:58 2018 New Revision: 340876 URL: https://svnweb.freebsd.org/changeset/base/340876 Log: sfxge(4): move Siena-specific defs to right header Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https:

svn commit: r340880 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:47 2018 New Revision: 340880 URL: https://svnweb.freebsd.org/changeset/base/340880 Log: sfxge(4): fix coding style Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D1

svn commit: r340877 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:12 2018 New Revision: 340877 URL: https://svnweb.freebsd.org/changeset/base/340877 Log: sfxge(4): add new sensors Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D18

svn commit: r340883 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:11 2018 New Revision: 340883 URL: https://svnweb.freebsd.org/changeset/base/340883 Log: sfxge(4): fix diagnostics support build without Siena The compilation failed because __efx_sram_pattern_fns was used in efx_nic.c, but defined in efx_sram.c whic

svn commit: r340884 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:23 2018 New Revision: 340884 URL: https://svnweb.freebsd.org/changeset/base/340884 Log: sfxge(4): fix probes in licensing support EFSYS_PROBE1 takes one typed value (in addition to the probe name), whereas EFSYS_PROBE has just the probe name. W

svn commit: r340885 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:35 2018 New Revision: 340885 URL: https://svnweb.freebsd.org/changeset/base/340885 Log: sfxge(4): fix warnings from VS2015 C compiler (C4310) Fix level 4 warning "C4310: cast truncates constant value"; no functional changes. Submitted by: A

svn commit: r340882 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:28:58 2018 New Revision: 340882 URL: https://svnweb.freebsd.org/changeset/base/340882 Log: sfxge(4): allow to use PHY stats on Huntington/Medford EFSYS_OPT_PHY_STATS can be used with Huntington or Medford, not just Siena. Submitted by: Mark Spende

svn commit: r340886 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:46 2018 New Revision: 340886 URL: https://svnweb.freebsd.org/changeset/base/340886 Log: sfxge(4): fix warnings from VS2015 C compiler (C4244) Fix level 4 warning "C4244: '+=': conversion from 'unsigned int' to 'uint16_t', possible loss of data"; n

svn commit: r340887 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:58 2018 New Revision: 340887 URL: https://svnweb.freebsd.org/changeset/base/340887 Log: sfxge(4): fix warnings from VS2015 C compiler (C4245) Fix level 4 warning "C4245: 'initializing': conversion from 'int' to 'uint32_t', signed/unsigned mismatch

svn commit: r340888 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:09 2018 New Revision: 340888 URL: https://svnweb.freebsd.org/changeset/base/340888 Log: sfxge(4): fix warnings from VS2015 C compiler (C4100) Fix multiple level 4 warnings "C4100: 'xxx': unreferenced formal parameter" no functional changes. T

svn commit: r340890 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:34 2018 New Revision: 340890 URL: https://svnweb.freebsd.org/changeset/base/340890 Log: sfxge(4): fix warnings from VS2015 C compiler (C4057) Fix two level 4 warnings "C4057: 'function': 'const uint8_t *' differs in indirection to slightly differe

svn commit: r340889 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:22 2018 New Revision: 340889 URL: https://svnweb.freebsd.org/changeset/base/340889 Log: sfxge(4): fix warnings from VS2015 C compiler (C4189) Fix multiple level 4 warnings "C4189: 'xxx': local variable is initialized but not referenced"; no functi

svn commit: r340891 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:46 2018 New Revision: 340891 URL: https://svnweb.freebsd.org/changeset/base/340891 Log: sfxge(4): fix warnings from VS2015 C compiler (C4214) Fix multiple level 4 warnings "C4214: nonstandard extension used: bit field types other than int"; no fun

svn commit: r340894 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:20 2018 New Revision: 340894 URL: https://svnweb.freebsd.org/changeset/base/340894 Log: sfxge(4): fix PreFAST static analysis warning (C6001) Fix warning "C6001: Using uninitialized memory '*sensor_maskp'" which could occur when the npages argumen

svn commit: r340892 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:57 2018 New Revision: 340892 URL: https://svnweb.freebsd.org/changeset/base/340892 Log: sfxge(4): remove obsolete check for pre-Siena hardware The fail4 label was used twice, so it doesn't need removing. Submitted by: Mark Spender Sponsored

svn commit: r340895 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:31 2018 New Revision: 340895 URL: https://svnweb.freebsd.org/changeset/base/340895 Log: sfxge(4): move BIU test code into Siena-specific file Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Differential Revision: htt

svn commit: r340896 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:43 2018 New Revision: 340896 URL: https://svnweb.freebsd.org/changeset/base/340896 Log: sfxge(4): remove Falcon-specific concurrency check Falcon support has been withdrawn from libefx, however, there is still an obsolete Falcon-specific assertion t

svn commit: r340893 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:08 2018 New Revision: 340893 URL: https://svnweb.freebsd.org/changeset/base/340893 Log: sfxge(4): expand on comment on number of queues field Expand on comment on RSS_CONTEXT_ALLOC_IN_NUM_QUEUES field. Submitted by: Mark Spender Sponsored by

svn commit: r340906 - in head/sys/dev/sfxge: . common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 18:13:07 2018 New Revision: 340906 URL: https://svnweb.freebsd.org/changeset/base/340906 Log: sfxge(4): control RxQ scatter using flag instead of type Rx scatter may be applicable to different Rx queue types. Sponsored by: Solarflare Communications,

svn commit: r340907 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 18:13:21 2018 New Revision: 340907 URL: https://svnweb.freebsd.org/changeset/base/340907 Log: sfxge(4): add function to create packed stream RxQ Encoding packed stream buffer size in RxQ type is not a future-proof idea taking into account a new RxQ types

svn commit: r340908 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 18:13:34 2018 New Revision: 340908 URL: https://svnweb.freebsd.org/changeset/base/340908 Log: sfxge(4): allow to request inner classes for Rx packets If HW/FW supports tunnel encapsulations, Rx event may contain either inner or outer packet classes. By de

svn commit: r340928 - in head/sys: conf dev/sfxge/common modules/sfxge

2018-11-25 Thread Andrew Rybchenko
Author: arybchik Date: Mon Nov 26 06:20:13 2018 New Revision: 340928 URL: https://svnweb.freebsd.org/changeset/base/340928 Log: sfxge(4): add API to control UDP tunnel ports HW needs to know which UDP packets should be treated as tunnel encapsulation to do inner packet recognition, classi

svn commit: r340929 - head/sys/dev/sfxge/common

2018-11-25 Thread Andrew Rybchenko
Author: arybchik Date: Mon Nov 26 07:15:19 2018 New Revision: 340929 URL: https://svnweb.freebsd.org/changeset/base/340929 Log: sfxge(4): regenerate files with genfwdef after ID update Add security level to image boot header. Submitted by: Andrew Jackson Sponsored by: Solarflare

svn commit: r340930 - in head: . sys/dev/sfxge/common sys/modules/sfxge

2018-11-25 Thread Andrew Rybchenko
Author: arybchik Date: Mon Nov 26 07:23:02 2018 New Revision: 340930 URL: https://svnweb.freebsd.org/changeset/base/340930 Log: sfxge(4): update autogenerated headers from firmwaresrc Pick up Medford2 interfaces. Split AOE operations out into own header. Sponsored by: Solarflare

svn commit: r340931 - in head: . sys/dev/sfxge/common

2018-11-25 Thread Andrew Rybchenko
Author: arybchik Date: Mon Nov 26 07:30:47 2018 New Revision: 340931 URL: https://svnweb.freebsd.org/changeset/base/340931 Log: sfxge(4): fix incorrectly set svn properties File name was used by the svn property value since real value was lost in the command. Modified: head/.gitattribu

svn commit: r340932 - head/sys/dev/sfxge/common

2018-11-25 Thread Andrew Rybchenko
Author: arybchik Date: Mon Nov 26 07:42:52 2018 New Revision: 340932 URL: https://svnweb.freebsd.org/changeset/base/340932 Log: sfxge(4): add 3.3V and 12.0V current sensors Automatically generated using mkconfig.py. Submitted by: Andy Moreton Sponsored by: Solarflare Communicati

svn commit: r341017 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:13:39 2018 New Revision: 341017 URL: https://svnweb.freebsd.org/changeset/base/341017 Log: sfxge(4): add Medford2 PCI IDs Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.or

svn commit: r341018 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:13:54 2018 New Revision: 341018 URL: https://svnweb.freebsd.org/changeset/base/341018 Log: sfxge(4): add efsys option for Medford2 Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.f

svn commit: r341020 - in head/sys: conf dev/sfxge/common modules/sfxge

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:14:16 2018 New Revision: 341020 URL: https://svnweb.freebsd.org/changeset/base/341020 Log: sfxge(4): add Medford2 support to NIC module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://revi

svn commit: r341019 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:14:05 2018 New Revision: 341019 URL: https://svnweb.freebsd.org/changeset/base/341019 Log: sfxge(4): put Siena-specific code under its efsys option Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D181

svn commit: r341021 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:19:49 2018 New Revision: 341021 URL: https://svnweb.freebsd.org/changeset/base/341021 Log: sfxge(4): correct PIO buffer dimensions for Medford2 Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: http

svn commit: r341023 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:20:12 2018 New Revision: 341023 URL: https://svnweb.freebsd.org/changeset/base/341023 Log: sfxge(4): add Medford2 support to EV module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://revie

svn commit: r341025 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:20:35 2018 New Revision: 341025 URL: https://svnweb.freebsd.org/changeset/base/341025 Log: sfxge(4): add Medford2 support to INTR module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://rev

svn commit: r341022 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:20:01 2018 New Revision: 341022 URL: https://svnweb.freebsd.org/changeset/base/341022 Log: sfxge(4): move RxDP config get to EF10 NIC code Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://r

svn commit: r341027 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:20:57 2018 New Revision: 341027 URL: https://svnweb.freebsd.org/changeset/base/341027 Log: sfxge(4): add Medford2 support to MCDI module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://rev

svn commit: r341024 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:20:23 2018 New Revision: 341024 URL: https://svnweb.freebsd.org/changeset/base/341024 Log: sfxge(4): add Medford2 support to FILTER module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://r

svn commit: r341035 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:22:25 2018 New Revision: 341035 URL: https://svnweb.freebsd.org/changeset/base/341035 Log: sfxge(4): add Medford2 support to MON module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://revi

svn commit: r341032 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:21:53 2018 New Revision: 341032 URL: https://svnweb.freebsd.org/changeset/base/341032 Log: sfxge(4): add Medford2 support to SRAM module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://rev

svn commit: r341026 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:20:46 2018 New Revision: 341026 URL: https://svnweb.freebsd.org/changeset/base/341026 Log: sfxge(4): add Medford2 support to MAC module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://revi

svn commit: r341029 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:21:19 2018 New Revision: 341029 URL: https://svnweb.freebsd.org/changeset/base/341029 Log: sfxge(4): add Medford2 support to Rx module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://revie

svn commit: r341033 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:22:03 2018 New Revision: 341033 URL: https://svnweb.freebsd.org/changeset/base/341033 Log: sfxge(4): add Medford2 support to BOOTCFG module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://

svn commit: r341031 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:21:41 2018 New Revision: 341031 URL: https://svnweb.freebsd.org/changeset/base/341031 Log: sfxge(4): add Medford2 support to NVRAM module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://re

svn commit: r341028 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:21:08 2018 New Revision: 341028 URL: https://svnweb.freebsd.org/changeset/base/341028 Log: sfxge(4): add Medford2 support to PHY module Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://revi

  1   2   3   4   5   6   7   8   >