svn commit: r366097 - releng/12.2/sys/dev/e1000

2020-09-23 Thread Eric Joyner
Author: erj Date: Wed Sep 23 23:56:49 2020 New Revision: 366097 URL: https://svnweb.freebsd.org/changeset/base/366097 Log: MFS r365983 Contains fixes for issues in em(4)/igb(4): - Fix define and includes with RSS option enabled - Properly retain promisc flag in init PR: 2

svn commit: r365983 - stable/12/sys/dev/e1000

2020-09-21 Thread Eric Joyner
Author: erj Date: Mon Sep 21 22:52:57 2020 New Revision: 365983 URL: https://svnweb.freebsd.org/changeset/base/365983 Log: MFC r365774 and r365776 These two commits fix issues in em(4)/igb(4): - Fix define and includes with RSS option enabled - Properly retain promisc flag in init

svn commit: r365776 - head/sys/dev/e1000

2020-09-15 Thread Eric Joyner
Author: erj Date: Tue Sep 15 21:07:30 2020 New Revision: 365776 URL: https://svnweb.freebsd.org/changeset/base/365776 Log: e1000: Properly retain promisc flag From Franco: The iflib rewrite forced the promisc flag but it was not reported to the system. Noticed on a stock VM that went i

svn commit: r365774 - head/sys/dev/e1000

2020-09-15 Thread Eric Joyner
Author: erj Date: Tue Sep 15 21:00:25 2020 New Revision: 365774 URL: https://svnweb.freebsd.org/changeset/base/365774 Log: igb(4): Fix define and includes with RSS option enabled This re-adds the opt_rss.h header to the driver and includes some RSS-specific headers when RSS is defined.

svn commit: r365736 - releng/12.2/sys/dev/ixl

2020-09-14 Thread Eric Joyner
Author: erj Date: Mon Sep 14 23:49:17 2020 New Revision: 365736 URL: https://svnweb.freebsd.org/changeset/base/365736 Log: MFS r365647: ixl powerpc64 fixes PR: 249254 Approved by: re (gjb@) Modified: releng/12.2/sys/dev/ixl/i40e_prototype.h releng/12.2/sys/dev/ixl/ixl_pf_m

svn commit: r365733 - in releng/12.2: . sys/amd64/conf sys/conf sys/contrib/dev/ice sys/dev/ice sys/modules sys/modules/ice sys/modules/ice_ddp tools/kerneldoc/subsys

2020-09-14 Thread Eric Joyner
Author: erj Date: Mon Sep 14 22:42:17 2020 New Revision: 365733 URL: https://svnweb.freebsd.org/changeset/base/365733 Log: ice(4): Add Intel 100GbE Ethernet Driver to kernel This also adds the "package" file that's loaded by the device for configuration, used in the included ice_ddp kerne

svn commit: r365731 - in stable/12/sys: conf contrib/dev/ice dev/ice modules/ice_ddp

2020-09-14 Thread Eric Joyner
Author: erj Date: Mon Sep 14 21:33:11 2020 New Revision: 365731 URL: https://svnweb.freebsd.org/changeset/base/365731 Log: ice: MFC commits for update to 0.26.16 These include r365332, r365550, and r365617, which update both the ice_ddp package and the ice(4) driver itself. Relnotes:

svn commit: r365647 - stable/12/sys/dev/ixl

2020-09-11 Thread Eric Joyner
Author: erj Date: Sat Sep 12 00:22:02 2020 New Revision: 365647 URL: https://svnweb.freebsd.org/changeset/base/365647 Log: MFC r358698 and r364241 r358698: ixl: Add missing conversions from/to LE16 r364241: Remove redeclaration found by gcc build Together, these should allow ixl(4) t

svn commit: r365617 - head/sys/dev/ice

2020-09-10 Thread Eric Joyner
Author: erj Date: Thu Sep 10 23:46:13 2020 New Revision: 365617 URL: https://svnweb.freebsd.org/changeset/base/365617 Log: ice(4): Update to 0.26.16 Summary of changes: - Assorted bug fixes - Support for newer versions of the device firmware - Suspend/resume support - Support for

svn commit: r365612 - in stable/12: . sys/amd64/conf sys/conf sys/contrib/dev/ice sys/dev/ice sys/modules sys/modules/ice sys/modules/ice_ddp tools/kerneldoc/subsys

2020-09-10 Thread Eric Joyner
Author: erj Date: Thu Sep 10 20:46:16 2020 New Revision: 365612 URL: https://svnweb.freebsd.org/changeset/base/365612 Log: MFC r361541, r362038, r364240 These MFCs add the ice(4) driver to the kernel for Intel 800 Series Ethernet adapters, a couple fixes for the ice_ddp module makefile, a

svn commit: r365550 - head/sys/contrib/dev/ice

2020-09-09 Thread Eric Joyner
Author: erj Date: Thu Sep 10 04:00:13 2020 New Revision: 365550 URL: https://svnweb.freebsd.org/changeset/base/365550 Log: ice_ddp: Fix 1.3.16.0 package The version uploaded in the previous commit was far too small. This one should be the right size. MFC after:1 day Sponsored b

svn commit: r365339 - stable/12/sys/dev/ixl

2020-09-04 Thread Eric Joyner
Author: erj Date: Fri Sep 4 21:21:23 2020 New Revision: 365339 URL: https://svnweb.freebsd.org/changeset/base/365339 Log: MFC r365231: ixl(4): Add support for X710-T*L devices PR: 249058 Sponsored by: Intel Corporation Modified: stable/12/sys/dev/ixl/i40e_adminq_cmd.h stab

svn commit: r365332 - in head/sys: conf contrib/dev/ice modules/ice_ddp

2020-09-04 Thread Eric Joyner
Author: erj Date: Fri Sep 4 17:37:58 2020 New Revision: 365332 URL: https://svnweb.freebsd.org/changeset/base/365332 Log: ice_ddp: Update package file to 1.3.16.0 This package is intended to be used with ice(4) version 0.26.16. That update will happen in a forthcoming commit. MFC af

svn commit: r365231 - head/sys/dev/ixl

2020-09-01 Thread Eric Joyner
Author: erj Date: Tue Sep 1 23:16:38 2020 New Revision: 365231 URL: https://svnweb.freebsd.org/changeset/base/365231 Log: ixl(4): Add support for X710-T*L devices Add support for new devices which are capable of 2.5 and 5G speeds, as well as Energy Efficient Ethernet (EEE): - introd

svn commit: r363876 - in stable/12/sys: conf dev/ixl modules/ixl

2020-08-04 Thread Eric Joyner
Author: erj Date: Tue Aug 4 23:30:10 2020 New Revision: 363876 URL: https://svnweb.freebsd.org/changeset/base/363876 Log: MFC r361992: ixl(4): Add FW recovery mode support and other things Update the iflib version of ixl driver based on the OOT version ixl-1.11.29. Major changes:

svn commit: r363712 - in stable/12/sys: conf modules powerpc/conf

2020-07-30 Thread Eric Joyner
Author: erj Date: Thu Jul 30 19:11:01 2020 New Revision: 363712 URL: https://svnweb.freebsd.org/changeset/base/363712 Log: MFC r358908: Enable ixl device on PowerPC64 Relnotes: yes Modified: stable/12/sys/conf/files.powerpc stable/12/sys/conf/options.powerpc stable/12/sys/modules

Re: svn commit: r362063 - head/sys/dev/e1000

2020-07-30 Thread Eric Joyner
Done in r363711. I apologize for it taking so long. On Fri, Jul 24, 2020 at 8:49 PM Yoshihiro Takahashi wrote: > Please merge this change to stable/12 branch until a proper fix is > done. > > --- > Yoshihiro Takahashi > > In article <202006111559.05bfxnsa070...@repo.fr

svn commit: r363711 - stable/12/sys/dev/e1000

2020-07-30 Thread Eric Joyner
Author: erj Date: Thu Jul 30 18:31:25 2020 New Revision: 363711 URL: https://svnweb.freebsd.org/changeset/base/363711 Log: MFC r362063: em(4): Always reinit interface when adding/removing VLAN PR: 240818 Sponsored by: Intel Corporation Modified: stable/12/sys/dev/e1000/if_em.

svn commit: r362080 - stable/12/sys/dev/e1000

2020-06-11 Thread Eric Joyner
Author: erj Date: Fri Jun 12 00:42:05 2020 New Revision: 362080 URL: https://svnweb.freebsd.org/changeset/base/362080 Log: MFC r361805: em(4): Add support for Comet Lake Mobile Platform This change introduces Comet Lake Mobile Platform support in the e1000 driver along with shared code pa

svn commit: r362063 - head/sys/dev/e1000

2020-06-11 Thread Eric Joyner
Author: erj Date: Thu Jun 11 15:59:49 2020 New Revision: 362063 URL: https://svnweb.freebsd.org/changeset/base/362063 Log: em(4): Always reinit interface when adding/removing VLAN This partially reverts r361053 since there have been reports by users that this breaks some functionality for

svn commit: r361992 - in head/sys: conf dev/ixl modules/ixl

2020-06-09 Thread Eric Joyner
Author: erj Date: Tue Jun 9 22:42:54 2020 New Revision: 361992 URL: https://svnweb.freebsd.org/changeset/base/361992 Log: ixl(4): Add FW recovery mode support and other things Update the iflib version of ixl driver based on the OOT version ixl-1.11.29. Major changes: - Extract if

svn commit: r361805 - head/sys/dev/e1000

2020-06-04 Thread Eric Joyner
Author: erj Date: Thu Jun 4 20:39:28 2020 New Revision: 361805 URL: https://svnweb.freebsd.org/changeset/base/361805 Log: em(4): Add support for Comet Lake Mobile Platform, update shared code This change introduces Comet Lake Mobile Platform support in the e1000 driver along with shared

Re: svn commit: r361541 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/contrib/dev/ice sys/dev/ice sys/modules sys/modules/ice sys/modules/ice_ddp tools/kerneldoc/subsys

2020-05-26 Thread Eric Joyner
On Tue, May 26, 2020 at 5:39 PM Rodney W. Grimes wrote > That ones a bit iffy in a source released situation, what does it > mean to "reverse engineer" source code? > I don't know. Keep in mind that is the license for that binary in the directory; the actual source code for the driver (not in th

svn commit: r361541 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/contrib/dev/ice sys/dev/ice sys/modules sys/modules/ice sys/modules/ice_ddp tools/kerneldoc/subsys

2020-05-26 Thread Eric Joyner
Author: erj Date: Tue May 26 23:35:10 2020 New Revision: 361541 URL: https://svnweb.freebsd.org/changeset/base/361541 Log: ice(4): Introduce new driver for Intel E800 Ethernet controllers The ice(4) driver is the driver for the Intel E8xx series Ethernet controllers; currently with codena

svn commit: r361063 - stable/11/sys/net

2020-05-14 Thread Eric Joyner
Author: erj Date: Thu May 14 21:59:23 2020 New Revision: 361063 URL: https://svnweb.freebsd.org/changeset/base/361063 Log: Partially MFC r354344: iflib: properly release memory allocated for DMA This also removes the unused function iflib_deregister(); accidentally introduced in a previou

svn commit: r361061 - stable/11/sys/net

2020-05-14 Thread Eric Joyner
Author: erj Date: Thu May 14 21:36:59 2020 New Revision: 361061 URL: https://svnweb.freebsd.org/changeset/base/361061 Log: MFC r356310: iflib: Prevent watchdog from resetting idle queues Sponsored by: Intel Corporation Modified: stable/11/sys/net/iflib.c Directory Properties: stable/11

svn commit: r361058 - stable/11/sys/net

2020-05-14 Thread Eric Joyner
Author: erj Date: Thu May 14 20:43:44 2020 New Revision: 361058 URL: https://svnweb.freebsd.org/changeset/base/361058 Log: MFC r354207: iflib: cleanup memory leaks on driver detach Sponsored by: Intel Corporation Modified: stable/11/sys/net/iflib.c Directory Properties: stable/11/ (p

svn commit: r361057 - stable/11/sys/net

2020-05-14 Thread Eric Joyner
Author: erj Date: Thu May 14 20:23:25 2020 New Revision: 361057 URL: https://svnweb.freebsd.org/changeset/base/361057 Log: Partially MFC r353967: iflib: call ether_ifdetach and netmap_detach before stop This MFCs most of the patch except for the parts where the new iflib_unregister_vlan_

svn commit: r361055 - stable/11/sys/net

2020-05-14 Thread Eric Joyner
Author: erj Date: Thu May 14 20:07:02 2020 New Revision: 361055 URL: https://svnweb.freebsd.org/changeset/base/361055 Log: MFC r360398: iflib: Stop interface before (un)registering VLAN This is now misleadingly named for stable/11; this was meant to fix an issue in an out-of-tree iavf(4)

svn commit: r361053 - in stable/12/sys: dev/e1000 dev/ixgbe dev/ixl net

2020-05-14 Thread Eric Joyner
Author: erj Date: Thu May 14 19:56:54 2020 New Revision: 361053 URL: https://svnweb.freebsd.org/changeset/base/361053 Log: MFC r360398 and r360902 These commits introduce a new iflib device-dependent method and implements that method in the Intel ethernet network drivers; this method te

svn commit: r360902 - in head/sys/dev: e1000 ixgbe ixl

2020-05-11 Thread Eric Joyner
r the VLAN_HWFILTER interface capability flag is set or not. This could potentially solve several PRs relating to link flaps that occur when VLANs are added/removed to devices. Signed-off-by: Eric Joyner PR: 240818, 241785 Reviewed by: gallatin@, olivier@ MFC after:3

Re: svn commit: r360398 - head/sys/net

2020-04-29 Thread Eric Joyner
Hi Aleksandr, Part of this patch was to introduce a driver-dependent iflib function that would allow drivers to tell iflib whether or not to flap the interface when a vlan is registered or unregistered. I think this could be fixed for em(4) by having it implement that function to either always ret

svn commit: r360398 - head/sys/net

2020-04-27 Thread Eric Joyner
Author: erj Date: Mon Apr 27 22:02:44 2020 New Revision: 360398 URL: https://svnweb.freebsd.org/changeset/base/360398 Log: iflib: Stop interface before (un)registering VLAN This patch is intended to solve a specific problem that iavf(4) encounters, but what it does can be extended to solv

Re: svn commit: r358432 - in head/sys: kern sys vm

2020-03-04 Thread Eric Joyner
Hi Mark, Is the addition of #include in sys/sys/refcount.h actually necessary? I don't see anything in there used in refcount.h, and the kernel appears to compile without it, at least on amd64. - Eric On Fri, Feb 28, 2020 at 8:05 AM Mark Johnston wrote: > Author: markj > Date: Fri Feb 28 16:0

svn commit: r356606 - stable/12/sys/dev/ixl

2020-01-10 Thread Eric Joyner
Author: erj Date: Fri Jan 10 18:31:59 2020 New Revision: 356606 URL: https://svnweb.freebsd.org/changeset/base/356606 Log: MFC r356309: ixl: prevent non-privileged access to NVM update interface Sponsored by: Intel Corporation Modified: stable/12/sys/dev/ixl/if_ixl.c stable/12/sys/dev/

svn commit: r356605 - stable/12/sys/net

2020-01-10 Thread Eric Joyner
Author: erj Date: Fri Jan 10 18:29:05 2020 New Revision: 356605 URL: https://svnweb.freebsd.org/changeset/base/356605 Log: MFC r356310: iflib: Prevent watchdog from resetting idle queues Sponsored by: Intel Corporation Modified: stable/12/sys/net/iflib.c Directory Properties: stable/12

svn commit: r356310 - head/sys/net

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 23:35:06 2020 New Revision: 356310 URL: https://svnweb.freebsd.org/changeset/base/356310 Log: iflib: Prevent watchdog from resetting idle queues While changing link state in iflib_link_state_change(), queues are marked as IFLIB_QUEUE_IDLE to disable watchdog.

svn commit: r356309 - head/sys/dev/ixl

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 23:24:57 2020 New Revision: 356309 URL: https://svnweb.freebsd.org/changeset/base/356309 Log: ixl: prevent non-privileged access to NVM update interface Add a privilege check to the ixl_handle_nvmupd_cmd function, ensuring that only privileged users are allowe

svn commit: r356307 - stable/12/tests/sys/sys

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 23:18:43 2020 New Revision: 356307 URL: https://svnweb.freebsd.org/changeset/base/356307 Log: MFC r355055: Fix gcc build for bitstring_test by specifying "-fno-strict-overflow" Sponsored by: Intel Corporation Modified: stable/12/tests/sys/sys/Makefile Direct

svn commit: r356306 - in stable/12: share/man/man3 sys/sys tests/sys/sys

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 23:16:27 2020 New Revision: 356306 URL: https://svnweb.freebsd.org/changeset/base/356306 Log: MFC r354977: bitstring: add functions to find contiguous set/unset bit sequences This MFC also includes extra commits that improve on the original: r355032: bitstrin

svn commit: r356304 - in stable/12: sys/sys tests/sys/sys

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 23:05:48 2020 New Revision: 356304 URL: https://svnweb.freebsd.org/changeset/base/356304 Log: MFC r354975: bitstring: exit early if _start is past size of the bitstring This fixes a possible buffer read overflow. Sponsored by: Intel Corporation Modified:

svn commit: r356302 - in stable/12/sys/dev: e1000 ixgbe ixl

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 22:57:21 2020 New Revision: 356302 URL: https://svnweb.freebsd.org/changeset/base/356302 Log: MFC isc_pause_frame field fixes to Intel ethernet drivers This MFC includes: r353656, r353657, r353658, and r353661 Sponsored by: Intel Corporation Modified: st

svn commit: r356299 - stable/12/sys/net

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 22:47:10 2020 New Revision: 356299 URL: https://svnweb.freebsd.org/changeset/base/356299 Log: MFC r354344: iflib: properly release memory allocated for DMA Prevents M_DEVBUF memory from leaking due to iflib DMA allocations. Sponsored by: Intel Corporation

svn commit: r356298 - stable/12/sys/net

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 22:44:38 2020 New Revision: 356298 URL: https://svnweb.freebsd.org/changeset/base/356298 Log: MFC r354207: iflib: cleanup memory leaks on driver detach Sponsored by: Intel Corporation Modified: stable/12/sys/net/iflib.c Directory Properties: stable/12/ (p

svn commit: r356297 - stable/12/sys/net

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 22:42:18 2020 New Revision: 356297 URL: https://svnweb.freebsd.org/changeset/base/356297 Log: MFC r353967: iflib: call ether_ifdetach and netmap_detach before stop This prevents a possible page fault resulting from a race condition. Sponsored by: Intel Corp

svn commit: r356291 - in stable/12: sbin/ifconfig sys/net

2020-01-02 Thread Eric Joyner
Author: erj Date: Thu Jan 2 21:58:34 2020 New Revision: 356291 URL: https://svnweb.freebsd.org/changeset/base/356291 Log: MFC r351153: net: Update SFF-8024 definitions and strings with values from rev 4.6 This will let ifconfig -v's SFF eeprom read functionality recognize more module ty

Re: svn commit: r354977 - in head: share/man/man3 sys/sys tests/sys/sys

2019-11-21 Thread Eric Joyner
On Thu, Nov 21, 2019 at 12:07 PM Conrad Meyer wrote: > Hi Eric, > > On Thu, Nov 21, 2019 at 11:58 AM Eric Joyner wrote: > > > > Author: erj > > Date: Thu Nov 21 19:57:56 2019 > > New Revision: 354977 > > URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r354977 - in head: share/man/man3 sys/sys tests/sys/sys

2019-11-21 Thread Eric Joyner
Author: erj Date: Thu Nov 21 19:57:56 2019 New Revision: 354977 URL: https://svnweb.freebsd.org/changeset/base/354977 Log: bitstring: add functions to find contiguous set/unset bit sequences Add bit_ffs_area_at and bit_ffc_area_at functions for searching a bit string for a sequence of con

svn commit: r354975 - in head: sys/sys tests/sys/sys

2019-11-21 Thread Eric Joyner
Author: erj Date: Thu Nov 21 19:36:11 2019 New Revision: 354975 URL: https://svnweb.freebsd.org/changeset/base/354975 Log: bitstring: exit early if _start is past size of the bitstring bit_ffs_at and bit_ffc_at both take _start parameters which indicate to start searching from _start onwa

svn commit: r354345 - in head/sys: dev/usb/net net

2019-11-04 Thread Eric Joyner
Author: erj Date: Tue Nov 5 00:12:21 2019 New Revision: 354345 URL: https://svnweb.freebsd.org/changeset/base/354345 Log: net: add ETHER_IS_ZERO macro similar to ETHER_IS_BROADCAST Some places in network code may need to verify that an ethernet address is not the 'zero' address. Provide

svn commit: r354344 - head/sys/net

2019-11-04 Thread Eric Joyner
Author: erj Date: Mon Nov 4 23:06:57 2019 New Revision: 354344 URL: https://svnweb.freebsd.org/changeset/base/354344 Log: iflib: properly release memory allocated for DMA DMA memory allocations using the bus_dma.h interface are not properly released in all cases for both Tx and Rx. This

svn commit: r354343 - in head/sys/dev: e1000 oce

2019-11-04 Thread Eric Joyner
Author: erj Date: Mon Nov 4 22:57:36 2019 New Revision: 354343 URL: https://svnweb.freebsd.org/changeset/base/354343 Log: net: prefer ETHER_ADDR_LEN over ETH_ADDR_LEN A couple of drivers and one place in if.c use ETH_ADDR_LEN, even though net/ethernet.h provides an equivalent ETHER_ADDR_

svn commit: r354207 - head/sys/net

2019-10-30 Thread Eric Joyner
Author: erj Date: Wed Oct 30 20:45:12 2019 New Revision: 354207 URL: https://svnweb.freebsd.org/changeset/base/354207 Log: iflib: cleanup memory leaks on driver detach From Jake: The iflib stack failed to release all of the memory allocated under M_IFLIB during device detach. Speci

svn commit: r353967 - head/sys/net

2019-10-23 Thread Eric Joyner
Author: erj Date: Wed Oct 23 23:20:49 2019 New Revision: 353967 URL: https://svnweb.freebsd.org/changeset/base/353967 Log: iflib: call ether_ifdetach and netmap_detach before stop From Jake: Calling ether_ifdetach after iflib_stop leads to a potential race where a stale ifp pointer can

svn commit: r353669 - stable/11/sys/dev/ixgbe

2019-10-16 Thread Eric Joyner
Author: erj Date: Wed Oct 16 21:54:48 2019 New Revision: 353669 URL: https://svnweb.freebsd.org/changeset/base/353669 Log: MFC r353599 MFCs ixgbe: Disable EEE for backplane X550EM_X This prevents a possible kernel panic on X552 backplane devices. PR: 240320 Sponsored b

svn commit: r353665 - releng/12.1/sys/dev/ixgbe

2019-10-16 Thread Eric Joyner
Author: erj Date: Wed Oct 16 21:46:49 2019 New Revision: 353665 URL: https://svnweb.freebsd.org/changeset/base/353665 Log: MFC r353660: ixgbe: Disable EEE for backplane X550EM_X This prevents a kernel panic when configuring EEE on X552 devices. PR: 240320 Approved by: re@

Re: svn commit: r353658 - head/sys/dev/ixl

2019-10-16 Thread Eric Joyner
Does r353661 fix it? I didn't catch "adapter" being used, probably due to committing patches for the other drivers that do use "adapter". On Wed, Oct 16, 2019 at 10:57 AM O. Hartmann wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Am Wed, 16

svn commit: r353661 - head/sys/dev/ixl

2019-10-16 Thread Eric Joyner
Author: erj Date: Wed Oct 16 18:12:22 2019 New Revision: 353661 URL: https://svnweb.freebsd.org/changeset/base/353661 Log: Fix compile error introduced in r353658 "adapter" doesn't exist in ixl. Reported by: O. Hartmann Modified: head/sys/dev/ixl/ixl_pf_main.c Modified: head/sys/

svn commit: r353660 - stable/12/sys/dev/ixgbe

2019-10-16 Thread Eric Joyner
Author: erj Date: Wed Oct 16 17:26:24 2019 New Revision: 353660 URL: https://svnweb.freebsd.org/changeset/base/353660 Log: MFC r353599 MFCs ixgbe: Disable EEE for backplane X550EM_X This prevents a possible kernel panic on X552 backplane devices. Sponsored by: Intel Corporation M

svn commit: r353658 - head/sys/dev/ixl

2019-10-16 Thread Eric Joyner
Author: erj Date: Wed Oct 16 17:19:17 2019 New Revision: 353658 URL: https://svnweb.freebsd.org/changeset/base/353658 Log: ixl: report whether device received pause frames From Jake: When updating the device statistics, report whether or not we have received any pause frames to the ifli

svn commit: r353657 - head/sys/dev/ixgbe

2019-10-16 Thread Eric Joyner
Author: erj Date: Wed Oct 16 17:16:32 2019 New Revision: 353657 URL: https://svnweb.freebsd.org/changeset/base/353657 Log: ix: report isc_pause_frames during stat update From Jake: Notify the iflib stack of whether we received any pause frames during the timer window. This allows the st

svn commit: r353656 - head/sys/dev/e1000

2019-10-16 Thread Eric Joyner
Author: erj Date: Wed Oct 16 17:13:46 2019 New Revision: 353656 URL: https://svnweb.freebsd.org/changeset/base/353656 Log: e1000: correctly set isc_pause_frames only when XOFF increases From Jake: The e1000 driver sets the iflib shared context isc_pause_frames value to the number of rec

svn commit: r353599 - head/sys/dev/ixgbe

2019-10-15 Thread Eric Joyner
Author: erj Date: Tue Oct 15 21:56:19 2019 New Revision: 353599 URL: https://svnweb.freebsd.org/changeset/base/353599 Log: ixgbe: Disable EEE for backplane X550EM_X From Zach: Intel documentation indicates that backplane X550EM_X KR devices do not support Energy Efficient Ethernet. Prio

svn commit: r352912 - in releng/12.1/sys: dev/ixgbe net

2019-09-30 Thread Eric Joyner
Author: erj Date: Mon Sep 30 18:22:33 2019 New Revision: 352912 URL: https://svnweb.freebsd.org/changeset/base/352912 Log: MFC r352910 and r352911 MFC r352910: iflib: Remove redundant VLAN events deregistration MFC r352911: ix/ixv: Read MSI-X bar from device config These fix an issue

svn commit: r352911 - stable/12/sys/dev/ixgbe

2019-09-30 Thread Eric Joyner
Author: erj Date: Mon Sep 30 17:36:49 2019 New Revision: 352911 URL: https://svnweb.freebsd.org/changeset/base/352911 Log: MFC r352656: ix/ixv: Read MSI-X bar from device config This fixes an issue with some HP-branded Intel 10G cards not being able to use MSI-X. Sponsored by: Intel

svn commit: r352910 - stable/12/sys/net

2019-09-30 Thread Eric Joyner
Author: erj Date: Mon Sep 30 17:34:25 2019 New Revision: 352910 URL: https://svnweb.freebsd.org/changeset/base/352910 Log: MFC r352655: iflib: Remove redundant VLAN events deregistration This fixes a kernel panic that can occur when unloading an iflib-using driver. Sponsored by: Intel

svn commit: r352656 - head/sys/dev/ixgbe

2019-09-24 Thread Eric Joyner
Author: erj Date: Tue Sep 24 17:06:32 2019 New Revision: 352656 URL: https://svnweb.freebsd.org/changeset/base/352656 Log: ix, ixv: Read msix_bar from device configuration Instead of predicting the MSI-X bar index based on the device's MAC type, read it from the device's PCI configuration

svn commit: r352655 - head/sys/net

2019-09-24 Thread Eric Joyner
Author: erj Date: Tue Sep 24 17:03:31 2019 New Revision: 352655 URL: https://svnweb.freebsd.org/changeset/base/352655 Log: iflib: Remove redundant VLAN events deregistration From Piotr: r351152 introduced iflib_deregister() function calling EVENTHANDLER_DEREGISTER() to unregister VLAN e

svn commit: r352091 - stable/11/sys/net

2019-09-09 Thread Eric Joyner
Author: erj Date: Mon Sep 9 18:07:31 2019 New Revision: 352091 URL: https://svnweb.freebsd.org/changeset/base/352091 Log: iflib: initialize the STATE_LOCK in iflib_register From Jake: r347197 contained an MFC for r332389, adding the STATE_LOCK to the iflib core driver. Unfortunately, t

svn commit: r346338 - in stable/12: share/man/man9 sys/net sys/sys

2019-09-03 Thread Eric Joyner
Author: erj Date: Wed Apr 17 23:09:06 2019 New Revision: 346338 URL: https://svnweb.freebsd.org/changeset/base/346338 Log: MFC r345312 iflib: mark isc_driver_version as constant From Jake: The iflib core never modifies the isc_driver_version string. Allow drivers to safely assign p

svn commit: r346335 - stable/12/sys/dev/ixgbe

2019-09-03 Thread Eric Joyner
Author: erj Date: Wed Apr 17 22:41:27 2019 New Revision: 346335 URL: https://svnweb.freebsd.org/changeset/base/346335 Log: MFC r344643 and r345306 Includes two ixgbe/ixv fixes: ixgbe(4): Fix panic triggered by assertion from interrupt ixv(4): Add missing IFLIB_IS_VF flag in iflib shared

svn commit: r346337 - in stable/12/sys: dev/e1000 dev/ixgbe dev/ixl net sys

2019-09-03 Thread Eric Joyner
Author: erj Date: Wed Apr 17 23:02:37 2019 New Revision: 346337 URL: https://svnweb.freebsd.org/changeset/base/346337 Log: MFC r345303, r345305, r345657, r345658 Includes: - iflib: prevent possible infinite loop in iflib_encap - iflib: expose the Rx mbuf buffer size to drivers - iflib

svn commit: r346336 - in stable/12/sys: dev/e1000 net

2019-09-03 Thread Eric Joyner
Author: erj Date: Wed Apr 17 22:45:19 2019 New Revision: 346336 URL: https://svnweb.freebsd.org/changeset/base/346336 Log: MFC r344817 Remove references to CONTIGMALLOC_WORKS in iflib and em From Jake: "The iflib_fl_setup() function tries to pick various buffer sizes based on the m

svn commit: r345657 - head/sys/net

2019-09-03 Thread Eric Joyner
Author: erj Date: Thu Mar 28 20:43:47 2019 New Revision: 345657 URL: https://svnweb.freebsd.org/changeset/base/345657 Log: iflib: hold the CTX lock in iflib_pseudo_register From Jake: The iflib_device_register function takes the CTX lock before calling IFDI_ATTACH_PRE, and releases it u

svn commit: r345658 - head/sys/net

2019-09-03 Thread Eric Joyner
Author: erj Date: Thu Mar 28 20:46:45 2019 New Revision: 345658 URL: https://svnweb.freebsd.org/changeset/base/345658 Log: iflib: return ENETDOWN when the network device is down From Jake: iflib_if_transmit returns ENOBUFS when the device is down, or when the link isn't active. Thi

svn commit: r351627 - stable/12/sys/sys

2019-08-30 Thread Eric Joyner
Author: erj Date: Fri Aug 30 17:36:45 2019 New Revision: 351627 URL: https://svnweb.freebsd.org/changeset/base/351627 Log: Bump __FreeBSD_version number for changes made in r351276 Sponsored by: Intel Corporation Modified: stable/12/sys/sys/param.h Modified: stable/12/sys/sys/param.h ==

svn commit: r351276 - stable/12/sys/net

2019-08-20 Thread Eric Joyner
Author: erj Date: Tue Aug 20 20:15:32 2019 New Revision: 351276 URL: https://svnweb.freebsd.org/changeset/base/351276 Log: MFC various iflib fixes from head Included revisions: r347418 - iflib: use default ntxd and rxd when user value is not power of 2 r348372 - iflib: provide probe wra

svn commit: r351153 - in head: sbin/ifconfig sys/net

2019-08-16 Thread Eric Joyner
types. Signed-off-by: Eric Joyner Reviewed by: gallatin@ MFC after:1 week Sponsored by: Intel Corporation Differential Revision:https://reviews.freebsd.org/D21041 Modified: head/sbin/ifconfig/sfp.c head/sys/net/sff8472.h Modified: head/sbin/ifconfig/

svn commit: r351152 - head/sys/net

2019-08-16 Thread Eric Joyner
Author: erj Date: Fri Aug 16 23:33:44 2019 New Revision: 351152 URL: https://svnweb.freebsd.org/changeset/base/351152 Log: iflib: add iflib_deregister to help cleanup on exit Commit message by Jake: The iflib_register function exists to allocate and setup some common structures used by

svn commit: r350509 - head/sys/net

2019-08-01 Thread Eric Joyner
the admin task to prevent panics when other iflib drivers unload. This whole interrupt allocation process actually needs re-doing to properly support devices with only a single MSI-X interrupt, devices that only support MSI-X, non-PCI devices, and multiple non-MSIX interrupts, as well.

svn commit: r350507 - head/sys/net

2019-08-01 Thread Eric Joyner
Author: erj Date: Thu Aug 1 17:28:36 2019 New Revision: 350507 URL: https://svnweb.freebsd.org/changeset/base/350507 Log: iflib: remove kobject class reference increment Commit message from Jake: In iflib_register, the context is initialized as a kobject using the device driver's "driv

svn commit: r350306 - head/sys/net

2019-07-24 Thread Eric Joyner
Author: erj Date: Wed Jul 24 21:43:41 2019 New Revision: 350306 URL: https://svnweb.freebsd.org/changeset/base/350306 Log: iflib: fix dangling device softc pointer Commit text by Jake: If a driver's IFDI_ATTACH_PRE function fails, the iflib_device_register function will free the ctx poi

svn commit: r350253 - head/sys/dev/ixgbe

2019-07-23 Thread Eric Joyner
Author: erj Date: Tue Jul 23 18:14:32 2019 New Revision: 350253 URL: https://svnweb.freebsd.org/changeset/base/350253 Log: ixgbe(4): Fix enabling/disabling and reconfiguration of queues - Wrong order of casting and bit shift caused that enabling and disabling queues didn't work properly

svn commit: r349181 - releng/11.3/sys/dev/ixl

2019-06-18 Thread Eric Joyner
Author: erj Date: Wed Jun 19 00:37:54 2019 New Revision: 349181 URL: https://svnweb.freebsd.org/changeset/base/349181 Log: MFS r349163: ixl(4)/ixlv(4): Update Intel XL710 PF and VF drivers to ixl-1.11.9 and ixlv-1.5.8 Update the legacy (non-iflib) drivers in stable/11 with recent changes f

svn commit: r349163 - stable/11/sys/dev/ixl

2019-06-17 Thread Eric Joyner
Author: erj Date: Tue Jun 18 00:08:02 2019 New Revision: 349163 URL: https://svnweb.freebsd.org/changeset/base/349163 Log: ixl(4)/ixlv(4): Update Intel XL710 PF and VF drivers to ixl-1.11.9 and ixlv-1.5.8 Update the legacy (non-iflib) drivers in stable/11 with recent changes from the In

svn commit: r348372 - head/sys/net

2019-05-29 Thread Eric Joyner
Author: erj Date: Wed May 29 22:24:10 2019 New Revision: 348372 URL: https://svnweb.freebsd.org/changeset/base/348372 Log: iflib: provide probe wrapper for vendor drivers From Jake: Vendor drivers that exist out-of-tree generally should return BUS_PROBE_VENDOR from their device probe fu

svn commit: r347419 - stable/11/sys/dev/ixgbe

2019-05-09 Thread Eric Joyner
Author: erj Date: Fri May 10 00:46:43 2019 New Revision: 347419 URL: https://svnweb.freebsd.org/changeset/base/347419 Log: ix(4): Move {mod,msf,mbx,fdir,phy,link}_task to lock protected handler This patch introduces adapter->task_requests register responsible for recording requests for m

svn commit: r347418 - head/sys/net

2019-05-09 Thread Eric Joyner
Author: erj Date: Fri May 10 00:41:42 2019 New Revision: 347418 URL: https://svnweb.freebsd.org/changeset/base/347418 Log: iflib: use default ntxd and nrxd when user value is not power of 2 From Jake: A user may set a sysctl to override the default number of Tx or Rx descriptors. Howeve

svn commit: r347373 - stable/11/sys/net

2019-05-08 Thread Eric Joyner
Author: erj Date: Wed May 8 23:13:27 2019 New Revision: 347373 URL: https://svnweb.freebsd.org/changeset/base/347373 Log: iflib: Add missing return statement that was left out from r347197 Modified: stable/11/sys/net/iflib.c Modified: stable/11/sys/net/iflib.c ==

svn commit: r347213 - in stable/11: share/man/man9 sys/net sys/sys

2019-05-06 Thread Eric Joyner
Author: erj Date: Mon May 6 21:31:02 2019 New Revision: 347213 URL: https://svnweb.freebsd.org/changeset/base/347213 Log: MFC r345312: iflib: mark isc_driver_version as constant (Additional comment by erj: This also adds a new sysctl_add_oid macro, SYSCTL_ADD_CONST_STRING, for displaying

svn commit: r347212 - in stable/11/sys: net sys

2019-05-06 Thread Eric Joyner
Author: erj Date: Mon May 6 21:21:15 2019 New Revision: 347212 URL: https://svnweb.freebsd.org/changeset/base/347212 Log: MFC r345303, 345658, and partially MFC r345305 These are: r345303: prevent possible infinite loop in iflib_encap r345305: expose the Rx mbuf buffer size to drivers

svn commit: r347210 - in stable/11/sys: dev/e1000 net

2019-05-06 Thread Eric Joyner
Author: erj Date: Mon May 6 20:48:27 2019 New Revision: 347210 URL: https://svnweb.freebsd.org/changeset/base/347210 Log: MFC r344817: Remove references to CONTIGMALLOC_WORKS in iflib and em Sponsored by: Intel Corporation Modified: stable/11/sys/dev/e1000/if_em.c stable/11/sys/net/if

svn commit: r347208 - stable/11/sys/net

2019-05-06 Thread Eric Joyner
Author: erj Date: Mon May 6 20:41:56 2019 New Revision: 347208 URL: https://svnweb.freebsd.org/changeset/base/347208 Log: MFC r340435: Prevent POLA violation with TSO/CSUM offload Sponsored by: Intel Corporation Modified: stable/11/sys/net/iflib.c Directory Properties: stable/11/ (p

svn commit: r347197 - stable/11/sys/net

2019-05-06 Thread Eric Joyner
Author: erj Date: Mon May 6 18:50:08 2019 New Revision: 347197 URL: https://svnweb.freebsd.org/changeset/base/347197 Log: MFC r332389, r3342331, r334343, and partially r339338 This commit backports some new features from iflib in 12 back to stable/11: r332389 - Split out flag manipula

svn commit: r346338 - in stable/12: share/man/man9 sys/net sys/sys

2019-04-17 Thread Eric Joyner
Author: erj Date: Wed Apr 17 23:09:06 2019 New Revision: 346338 URL: https://svnweb.freebsd.org/changeset/base/346338 Log: MFC r345312 iflib: mark isc_driver_version as constant From Jake: The iflib core never modifies the isc_driver_version string. Allow drivers to safely assign p

svn commit: r346337 - in stable/12/sys: dev/e1000 dev/ixgbe dev/ixl net sys

2019-04-17 Thread Eric Joyner
Author: erj Date: Wed Apr 17 23:02:37 2019 New Revision: 346337 URL: https://svnweb.freebsd.org/changeset/base/346337 Log: MFC r345303, r345305, r345657, r345658 Includes: - iflib: prevent possible infinite loop in iflib_encap - iflib: expose the Rx mbuf buffer size to drivers - iflib

svn commit: r346336 - in stable/12/sys: dev/e1000 net

2019-04-17 Thread Eric Joyner
Author: erj Date: Wed Apr 17 22:45:19 2019 New Revision: 346336 URL: https://svnweb.freebsd.org/changeset/base/346336 Log: MFC r344817 Remove references to CONTIGMALLOC_WORKS in iflib and em From Jake: "The iflib_fl_setup() function tries to pick various buffer sizes based on the m

svn commit: r346335 - stable/12/sys/dev/ixgbe

2019-04-17 Thread Eric Joyner
Author: erj Date: Wed Apr 17 22:41:27 2019 New Revision: 346335 URL: https://svnweb.freebsd.org/changeset/base/346335 Log: MFC r344643 and r345306 Includes two ixgbe/ixv fixes: ixgbe(4): Fix panic triggered by assertion from interrupt ixv(4): Add missing IFLIB_IS_VF flag in iflib shared

svn commit: r345658 - head/sys/net

2019-03-28 Thread Eric Joyner
Author: erj Date: Thu Mar 28 20:46:45 2019 New Revision: 345658 URL: https://svnweb.freebsd.org/changeset/base/345658 Log: iflib: return ENETDOWN when the network device is down From Jake: iflib_if_transmit returns ENOBUFS when the device is down, or when the link isn't active. Thi

svn commit: r345657 - head/sys/net

2019-03-28 Thread Eric Joyner
Author: erj Date: Thu Mar 28 20:43:47 2019 New Revision: 345657 URL: https://svnweb.freebsd.org/changeset/base/345657 Log: iflib: hold the CTX lock in iflib_pseudo_register From Jake: The iflib_device_register function takes the CTX lock before calling IFDI_ATTACH_PRE, and releases it u

  1   2   3   >