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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: r341030 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:21:30 2018 New Revision: 341030 URL: https://svnweb.freebsd.org/changeset/base/341030 Log: sfxge(4): add Medford2 support to Tx 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: 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: r341038 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:23:01 2018 New Revision: 341038 URL: https://svnweb.freebsd.org/changeset/base/341038 Log: sfxge(4): add method to make checksum option descriptors Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Differential Revision:

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: r341034 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:22:14 2018 New Revision: 341034 URL: https://svnweb.freebsd.org/changeset/base/341034 Log: sfxge(4): add Medford2 support to VPD 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: 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

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: 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: r341037 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:22:50 2018 New Revision: 341037 URL: https://svnweb.freebsd.org/changeset/base/341037 Log: sfxge(4): improve comments for EF10 ext port mapping Submitted by: Richard Houldsworth Sponsored by: Solarflare Communications, Inc. Differential Revision

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: 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: r341036 - head/sys/dev/sfxge/common

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:22:37 2018 New Revision: 341036 URL: https://svnweb.freebsd.org/changeset/base/341036 Log: sfxge(4): support runtime VI window size Medford2 uses a configurable VI window size, and requires updates to register accesses to use a runtime VI window size

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:58:52 2018 New Revision: 341042 URL: https://svnweb.freebsd.org/changeset/base/341042 Log: sfxge(4): update hardware headers for Medford2 The changes to efx_regs_ef10.h are auto-generated and include: - Updated event RX_L4_CLASS which is now 2 bits

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:59:09 2018 New Revision: 341043 URL: https://svnweb.freebsd.org/changeset/base/341043 Log: sfxge(4): refactoring eliminating code analysis warnings Addresses most of the warnings reported by the sfn windows driver. Submitted by: Richard Houldswort

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:59:32 2018 New Revision: 341045 URL: https://svnweb.freebsd.org/changeset/base/341045 Log: sfxge(4): update notes on interrupt testing on VFs Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https:

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:59:21 2018 New Revision: 341044 URL: https://svnweb.freebsd.org/changeset/base/341044 Log: sfxge(4): fix ICC warning because of non-enum value usage Fix ICC warning because of non-enum value asignment to enum variable. Found by upstreaming to DPDK.

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:59:43 2018 New Revision: 341046 URL: https://svnweb.freebsd.org/changeset/base/341046 Log: sfxge(4): report memory BAR number Remove EFX_MEM_BAR define as it it is not correct on all platforms. Submitted by: Andy Moreton Sponsored by: Solarfl

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 13:00:17 2018 New Revision: 341049 URL: https://svnweb.freebsd.org/changeset/base/341049 Log: sfxge(4): support new link modes Add basic support for new link modes for Medford2. Submitted by: Andy Moreton Sponsored by: Solarflare Communications,

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 13:00:28 2018 New Revision: 341050 URL: https://svnweb.freebsd.org/changeset/base/341050 Log: sfxge(4): add new loopback modes Report supported loopback modes for new Medford2 link speeds. Submitted by: Andy Moreton Sponsored by: Solarflare Comm

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 12:59:55 2018 New Revision: 341047 URL: https://svnweb.freebsd.org/changeset/base/341047 Log: sfxge(4): simplify loopback type checking Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 13:00:39 2018 New Revision: 341051 URL: https://svnweb.freebsd.org/changeset/base/341051 Log: sfxge(4): add efsys macro to get memory region size EFSYS_MEM_SIZE() reports the DMA mapped size of an efsys_mem_t allocated region (the allocation size may be d

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 13:00:51 2018 New Revision: 341052 URL: https://svnweb.freebsd.org/changeset/base/341052 Log: sfxge(4): handle new speeds in link events Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision: https://review

svn commit: r341048 - head/sys/dev/sfxge

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 13:00:06 2018 New Revision: 341048 URL: https://svnweb.freebsd.org/changeset/base/341048 Log: sfxge(4): removing unneeded assert Remove ASSERT() from sfxge_link_mode_to_phy_cap() which causes an unnecessary panic, even though the callers have proper error

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 14:14:45 2018 New Revision: 341058 URL: https://svnweb.freebsd.org/changeset/base/341058 Log: sfxge(4): refactor EF10 get datapath capabilities Inline efx_mcdi_get_capabilities() to prepare for reading newer capabilities response versions. Submitted

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 14:14:57 2018 New Revision: 341059 URL: https://svnweb.freebsd.org/changeset/base/341059 Log: sfxge(4): retrieve number of MAC stats from NIC This reports the number of stats (and hence the DMA buffer size) for MAC stats. If MC_GET_CAPABABILITIES_V4 is no

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

2018-11-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Nov 27 14:15:19 2018 New Revision: 341061 URL: https://svnweb.freebsd.org/changeset/base/341061 Log: sfxge(4): use MAC stats DMA buffer size from caps For Medford2 the DMA buffer used for one-shot or periodic MAC stats has been extended. Ensure the MAC stats DMA

<    1   2   3   4   5   6   7   8   9   10   >