svn commit: r342425 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:01:25 2018 New Revision: 342425 URL: https://svnweb.freebsd.org/changeset/base/342425 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 i

svn commit: r342426 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:02:08 2018 New Revision: 342426 URL: https://svnweb.freebsd.org/changeset/base/342426 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 p

svn commit: r342429 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:03:52 2018 New Revision: 342429 URL: https://svnweb.freebsd.org/changeset/base/342429 Log: MFC r340887 sfxge(4): fix warnings from VS2015 C compiler (C4245) Fix level 4 warning "C4245: 'initializing': conversion from 'int' to 'uint32_t', signed/

svn commit: r342430 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:07:34 2018 New Revision: 342430 URL: https://svnweb.freebsd.org/changeset/base/342430 Log: MFC r340888 sfxge(4): fix warnings from VS2015 C compiler (C4100) Fix multiple level 4 warnings "C4100: 'xxx': unreferenced formal parameter" no functiona

svn commit: r342431 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:11:08 2018 New Revision: 342431 URL: https://svnweb.freebsd.org/changeset/base/342431 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 referen

svn commit: r342432 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:12:08 2018 New Revision: 342432 URL: https://svnweb.freebsd.org/changeset/base/342432 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: r342433 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:12:49 2018 New Revision: 342433 URL: https://svnweb.freebsd.org/changeset/base/342433 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 th

svn commit: r342434 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:13:30 2018 New Revision: 342434 URL: https://svnweb.freebsd.org/changeset/base/342434 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 Spen

svn commit: r342435 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:14:01 2018 New Revision: 342435 URL: https://svnweb.freebsd.org/changeset/base/342435 Log: MFC r340894 sfxge(4): fix PreFAST static analysis warning (C6001) Fix warning "C6001: Using uninitialized memory '*sensor_maskp'" which could occur when t

svn commit: r342436 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:15:03 2018 New Revision: 342436 URL: https://svnweb.freebsd.org/changeset/base/342436 Log: MFC r340895 sfxge(4): move BIU test code into Siena-specific file Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Differenti

svn commit: r342437 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:15:51 2018 New Revision: 342437 URL: https://svnweb.freebsd.org/changeset/base/342437 Log: MFC r340896 sfxge(4): remove Falcon-specific concurrency check Falcon support has been withdrawn from libefx, however, there is still an obsolete Falcon-spe

svn commit: r342438 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:18:40 2018 New Revision: 342438 URL: https://svnweb.freebsd.org/changeset/base/342438 Log: MFC r341038 sfxge(4): add method to make checksum option descriptors Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Differe

svn commit: r342439 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:19:39 2018 New Revision: 342439 URL: https://svnweb.freebsd.org/changeset/base/342439 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 it

svn commit: r342440 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:20:41 2018 New Revision: 342440 URL: https://svnweb.freebsd.org/changeset/base/342440 Log: MFC r341213 sfxge(4): fix PreFAST warnings because of unused return Submitted by: Martin Harvey Sponsored by: Solarflare Communications, Inc. Differe

svn commit: r342441 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:21:35 2018 New Revision: 342441 URL: https://svnweb.freebsd.org/changeset/base/342441 Log: MFC r341214 sfxge(4): fix SAL annotation for input buffers Submitted by: Martin Harvey Sponsored by: Solarflare Communications, Inc. Differential Rev

svn commit: r342442 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:22:24 2018 New Revision: 342442 URL: https://svnweb.freebsd.org/changeset/base/342442 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 option

svn commit: r342443 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:23:04 2018 New Revision: 342443 URL: https://svnweb.freebsd.org/changeset/base/342443 Log: MFC r341290 sfxge(4): check size of memory to read sensors data to Size of provided memory should be consistent with specified size. Submitted by: Mart

svn commit: r342444 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:23:33 2018 New Revision: 342444 URL: https://svnweb.freebsd.org/changeset/base/342444 Log: MFC r341295 sfxge(4): avoid usage of too big arrays on stack Found by PreFAST static analysis. Submitted by: Martin Harvey Sponsored by: Solarflar

svn commit: r342445 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:27:45 2018 New Revision: 342445 URL: https://svnweb.freebsd.org/changeset/base/342445 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 u

svn commit: r342446 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:30:17 2018 New Revision: 342446 URL: https://svnweb.freebsd.org/changeset/base/342446 Log: MFC r341301 sfxge(4): prevent access to the NIC config before probe NIC config is initialized during NIC probe. Submitted by: Mark Spender Sponsored

svn commit: r342447 - stable/11/sys/dev/sfxge/common

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

svn commit: r342449 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:32:18 2018 New Revision: 342449 URL: https://svnweb.freebsd.org/changeset/base/342449 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. S

svn commit: r342448 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:31:45 2018 New Revision: 342448 URL: https://svnweb.freebsd.org/changeset/base/342448 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: r342450 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:33:02 2018 New Revision: 342450 URL: https://svnweb.freebsd.org/changeset/base/342450 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: r342451 - stable/11/sys/dev/sfxge

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:33:45 2018 New Revision: 342451 URL: https://svnweb.freebsd.org/changeset/base/342451 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 queu

svn commit: r342452 - stable/11/sys/dev/sfxge

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:34:44 2018 New Revision: 342452 URL: https://svnweb.freebsd.org/changeset/base/342452 Log: MFC r341782 sfxge(4): populate per-event queue stats in sysctl In order to find out why the first event queue and corresponding interrupt is triggered more

svn commit: r342453 - stable/11/sys/dev/sfxge/common

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:37:42 2018 New Revision: 342453 URL: https://svnweb.freebsd.org/changeset/base/342453 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 o

svn commit: r342454 - stable/11/sys/dev/sfxge

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:38:46 2018 New Revision: 342454 URL: https://svnweb.freebsd.org/changeset/base/342454 Log: MFC r341784 sfxge(4): prepare the number of Tx queues on event queue 0 to become variable The number of Tx queues on event queue 0 can depend on the NIC fam

svn commit: r342455 - stable/11/sys/dev/sfxge

2018-12-24 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 25 07:39:34 2018 New Revision: 342455 URL: https://svnweb.freebsd.org/changeset/base/342455 Log: MFC r341785 sfxge(4): use n Tx queues instead of n + 2 on EF10 HW On EF10 HW we can avoid sending packets without checksum offload or with IP-only checksum

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: stable/10/sys

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 P

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: stable/10/sys/d

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

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:31:36 2018 New Revision: 342478 URL: https://svnweb.freebsd.org/changeset/base/342478 Log: MFC r312884 sfxge(4): fix RxQ structure layout vs usage on datapath Recent changes in the pseudo header accessor prototypes start to use common code RxQ han

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

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:30:53 2018 New Revision: 342477 URL: https://svnweb.freebsd.org/changeset/base/342477 Log: MFC r312883 sfxge(4): fix invalid VLAN tagging after stop/start TxQ is destroyed on stop and last used tag should be reset to default 0 on the next start.

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

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:32:30 2018 New Revision: 342479 URL: https://svnweb.freebsd.org/changeset/base/342479 Log: MFC r312885 sfxge(4): compact the first hot part of RxQ control buf_base_id is used on RxQ control operations only and not used on datapath. Sponsored

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. S

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

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 09:34:26 2018 New Revision: 342481 URL: https://svnweb.freebsd.org/changeset/base/342481 Log: MFC r340798 sfxge(4): fix out of bounds read in VIs allocation Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential

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 MC

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

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

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 varian

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 by

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: 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 unl

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 MC_CMD_RSS_CO

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 fi

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. Differenti

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: ht

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 ali

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. Differen

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. Sponsored

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. Subm

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 p

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 i

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: 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', signed/

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 functiona

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 referen

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: 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 th

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 Spen

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 t

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. Differenti

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 Falcon-spe

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. Differe

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 it

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. Differe

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 Rev

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

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:22:49 2018 New Revision: 342514 URL: https://svnweb.freebsd.org/changeset/base/342514 Log: MFC r341290 sfxge(4): check size of memory to read sensors data to Size of provided memory should be consistent with specified size. Submitted by: Mart

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 option

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 u

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: Solarflar

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 Sponsored

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. Different

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. S

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: 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 queu

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: r342523 - stable/10/sys/dev/sfxge

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:35:41 2018 New Revision: 342523 URL: https://svnweb.freebsd.org/changeset/base/342523 Log: MFC r341782 sfxge(4): populate per-event queue stats in sysctl In order to find out why the first event queue and corresponding interrupt is triggered more

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 o

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

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:38:51 2018 New Revision: 342527 URL: https://svnweb.freebsd.org/changeset/base/342527 Log: MFC r341784 sfxge(4): prepare the number of Tx queues on event queue 0 to become variable The number of Tx queues on event queue 0 can depend on the NIC fam

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

2018-12-26 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 26 10:39:34 2018 New Revision: 342529 URL: https://svnweb.freebsd.org/changeset/base/342529 Log: MFC r341785 sfxge(4): use n Tx queues instead of n + 2 on EF10 HW On EF10 HW we can avoid sending packets without checksum offload or with IP-only checksum

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: r307367 - stable/11/sys/dev/sfxge/common

2016-10-15 Thread Andrew Rybchenko
Author: arybchik Date: Sat Oct 15 13:39:30 2016 New Revision: 307367 URL: https://svnweb.freebsd.org/changeset/base/307367 Log: MFC r306944 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

svn commit: r307370 - stable/11/sys/dev/sfxge/common

2016-10-15 Thread Andrew Rybchenko
Author: arybchik Date: Sat Oct 15 13:42:52 2016 New Revision: 307370 URL: https://svnweb.freebsd.org/changeset/base/307370 Log: MFC r307038 sfxge(4): update external port mapping for Medford Extend the mapping table for external port numbering to support port modes which output to th

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

2016-10-15 Thread Andrew Rybchenko
Author: arybchik Date: Sat Oct 15 13:44:13 2016 New Revision: 307371 URL: https://svnweb.freebsd.org/changeset/base/307371 Log: MFC r306944 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

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

2016-10-15 Thread Andrew Rybchenko
Author: arybchik Date: Sat Oct 15 13:45:12 2016 New Revision: 307373 URL: https://svnweb.freebsd.org/changeset/base/307373 Log: MFC r307038 sfxge(4): update external port mapping for Medford Extend the mapping table for external port numbering to support port modes which output to th

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

2016-08-23 Thread Andrew Rybchenko
Author: arybchik Date: Tue Aug 23 13:51:55 2016 New Revision: 304679 URL: https://svnweb.freebsd.org/changeset/base/304679 Log: MFC r301724 sfxge(4): handle negative ticks difference correctly ticks are signed int and if statistics is not updated for a long time (more than INT_MAX ti

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

2015-07-22 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jul 22 16:25:18 2015 New Revision: 285798 URL: https://svnweb.freebsd.org/changeset/base/285798 Log: sfxge: added fallbacks for pre 4.2.1 firmware support Driver must be able to start against older firmware that is missing recently added MCDI calls, otherwise fi

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

2015-07-23 Thread Andrew Rybchenko
Author: arybchik Date: Thu Jul 23 15:08:21 2015 New Revision: 285813 URL: https://svnweb.freebsd.org/changeset/base/285813 Log: MFC r285798 sfxge: added fallbacks for pre 4.2.1 firmware support Driver must be able to start against older firmware that is missing recently added MCDI ca

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

2016-12-27 Thread Andrew Rybchenko
Author: arybchik Date: Tue Dec 27 08:51:26 2016 New Revision: 310627 URL: https://svnweb.freebsd.org/changeset/base/310627 Log: sfxge(4): do not limit driver RSS table to RSS channels max Specification of entire RSS table in the driver allows to spread traffic more equally across CPUs/RSS

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:39:11 2016 New Revision: 310677 URL: https://svnweb.freebsd.org/changeset/base/310677 Log: sfxge(4): cleanup: fix typo in siena_mac_loopback_set() instrumentation Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:40:21 2016 New Revision: 310678 URL: https://svnweb.freebsd.org/changeset/base/310678 Log: sfxge(4): cleanup: remove trailing whitespace Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/common/efx_t

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:43:04 2016 New Revision: 310679 URL: https://svnweb.freebsd.org/changeset/base/310679 Log: sfxge(4): cleanup: fix wrong indent Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:44:03 2016 New Revision: 310680 URL: https://svnweb.freebsd.org/changeset/base/310680 Log: sfxge(4): cleanup: use spaces around binary arithmetic operations Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after:

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:45:14 2016 New Revision: 310681 URL: https://svnweb.freebsd.org/changeset/base/310681 Log: sfxge(4): cleanup: remove unnecessary spaces Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified:

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:47:04 2016 New Revision: 310682 URL: https://svnweb.freebsd.org/changeset/base/310682 Log: sfxge(4): cleanup: avoid C99 // comments Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: hea

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:48:15 2016 New Revision: 310683 URL: https://svnweb.freebsd.org/changeset/base/310683 Log: sfxge(4): cleanup: pointer symbol should go together with struct member name Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC

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

2016-12-28 Thread Andrew Rybchenko
Author: arybchik Date: Wed Dec 28 10:49:41 2016 New Revision: 310684 URL: https://svnweb.freebsd.org/changeset/base/310684 Log: sfxge(4): cleanup: remove trailing whitespaces Found by DPDK checkpatch.sh Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified:

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