svn commit: r342524 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:37:06 2018 New Revision: 342524 URL: https://svnweb.freebsd.org/changeset/base/342524 Log: MFC r341783 sfxge(4): report support for Tx checksum op descriptors FreeBSD driver needs a patch to provide a means for packets which do not need checksum

svn commit: r342522 - stable/10/sys/dev/sfxge

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:28:43 2018 New Revision: 342522 URL: https://svnweb.freebsd.org/changeset/base/342522 Log: MFC r341327 sfxge(4): rollback last seen VLAN TCI if Tx packet is dropped Early processing of a packet on transmit may change last seen VLAN TCI in the

svn commit: r342521 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:28:03 2018 New Revision: 342521 URL: https://svnweb.freebsd.org/changeset/base/342521 Log: MFC r341326 sfxge(4): ensure EvQ poll stops when abort is requested If an event handler requested an abort, only the inner loop was guarenteed to be broken

svn commit: r342519 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:26:58 2018 New Revision: 342519 URL: https://svnweb.freebsd.org/changeset/base/342519 Log: MFC r341309 sfxge(4): fix MAC Tx stats for less or equal to 64 bytes This statistic should include 64byte and smaller frames. Fix EF10 calculation to match

svn commit: r342520 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:27:24 2018 New Revision: 342520 URL: https://svnweb.freebsd.org/changeset/base/342520 Log: MFC r341311 sfxge(4): make last byte of module information available Adjust bounds so the interface supports reading the last available byte of data.

svn commit: r342518 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:26:24 2018 New Revision: 342518 URL: https://svnweb.freebsd.org/changeset/base/342518 Log: MFC r341302 sfxge(4): fix a typo in unicast filter insertion comment Submitted by: Ivan Malov Sponsored by: Solarflare Communications, Inc.

svn commit: r342516 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:25:01 2018 New Revision: 342516 URL: https://svnweb.freebsd.org/changeset/base/342516 Log: MFC r341297 sfxge(4): fix out of bounds read when dereferencing sdup Introduce and use macro to make sure that MCDI buffers allocated on stack are rounded

svn commit: r342517 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:25:55 2018 New Revision: 342517 URL: https://svnweb.freebsd.org/changeset/base/342517 Log: MFC r341301 sfxge(4): prevent access to the NIC config before probe NIC config is initialized during NIC probe. Submitted by: Mark Spender

svn commit: r342515 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:23:16 2018 New Revision: 342515 URL: https://svnweb.freebsd.org/changeset/base/342515 Log: MFC r341295 sfxge(4): avoid usage of too big arrays on stack Found by PreFAST static analysis. Submitted by: Martin Harvey Sponsored by:

svn commit: r342513 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:22:18 2018 New Revision: 342513 URL: https://svnweb.freebsd.org/changeset/base/342513 Log: MFC r341215 sfxge(4): fix build because of no declaration Functions declared in mcdi_mon.h are implemented in mcdi_mon.c. The build fails if compiler

svn commit: r342512 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:21:40 2018 New Revision: 342512 URL: https://svnweb.freebsd.org/changeset/base/342512 Log: MFC r341214 sfxge(4): fix SAL annotation for input buffers Submitted by: Martin Harvey Sponsored by: Solarflare Communications, Inc. Differential

svn commit: r342511 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:20:54 2018 New Revision: 342511 URL: https://svnweb.freebsd.org/changeset/base/342511 Log: MFC r341213 sfxge(4): fix PreFAST warnings because of unused return Submitted by: Martin Harvey Sponsored by: Solarflare Communications, Inc.

svn commit: r342510 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:20:02 2018 New Revision: 342510 URL: https://svnweb.freebsd.org/changeset/base/342510 Log: MFC r341197 sfxge(4): fix comparison always true warning Loopback type used as bit index has efx_loopback_type_t type which is enum. clang complains that

svn commit: r342509 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:19:12 2018 New Revision: 342509 URL: https://svnweb.freebsd.org/changeset/base/342509 Log: MFC r341038 sfxge(4): add method to make checksum option descriptors Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc.

svn commit: r342508 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:17:44 2018 New Revision: 342508 URL: https://svnweb.freebsd.org/changeset/base/342508 Log: MFC r340896 sfxge(4): remove Falcon-specific concurrency check Falcon support has been withdrawn from libefx, however, there is still an obsolete

svn commit: r342507 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:16:48 2018 New Revision: 342507 URL: https://svnweb.freebsd.org/changeset/base/342507 Log: MFC r340895 sfxge(4): move BIU test code into Siena-specific file Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc.

svn commit: r342506 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:16:11 2018 New Revision: 342506 URL: https://svnweb.freebsd.org/changeset/base/342506 Log: MFC r340894 sfxge(4): fix PreFAST static analysis warning (C6001) Fix warning "C6001: Using uninitialized memory '*sensor_maskp'" which could occur when

svn commit: r342505 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:15:31 2018 New Revision: 342505 URL: https://svnweb.freebsd.org/changeset/base/342505 Log: MFC r340892 sfxge(4): remove obsolete check for pre-Siena hardware The fail4 label was used twice, so it doesn't need removing. Submitted by: Mark

svn commit: r342504 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:14:29 2018 New Revision: 342504 URL: https://svnweb.freebsd.org/changeset/base/342504 Log: MFC r340891 sfxge(4): fix warnings from VS2015 C compiler (C4214) Fix multiple level 4 warnings "C4214: nonstandard extension used: bit field types other

svn commit: r342503 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:13:42 2018 New Revision: 342503 URL: https://svnweb.freebsd.org/changeset/base/342503 Log: MFC r340890 sfxge(4): fix warnings from VS2015 C compiler (C4057) Fix two level 4 warnings "C4057: 'function': 'const uint8_t *' differs in indirection to

svn commit: r342502 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:12:15 2018 New Revision: 342502 URL: https://svnweb.freebsd.org/changeset/base/342502 Log: MFC r340889 sfxge(4): fix warnings from VS2015 C compiler (C4189) Fix multiple level 4 warnings "C4189: 'xxx': local variable is initialized but not

svn commit: r342501 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:09:53 2018 New Revision: 342501 URL: https://svnweb.freebsd.org/changeset/base/342501 Log: MFC r340888 sfxge(4): fix warnings from VS2015 C compiler (C4100) Fix multiple level 4 warnings "C4100: 'xxx': unreferenced formal parameter" no

svn commit: r342500 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:08:28 2018 New Revision: 342500 URL: https://svnweb.freebsd.org/changeset/base/342500 Log: MFC r340887 sfxge(4): fix warnings from VS2015 C compiler (C4245) Fix level 4 warning "C4245: 'initializing': conversion from 'int' to 'uint32_t',

svn commit: r342499 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:07:30 2018 New Revision: 342499 URL: https://svnweb.freebsd.org/changeset/base/342499 Log: MFC r340886 sfxge(4): fix warnings from VS2015 C compiler (C4244) Fix level 4 warning "C4244: '+=': conversion from 'unsigned int' to 'uint16_t', possible

svn commit: r342498 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:06:14 2018 New Revision: 342498 URL: https://svnweb.freebsd.org/changeset/base/342498 Log: MFC r340885 sfxge(4): fix warnings from VS2015 C compiler (C4310) Fix level 4 warning "C4310: cast truncates constant value"; no functional changes.

svn commit: r342497 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:05:36 2018 New Revision: 342497 URL: https://svnweb.freebsd.org/changeset/base/342497 Log: MFC r340884 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

svn commit: r342496 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:05:03 2018 New Revision: 342496 URL: https://svnweb.freebsd.org/changeset/base/342496 Log: MFC r340883 sfxge(4): fix diagnostics support build without Siena The compilation failed because __efx_sram_pattern_fns was used in efx_nic.c, but defined

svn commit: r342495 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:03:59 2018 New Revision: 342495 URL: https://svnweb.freebsd.org/changeset/base/342495 Log: MFC r340875 sfxge(4): fix build issue with PHY LED control enabled Fixed build issue with the EFSYS_OPT_PHY_LED_CONTROL for Huntigton and Medford.

svn commit: r342494 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:03:11 2018 New Revision: 342494 URL: https://svnweb.freebsd.org/changeset/base/342494 Log: MFC r340833 sfxge(4): support inner checksum offload on transmit Inner checksum offloads may be used only if firmware supports these tunnels.

svn commit: r342493 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:02:05 2018 New Revision: 342493 URL: https://svnweb.freebsd.org/changeset/base/342493 Log: MFC r340831 sfxge(4): make MAC naming consistent with other modules Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc.

svn commit: r342492 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:01:25 2018 New Revision: 342492 URL: https://svnweb.freebsd.org/changeset/base/342492 Log: MFC r340826 sfxge(4): fix ignoring function return value fix PreFAST issue, add missing annotation that function return value should not be ignored. Fix

svn commit: r342491 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:00:25 2018 New Revision: 342491 URL: https://svnweb.freebsd.org/changeset/base/342491 Log: MFC r340822 sfxge(4): fix check in NVRAM validate Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r342490 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:59:24 2018 New Revision: 342490 URL: https://svnweb.freebsd.org/changeset/base/342490 Log: MFC r340814 sfxge(4): fix result code in MCDI NVRAM update finish Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc.

svn commit: r342489 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:44:08 2018 New Revision: 342489 URL: https://svnweb.freebsd.org/changeset/base/342489 Log: MFC r340806 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

svn commit: r342488 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:43:38 2018 New Revision: 342488 URL: https://svnweb.freebsd.org/changeset/base/342488 Log: MFC r340805 sfxge(4): define a handle to denote default RSS context Make the existing filter-specific define more general. This is the same as

svn commit: r342487 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:42:40 2018 New Revision: 342487 URL: https://svnweb.freebsd.org/changeset/base/342487 Log: MFC r340804 sfxge(4): insert filters for encapsulated packets On Medford, with full-featured firmware running, encapsulated packets may not be delivered

svn commit: r342486 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:41:04 2018 New Revision: 342486 URL: https://svnweb.freebsd.org/changeset/base/342486 Log: MFC r340803 sfxge(4): support filters for encapsulated packets This supports filters which match all unicast or multicast inner frames in VXLAN, GENEVE, or

svn commit: r342485 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:40:13 2018 New Revision: 342485 URL: https://svnweb.freebsd.org/changeset/base/342485 Log: MFC r340802 sfxge(4): use proper MCDI command for encap filters MC_CMD_FILTER_OP_IN_EXT is needed to set filters for encapsulated packets. Submitted

svn commit: r342484 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:38:50 2018 New Revision: 342484 URL: https://svnweb.freebsd.org/changeset/base/342484 Log: MFC r340801 sfxge(4): provide information about supported tunnels VXLAN/NVGRE (and Geneve) support is available on SFN8xxx with full-feature firmware

svn commit: r342482 - stable/10/sys/dev/sfxge/common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:36:42 2018 New Revision: 342482 URL: https://svnweb.freebsd.org/changeset/base/342482 Log: MFC r340799 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

svn commit: r342480 - in stable/10/sys/dev/sfxge: . common

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:33:26 2018 New Revision: 342480 URL: https://svnweb.freebsd.org/changeset/base/342480 Log: MFC r340767 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.

svn commit: r342476 - stable/10/sys/dev/sfxge

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:30:06 2018 New Revision: 342476 URL: https://svnweb.freebsd.org/changeset/base/342476 Log: MFC r312868 sfxge(4): cleanup: remove unused soft context struct member rxq_cache Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r342475 - stable/10/sys/dev/sfxge

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:29:26 2018 New Revision: 342475 URL: https://svnweb.freebsd.org/changeset/base/342475 Log: MFC r312867 sfxge(4): cleanup: remvoe trailing tab Sponsored by: Solarflare Communications, Inc. Modified: stable/10/sys/dev/sfxge/sfxge_rx.c Directory

svn commit: r342474 - stable/10/sys/dev/sfxge

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:28:40 2018 New Revision: 342474 URL: https://svnweb.freebsd.org/changeset/base/342474 Log: MFC r312866 sfxge(4): cleanup: remove unused txq_index TxQ control structure member Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r312169 - in stable/10: share/man/man4 sys/dev/sfxge

2017-01-14 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jan 14 10:59:25 2017 New Revision: 312169 URL: https://svnweb.freebsd.org/changeset/base/312169 Log: MFC r311983 sfxge(4): add sysctl to change MAC stats update period The sysctl controls the period per interface. Sponsored by: Solarflare

svn commit: r312168 - in stable/10: share/man/man4 sys/dev/sfxge

2017-01-14 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jan 14 10:58:08 2017 New Revision: 312168 URL: https://svnweb.freebsd.org/changeset/base/312168 Log: MFC r311977 sfxge(4): add tunable to configure MAC stats update period Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r312167 - stable/10/sys/dev/sfxge

2017-01-14 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jan 14 10:50:45 2017 New Revision: 312167 URL: https://svnweb.freebsd.org/changeset/base/312167 Log: MFC r311962 sfxge(4): stats refresh in SW should depend on HW update period The period should be taken into account by the function which refreshes driver

svn commit: r312165 - stable/10/sys/dev/sfxge

2017-01-14 Thread Andrew Rybchenko
Author: arybchik Date: Sat Jan 14 10:39:00 2017 New Revision: 312165 URL: https://svnweb.freebsd.org/changeset/base/312165 Log: MFC r311877 sfxge(4): avoid unnecessary mbuf data prefetch Unnecessary prefetch just loads HW prefetcher and displaces other cache entries (which could be

svn commit: r311768 - in stable/10/sys/dev/sfxge: . common

2017-01-09 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 9 08:12:22 2017 New Revision: 311768 URL: https://svnweb.freebsd.org/changeset/base/311768 Log: MFC r311640 sfxge(4): allow DMA descs to cross 4k boundary on EF10 Siena has limitation on maximum byte count and 4k boundary crosssing (which is stricter

svn commit: r311767 - stable/10/sys/dev/sfxge

2017-01-09 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 9 08:11:16 2017 New Revision: 311767 URL: https://svnweb.freebsd.org/changeset/base/311767 Log: MFC r311639 sfxge(4): treat EFX_LINK_UNKOWN as link down It is safer to consider EFX_LINK_UNKNOWN as link down. link_mode is set to EFX_LINK_UNKNOWN on

svn commit: r311766 - stable/10/sys/dev/sfxge

2017-01-09 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 9 08:10:12 2017 New Revision: 311766 URL: https://svnweb.freebsd.org/changeset/base/311766 Log: MFC r311638 sfxge(4): use SFXGE_LINK_UP() to report link up state Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311499 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:37:06 2017 New Revision: 311499 URL: https://svnweb.freebsd.org/changeset/base/311499 Log: MFC r310815 sfxge(4): add functions to efx_bootcfg supporting whole partition access Expose expcfg partition layout discovery and validating buffer copy

svn commit: r311498 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:34:37 2017 New Revision: 311498 URL: https://svnweb.freebsd.org/changeset/base/311498 Log: MFC r310814 sfxge(4): make verified update result available from ef10_nvram_partn_unlock() Manftest needs to know exactly what went wrong with the verified

svn commit: r311497 - stable/10/sys/dev/sfxge

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:33:22 2017 New Revision: 311497 URL: https://svnweb.freebsd.org/changeset/base/311497 Log: MFC r310818 sfxge(4): support per-command MCDI timeout Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311496 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:32:19 2017 New Revision: 311496 URL: https://svnweb.freebsd.org/changeset/base/311496 Log: MFC r310813 sfxge(4): add per-command timeout reporting to the common code In newer firmware that supports multithreaded MCDI processing, longer running

svn commit: r311495 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:31:15 2017 New Revision: 311495 URL: https://svnweb.freebsd.org/changeset/base/311495 Log: MFC r310765 sfxge(4): add support for firmware-verified NVRAM updates to the common code Submitted by: Andy Moreton Sponsored by: Solarflare

svn commit: r311494 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:29:54 2017 New Revision: 311494 URL: https://svnweb.freebsd.org/changeset/base/311494 Log: MFC r310816 sfxge(4): fix efx_filter_supported_filters API The previous API had various problems, including the length of the caller provided buffer not

svn commit: r311493 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:28:43 2017 New Revision: 311493 URL: https://svnweb.freebsd.org/changeset/base/311493 Log: MFC r310753 sfxge(4): split EFX_FILTER_MATCH_LOC_MAC_IG back into separate flags The flag EFX_FILTER_MATCH_LOC_MAC_IG to represent filtering on the

svn commit: r311492 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:27:40 2017 New Revision: 311492 URL: https://svnweb.freebsd.org/changeset/base/311492 Log: MFC r310750 sfxge(4): add missing barrier in common code MCDI response handling The semantics of the MCDI interfacve require reading the first dword of the

svn commit: r311491 - stable/10/sys/dev/sfxge/common

2017-01-05 Thread Andrew Rybchenko
Author: arybchik Date: Fri Jan 6 07:27:07 2017 New Revision: 311491 URL: https://svnweb.freebsd.org/changeset/base/311491 Log: MFC r310744 sfxge(4): fix efx_ev_qpoll for non-Siena builds Both Siena and EF10 use the siena_ev_qpoll() implementation, but this function is not defined

svn commit: r311096 - stable/10/sys/dev/sfxge

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:50:51 2017 New Revision: 311096 URL: https://svnweb.freebsd.org/changeset/base/311096 Log: MFC r310820 sfxge(4): move queue size checks to after the NIC config has been populated Submitted by: Mark Spender Sponsored by: Solarflare

svn commit: r311095 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:49:40 2017 New Revision: 311095 URL: https://svnweb.freebsd.org/changeset/base/311095 Log: MFC r310819 sfxge(4): cleanup: add efsys_lock_state_t for type of state param in EFSYS_LOCK() This allows the common code to use the correct type for the

svn commit: r311094 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:48:34 2017 New Revision: 311094 URL: https://svnweb.freebsd.org/changeset/base/311094 Log: MFC r310812 sfxge(4): support non-interrupting event queues creation Poll-mode driver does not use interrupts and number of used event queues should not be

svn commit: r311093 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:47:35 2017 New Revision: 311093 URL: https://svnweb.freebsd.org/changeset/base/311093 Log: MFC r310811 sfxge(4): cleanup: remove now-unused function flags Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311092 - stable/10/sys/dev/sfxge

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:46:39 2017 New Revision: 311092 URL: https://svnweb.freebsd.org/changeset/base/311092 Log: MFC r310810 sfxge(4): cleanup: check deferred packet list tunables once Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311090 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:43:46 2017 New Revision: 311090 URL: https://svnweb.freebsd.org/changeset/base/311090 Log: MFC r310764 sfxge(4): sync up tlv_layout.h (from firmwaresrc 82cd8a5715e9) Submitted by: Matthew Slattery Sponsored by: Solarflare Communications,

svn commit: r311089 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:42:47 2017 New Revision: 311089 URL: https://svnweb.freebsd.org/changeset/base/311089 Log: MFC r310762 sfxge(4): regenerate MCDI headers from firmwaresrc .yml Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311086 - in stable/10/sys/dev/sfxge: . common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:39:19 2017 New Revision: 311086 URL: https://svnweb.freebsd.org/changeset/base/311086 Log: MFC r310756 sfxge(4): do not use enum type when values are bitmask ICC complains that enumerated type mixed with another type. Found by DPDK upstream

svn commit: r311085 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:38:20 2017 New Revision: 311085 URL: https://svnweb.freebsd.org/changeset/base/311085 Log: MFC r310755 sfxge(4): do not use enum for filter flags It is not 100% correct to assign non-enum values to enum type variables. Found by ICC build

svn commit: r311084 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:37:15 2017 New Revision: 311084 URL: https://svnweb.freebsd.org/changeset/base/311084 Log: MFC r310754 sfxge(4): don't use Tx descriptor push with TSO option descriptors It is not safe to push TSO option descriptors if pacer bypass is enabled, so

svn commit: r311083 - in stable/10/sys/dev/sfxge: . common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:35:58 2017 New Revision: 311083 URL: https://svnweb.freebsd.org/changeset/base/311083 Log: MFC r310752 sfxge(4): allow to have no NIC handle on Rx datapath in DPDK PMD It is required to minimize RxQ context in the driver or avoid chaising for the

svn commit: r311082 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:34:45 2017 New Revision: 311082 URL: https://svnweb.freebsd.org/changeset/base/311082 Log: MFC r310749 sfxge(4): use correct port number in sensor decoding The port mask used for per-port sensors in mcdi_sensor_map assumes zero-based port

svn commit: r311081 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:34:05 2017 New Revision: 311081 URL: https://svnweb.freebsd.org/changeset/base/311081 Log: MFC r310748 sfxge(4): cleanup: simplify disable scatter logic in ef10_rx_qcreate Submitted by: Andy Moreton Sponsored by: Solarflare Communications,

svn commit: r311080 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:32:45 2017 New Revision: 311080 URL: https://svnweb.freebsd.org/changeset/base/311080 Log: MFC r310747 sfxge(4): provide a way to find out which MAC stats are supported Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311078 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:30:33 2017 New Revision: 311078 URL: https://svnweb.freebsd.org/changeset/base/311078 Log: MFC r310745 sfxge(4): make the common code retrieve the number of FATSOv2 contexts Submitted by: Ivan Malov Sponsored by: Solarflare Communications,

svn commit: r311077 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:29:30 2017 New Revision: 311077 URL: https://svnweb.freebsd.org/changeset/base/311077 Log: MFC r310742 sfxge(4): fix common code for non-Siena builds Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311076 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:28:07 2017 New Revision: 311076 URL: https://svnweb.freebsd.org/changeset/base/311076 Log: MFC r310741 sfxge(4): fix misuse of siena_build_filter in common code Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc.

svn commit: r311075 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:27:28 2017 New Revision: 311075 URL: https://svnweb.freebsd.org/changeset/base/311075 Log: MFC r310719 sfxge(4): cleanup: remove last use of deprecated function flags with privilege check The function flags were changed to mirror the privileges,

svn commit: r311074 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:26:16 2017 New Revision: 311074 URL: https://svnweb.freebsd.org/changeset/base/311074 Log: MFC r310717 sfxge(4): move BIST methods from hunt_phy.c to ef10_phy.c Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc.

svn commit: r311070 - in stable/10/sys/dev/sfxge: . common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:22:41 2017 New Revision: 311070 URL: https://svnweb.freebsd.org/changeset/base/311070 Log: MFC r310713 sfxge(4): add possibility to control event queue performance profile It is ignored on SFN5xxx/6xxx (aka Siena). Sponsored by: Solarflare

svn commit: r311071 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:23:40 2017 New Revision: 311071 URL: https://svnweb.freebsd.org/changeset/base/311071 Log: MFC r310714 sfxge(4): support Medford bootcfg partition layout in common code For Siena and Huntington, the per-port bootcfg (aka expcfg) is stored in a

svn commit: r311069 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:19:29 2017 New Revision: 311069 URL: https://svnweb.freebsd.org/changeset/base/311069 Log: MFC r310709 sfxge(4): fix invalid type of eft_unicst_filter_count Found by clang when boolean_t is defined as bool for DPDK PMD. Sponsored by:

svn commit: r311068 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:18:16 2017 New Revision: 311068 URL: https://svnweb.freebsd.org/changeset/base/311068 Log: MFC r310708 sfxge(4): do not initialize enumerated type variable to another type Fix build warning generated by ICC. Sponsored by: Solarflare

svn commit: r311067 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:17:29 2017 New Revision: 311067 URL: https://svnweb.freebsd.org/changeset/base/311067 Log: MFC r310704 sfxge(4): translate MC_CMD_ERR_ERANGE to host errno value This is needed because MCDI command MC_CMD_REKEY can return MC_CMD_ERR_ERANGE.

svn commit: r311066 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:16:23 2017 New Revision: 311066 URL: https://svnweb.freebsd.org/changeset/base/311066 Log: MFC r310699 sfxge(4): rename hunt_bist_* methods to ef10_bist_* Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311065 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:15:16 2017 New Revision: 311065 URL: https://svnweb.freebsd.org/changeset/base/311065 Log: MFC r310696 sfxge(4): cleanup: improve prefast annotations Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311064 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:14:15 2017 New Revision: 311064 URL: https://svnweb.freebsd.org/changeset/base/311064 Log: MFC r310695 sfxge(4): fix defined-but-not-used warning if neither VPD nor NVRAM opt enabled Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311063 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:13:13 2017 New Revision: 311063 URL: https://svnweb.freebsd.org/changeset/base/311063 Log: MFC r310694 sfxge(4): cleanup: add missing spaces Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311062 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:12:06 2017 New Revision: 311062 URL: https://svnweb.freebsd.org/changeset/base/311062 Log: MFC r310693 sfxge(4): cleanup: avoid unspecified unsigned Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311061 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:10:37 2017 New Revision: 311061 URL: https://svnweb.freebsd.org/changeset/base/311061 Log: MFC r310692 sfxge(4): enclose macro complex value in parenthesis Found by DPDK checkpatches.sh Sponsored by: Solarflare Communications, Inc.

svn commit: r311060 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:09:46 2017 New Revision: 311060 URL: https://svnweb.freebsd.org/changeset/base/311060 Log: MFC r310691 sfxge(4): make strings array pointer itself immutable Found by DPDK checkpatches.sh Sponsored by: Solarflare Communications, Inc.

svn commit: r311059 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:09:05 2017 New Revision: 311059 URL: https://svnweb.freebsd.org/changeset/base/311059 Log: MFC r310690 sfxge(4): cleanup: add const qualifier to const array pointer Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311058 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:08:04 2017 New Revision: 311058 URL: https://svnweb.freebsd.org/changeset/base/311058 Log: MFC r310689 sfxge(4): cleanup: avoid spaces before TAB Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311057 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:05:02 2017 New Revision: 311057 URL: https://svnweb.freebsd.org/changeset/base/311057 Log: MFC r310688 sfxge(4): cleanup: avoid space just before TAB in efx_types.h Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc.

svn commit: r311056 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 09:04:22 2017 New Revision: 311056 URL: https://svnweb.freebsd.org/changeset/base/311056 Log: MFC r310687 sfxge(4): cleanup: use TAB to indent Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311054 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 08:58:51 2017 New Revision: 311054 URL: https://svnweb.freebsd.org/changeset/base/311054 Log: MFC r310686 sfxge(4): cleanup: add missing space between type and pointer symbol Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications,

svn commit: r311053 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 08:58:16 2017 New Revision: 311053 URL: https://svnweb.freebsd.org/changeset/base/311053 Log: MFC r310685 sfxge(4): cleanup: open brace should be on a type name line Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc.

svn commit: r311052 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 08:56:34 2017 New Revision: 311052 URL: https://svnweb.freebsd.org/changeset/base/311052 Log: MFC r310684 sfxge(4): cleanup: remove trailing whitespaces Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r311051 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 08:53:53 2017 New Revision: 311051 URL: https://svnweb.freebsd.org/changeset/base/311051 Log: MFC r310683 sfxge(4): cleanup: pointer symbol should go together with struct member name Found by DPDK checkpatch.sh Sponsored by: Solarflare

svn commit: r311050 - stable/10/sys/dev/sfxge/common

2017-01-02 Thread Andrew Rybchenko
Author: arybchik Date: Mon Jan 2 08:51:28 2017 New Revision: 311050 URL: https://svnweb.freebsd.org/changeset/base/311050 Log: MFC r310682 sfxge(4): cleanup: avoid C99 // comments Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. Modified:

  1   2   3   4   >