svn commit: r334231 - head/sys/net

2018-05-25 Thread Eric Joyner
Author: erj Date: Sat May 26 00:46:08 2018 New Revision: 334231 URL: https://svnweb.freebsd.org/changeset/base/334231 Log: iflib: Add new shared flag: IFLIB_ADMIN_ALWAYS_RUN ixl(4)'s nvmupdate utility expects the nvmupdate process to run while the interface is down; these nvm update comma

svn commit: r334779 - head/sys/net

2018-06-07 Thread Eric Joyner
Author: erj Date: Thu Jun 7 13:03:07 2018 New Revision: 334779 URL: https://svnweb.freebsd.org/changeset/base/334779 Log: iflib: Record TCP checksum info in iflib when TCP checksum is requested ixl(4) (when it switches over to using iflib) devices need the TCP header length in order to d

svn commit: r335322 - head/sys/net

2018-06-18 Thread Eric Joyner
Author: erj Date: Mon Jun 18 17:27:43 2018 New Revision: 335322 URL: https://svnweb.freebsd.org/changeset/base/335322 Log: iflib: Style fixes MFC after:1 week Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c ==

svn commit: r335338 - in head/sys: amd64/conf conf dev/ixl modules modules/ixl modules/ixlv

2018-06-18 Thread Eric Joyner
Author: erj Date: Mon Jun 18 20:12:54 2018 New Revision: 335338 URL: https://svnweb.freebsd.org/changeset/base/335338 Log: ixl(4): Update to use iflib Update the driver to use iflib in order to bring performance, maintainability, and (hopefully) stability benefits to the driver. The

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

2018-06-18 Thread Eric Joyner
Author: erj Date: Mon Jun 18 20:32:53 2018 New Revision: 335339 URL: https://svnweb.freebsd.org/changeset/base/335339 Log: ixl(4): Update version number to 2.0.0-k And update copyrights to current year. MFC after:1 month Sponsored by: Intel Corporation Modified: head/sys/dev/i

Re: svn commit: r335338 - in head/sys: amd64/conf conf dev/ixl modules modules/ixl modules/ixlv

2018-06-18 Thread Eric Joyner
e->rxr; > + > vqpi->txq.vsi_id = vqci->vsi_id; > vqpi->txq.queue_id = i; > +vqpi->txq.ring_len = scctx->isc_ntxd[0]; > +vqpi->txq.dma_ring_addr = txr->tx_paddr; > > On Mon, Jun 18, 2018 at 1:12 PM, Eric Joyner wrote: >

svn commit: r335358 - head/sys/conf

2018-06-18 Thread Eric Joyner
Author: erj Date: Tue Jun 19 03:11:09 2018 New Revision: 335358 URL: https://svnweb.freebsd.org/changeset/base/335358 Log: ixl(4): Remove ixlvc.c from files.amd64 ixlvc.c is only used by the VF driver (ixlv), and that driver currently doesn't work. It will be re-added once the VF driv

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

2018-06-20 Thread Eric Joyner
Author: erj Date: Wed Jun 20 22:16:46 2018 New Revision: 335462 URL: https://svnweb.freebsd.org/changeset/base/335462 Log: ixl(4): Fix gcc build errors By removing redundant function declarations. Reported by: ci.freebsd.org via Mark Millard MFC after:1 month Modified: head/

Re: svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-05 Thread Eric Joyner
I got told by a co-worker that this broke buildworld. Can this commit get reverted/have the cast fixed? - Eric (erj) On Tue, Dec 5, 2017 at 9:50 AM Cy Schubert wrote: > Our sed already creates backup files "optionally" just as gsed does. Only > the syntax is different. No need to sponge sed, ju

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

2017-12-05 Thread Eric Joyner
Author: erj Date: Tue Dec 5 18:42:07 2017 New Revision: 326571 URL: https://svnweb.freebsd.org/changeset/base/326571 Log: ifconfig(8): Display extended compliance code string for SFP transceivers - Updates tables in affected files with new entries from newer spec revisions of SFF-8472, S

svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Eric Joyner
Author: erj Date: Wed Dec 20 18:15:06 2017 New Revision: 327031 URL: https://svnweb.freebsd.org/changeset/base/327031 Log: ixgbe(4): Convert driver to use iflib Initial update to the ixgbe PF and VF drivers to support the iflib interface. The PF driver version is bumped to 4.0.0, and t

Re: svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Eric Joyner
On Wed, Dec 20, 2017 at 11:32 AM Mark Johnston wrote: > On Wed, Dec 20, 2017 at 06:15:06PM +0000, Eric Joyner wrote: > > Author: erj > > Date: Wed Dec 20 18:15:06 2017 > > New Revision: 327031 > > URL: https://svnweb.freebsd.org/changeset/base/327031 > > > &

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

2017-12-20 Thread Eric Joyner
Author: erj Date: Thu Dec 21 00:35:14 2017 New Revision: 327051 URL: https://svnweb.freebsd.org/changeset/base/327051 Log: ixgbe(4): Fix build error on i386. Reported by: markj Modified: head/sys/dev/ixgbe/if_ixv.c Modified: head/sys/dev/ixgbe/if_ixv.c =

Re: svn commit: r327031 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-12-20 Thread Eric Joyner
On Wed, Dec 20, 2017 at 12:02 PM Ian Lepore wrote: > On Wed, 2017-12-20 at 19:47 +0000, Eric Joyner wrote: > > On Wed, Dec 20, 2017 at 11:32 AM Mark Johnston > wrote: > > > > > > > > On Wed, Dec 20, 2017 at 06:15:06PM +, Eric Joyner wrote: > > >

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

2018-01-11 Thread Eric Joyner
Author: erj Date: Thu Jan 11 19:24:51 2018 New Revision: 327842 URL: https://svnweb.freebsd.org/changeset/base/327842 Log: e1000: Fix typos in value written to register and a comment The value written to E1000_TARC(0) wasn't intended to have every bit but E1000_TARC0_CB_MULTIQ_3_REQ clear

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

2018-01-22 Thread Eric Joyner
Author: erj Date: Mon Jan 22 20:56:21 2018 New Revision: 328265 URL: https://svnweb.freebsd.org/changeset/base/328265 Log: ixv(4): Stop setting editing ifnet flags in ixv_if_init() In iflib, the device-specific init() function isn't supposed to edit the struct ifnet driver flags. If it do

Re: svn commit: r332735 - head/sys/x86/x86

2018-04-19 Thread Eric Joyner
Is the limit going to be increased at some point? Is there a true limit somewhere? On Wed, Apr 18, 2018 at 11:45 AM, John Baldwin wrote: > Author: jhb > Date: Wed Apr 18 18:45:34 2018 > New Revision: 332735 > URL: https://svnweb.freebsd.org/changeset/base/332735 > > Log: > Fix two off-by-one e

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

2018-05-01 Thread Eric Joyner
Author: erj Date: Tue May 1 18:50:12 2018 New Revision: 333149 URL: https://svnweb.freebsd.org/changeset/base/333149 Log: ixl(4): Update to 1.9.9-k Refresh upstream driver before impending conversion to iflib. Major changes: - Support for descriptor writeback mode (required by ix

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

2017-06-10 Thread Eric Joyner
Author: erj Date: Sat Jun 10 18:56:30 2017 New Revision: 319797 URL: https://svnweb.freebsd.org/changeset/base/319797 Log: ixl(4)/ixlv(4): Fix some busdma tags and improper map NULL. Description from Brett: "The busdma tags used to create mappings for the tx and rx rings did not have

svn commit: r320688 - in head/sys: conf dev/ixgbe modules/ix modules/ixv

2017-07-05 Thread Eric Joyner
Author: erj Date: Wed Jul 5 17:27:03 2017 New Revision: 320688 URL: https://svnweb.freebsd.org/changeset/base/320688 Log: ixgbe(4): Update HEAD (p3) to 3.2.12-k Includes: - Support for X550EM devices. - Support for Bypass adapters. - Flow Director code moved to separate files -

Re: svn commit: r320916 - head/sys/dev/ixgbe

2017-07-13 Thread Eric Joyner
Yeah -- I wanted to leave it as-is in head, but revert it to the previous name in the stable branches. On Wed, Jul 12, 2017 at 4:49 PM Ngie Cooper wrote: > On Wed, Jul 12, 2017 at 10:35 AM, Sean Bruno wrote: > > Author: sbruno > > Date: Wed Jul 12 17:35:32 2017 > > New Revision: 320916 > > URL:

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

2017-07-13 Thread Eric Joyner
Author: erj Date: Thu Jul 13 22:12:41 2017 New Revision: 320972 URL: https://svnweb.freebsd.org/changeset/base/320972 Log: ixl(4)/ixlv(4): Stop leaking every busdma entry in receive path From Brett: In short, busdma maps for received packets were not being unloaded in the interrupt h

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

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

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

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

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

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

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

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: r336223 - head/sys/dev/ixl

2018-07-12 Thread Eric Joyner
Author: erj Date: Thu Jul 12 17:42:36 2018 New Revision: 336223 URL: https://svnweb.freebsd.org/changeset/base/336223 Log: ixl(4): Set baudrate on link up using proper link_speed variable And remove old, now-completely unused link_speed variable. Reported by: Jacob Keller MFC after

svn commit: r345303 - head/sys/net

2019-03-19 Thread Eric Joyner
Author: erj Date: Tue Mar 19 17:49:03 2019 New Revision: 345303 URL: https://svnweb.freebsd.org/changeset/base/345303 Log: iflib: prevent possible infinite loop in iflib_encap From Jake: iflib_encap calls bus_dmamap_load_mbuf_sg. Upon it returning EFBIG, an m_collapse and an m_defrag ar

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

2019-03-19 Thread Eric Joyner
Author: erj Date: Tue Mar 19 17:59:56 2019 New Revision: 345305 URL: https://svnweb.freebsd.org/changeset/base/345305 Log: iflib: expose the Rx mbuf buffer size to drivers From Jake: iflib_fl_setup calculates a suitable buffer size for the Rx mbufs based on the isc_max_frame_size value

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

2019-03-19 Thread Eric Joyner
Author: erj Date: Tue Mar 19 18:07:44 2019 New Revision: 345306 URL: https://svnweb.freebsd.org/changeset/base/345306 Log: ixv(4): Add missing IFLIB_IS_VF flag in iflib shared ctx From Krzysztof: The driver built as KLD cannot be unloaded, if this flag is not set. Submitted by: Krzys

svn commit: r345312 - in head: share/man/man9 sys/net sys/sys

2019-03-19 Thread Eric Joyner
Author: erj Date: Tue Mar 19 23:44:26 2019 New Revision: 345312 URL: https://svnweb.freebsd.org/changeset/base/345312 Log: iflib: mark isc_driver_version as constant From Jake: The iflib core never modifies the isc_driver_version string. Allow drivers to safely assign pointers to consta

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

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: 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: r318147 - head/sys/net

2017-05-10 Thread Eric Joyner
Author: erj Date: Wed May 10 18:33:40 2017 New Revision: 318147 URL: https://svnweb.freebsd.org/changeset/base/318147 Log: Add several new media types to if_media.h These include several 25G types (for active direct attach cables and LR modules), and a missing type for 10G active direct

svn commit: r338208 - head/sys/net

2018-08-22 Thread Eric Joyner
Author: erj Date: Wed Aug 22 18:19:56 2018 New Revision: 338208 URL: https://svnweb.freebsd.org/changeset/base/338208 Log: if_media: Add new 2.5G/5G/25G/40G/50G/100G/200G/400G media types Upcoming Ethernet hardware will support new media types that aren't in the kernel yet, so they are a

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

2018-09-11 Thread Eric Joyner
Author: erj Date: Tue Sep 11 18:33:43 2018 New Revision: 338593 URL: https://svnweb.freebsd.org/changeset/base/338593 Log: ix(4), ixv(4): VLAN tag stripping fixes for Amazon EC2 Enhanced Networking From Piotr: ix(4), ixv(4): Add VLAN tag strip check when receiving packets ixv(4): Fix

svn commit: r339338 - in head/sys: amd64/conf conf dev/ixl modules modules/iavf modules/ixl modules/ixlv net

2018-10-12 Thread Eric Joyner
Author: erj Date: Fri Oct 12 22:40:54 2018 New Revision: 339338 URL: https://svnweb.freebsd.org/changeset/base/339338 Log: ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) Finishes the conversion of the 40Gb Intel Ethernet drivers to iflib(9) for FreeBSD 12.0, and fixes nume

svn commit: r339340 - head/share/man/man4

2018-10-12 Thread Eric Joyner
orted adapter, +email all the specific information related to the issue to +.Mt free...@intel.com . +.Sh SEE ALSO +.Xr arp 4 , +.Xr ixl 4 , +.Xr netintro 4 , +.Xr vlan 4 , +.Xr ifconfig 8 , +.Xr iflib 9 +.Sh HISTORY +The +.Nm +device driver first appeared in +.Fx 10.1 . +under the name &quo

svn commit: r339354 - in head/sys/dev: e1000 ixgbe

2018-10-14 Thread Eric Joyner
Author: erj Date: Sun Oct 14 05:09:43 2018 New Revision: 339354 URL: https://svnweb.freebsd.org/changeset/base/339354 Log: em/igb/ix(4): Port two Tx/Rx fixes made to ixl in r339338 - Fix assert/panic on receive when Jumbo Frames are enabled. From the commit I made to ixl: "It turns o

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

2018-10-15 Thread Eric Joyner
Author: erj Date: Mon Oct 15 17:23:41 2018 New Revision: 339362 URL: https://svnweb.freebsd.org/changeset/base/339362 Log: iavf(4): Finish rename/rebrand internally Rename functions and variables from ixlv to iavf to match the user-facing name change. There shouldn't be any functional cha

svn commit: r339634 - in head/sys: kern net

2018-10-22 Thread Eric Joyner
Author: erj Date: Tue Oct 23 04:37:29 2018 New Revision: 339634 URL: https://svnweb.freebsd.org/changeset/base/339634 Log: iflib: drain enqueued tasks before detaching from taskqgroup The taskqgroup_detach function does not check if task is already enqueued when detaching it. This may lea

svn commit: r339662 - in head/sys: kern net

2018-10-23 Thread Eric Joyner
Author: erj Date: Tue Oct 23 17:06:36 2018 New Revision: 339662 URL: https://svnweb.freebsd.org/changeset/base/339662 Log: Revert r339634. That commit is causing kernel panics in em(4), so this will be reverted until those are fixed. Reported by: ae@, pho@, et al Sponsored by: Int

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

2018-11-01 Thread Eric Joyner
Author: erj Date: Thu Nov 1 17:29:14 2018 New Revision: 340010 URL: https://svnweb.freebsd.org/changeset/base/340010 Log: ixl/iavf(4): Update remaining references of "num_queues" to "num_rx_queues" This should fix a build issue when "options RSS" is set. Reported by: bz@ Sponsored

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

2018-03-19 Thread Eric Joyner
Author: erj Date: Mon Mar 19 20:55:05 2018 New Revision: 331224 URL: https://svnweb.freebsd.org/changeset/base/331224 Log: ixgbe(4): Update shared code, add support for X552 1G, fix bug This patch will: - Update ixgbe shared code - Add support for Intel(R) Ethernet Connection X552 10

svn commit: r305168 - in head/sys/dev: ixl netmap

2016-08-31 Thread Eric Joyner
Author: erj Date: Thu Sep 1 01:08:18 2016 New Revision: 305168 URL: https://svnweb.freebsd.org/changeset/base/305168 Log: Fix linker warnings (errors on gcc) that resulted from r304510. The variables that are extern in the netmap header file should be defined in ixl_txrx.c (the file that

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

2016-08-31 Thread Eric Joyner
It's weird that the gcc message is mentioning "ixlv_media_change", but I'll do something about it shortly. On Wed, Aug 31, 2016 at 2:16 PM Dimitry Andric wrote: > On 31 Aug 2016, at 18:53, Ed Maste wrote: > > > > On 19 August 2016 at 20:08, Eric Joyner wro

svn commit: r313497 - in head/sys: amd64/conf conf dev/ixl modules/ixl modules/ixlv

2017-02-09 Thread Eric Joyner
Author: erj Date: Fri Feb 10 01:04:11 2017 New Revision: 313497 URL: https://svnweb.freebsd.org/changeset/base/313497 Log: ixl(4): Update to 1.7.12-k Refresh upstream driver before impending conversion to iflib. Major new features: - Support for Fortville-based 25G adapters - Su

svn commit: r321802 - head/usr.bin/calendar/calendars

2017-07-31 Thread Eric Joyner
+309,7 @@ 09/05 Mark Robert Vaughan Murray born in Harare, Mashonaland, Zimbabwe, 1961 09/05 Adrian Harold Chadd born in Perth, Western Australia, Australia, 1979 09/05 Rodrigo Osorio born in Montevideo, Uruguay, 1975 +09/06 Eric Joyner born in Fairfax, Virginia, United States, 1991 09/07

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

2017-08-24 Thread Eric Joyner
Author: erj Date: Thu Aug 24 22:56:22 2017 New Revision: 322865 URL: https://svnweb.freebsd.org/changeset/base/322865 Log: ixv(4): Add more robust mailbox API negotiation The previous update to the driver to 3.2.12-k changed the VF's API version to 1.2, but did not let the VF fall back to

Re: svn commit: r339338 - in head/sys: amd64/conf conf dev/ixl modules modules/iavf modules/ixl modules/ixlv net

2018-11-05 Thread Eric Joyner
I think this should be fixed as of several days ago. - Eric On Wed, Oct 24, 2018, 7:10 AM Bjoern A. Zeeb On 12 Oct 2018, at 22:40, Eric Joyner wrote: > > > Author: erj > > Date: Fri Oct 12 22:40:54 2018 > > New Revision: 339338 > > URL: https://svnweb.freebs

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

2018-11-08 Thread Eric Joyner
Author: erj Date: Thu Nov 8 19:10:43 2018 New Revision: 340256 URL: https://svnweb.freebsd.org/changeset/base/340256 Log: ixl/iavf(4): Fix TSO offloads when TXCSUM is disabled From Jake: The iflib stack does not disable TSO automatically when TXCSUM is disabled, instead assuming that t

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

2019-01-23 Thread Eric Joyner
Author: erj Date: Thu Jan 24 01:03:00 2019 New Revision: 343369 URL: https://svnweb.freebsd.org/changeset/base/343369 Log: intel iflib drivers: correct initialization of tx_cidx_processed From Jake: In r341156 ("Fix first-packet completion", 2018-11-28) a hack to work around a delta

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

2019-01-23 Thread Eric Joyner
Author: erj Date: Thu Jan 24 01:08:37 2019 New Revision: 343372 URL: https://svnweb.freebsd.org/changeset/base/343372 Log: ixl(4): Fix handling data passed with ioctl from NVM update tool From Krzysztof: Ensure that the entire data buffer passed from the NVM update tool is copied in

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

2019-01-31 Thread Eric Joyner
Author: erj Date: Thu Jan 31 21:44:33 2019 New Revision: 343621 URL: https://svnweb.freebsd.org/changeset/base/343621 Log: ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status From Piotr: This patch introduces adapter->task_requests register responsible for recording requ

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

2019-01-31 Thread Eric Joyner
Author: erj Date: Thu Jan 31 21:53:03 2019 New Revision: 343622 URL: https://svnweb.freebsd.org/changeset/base/343622 Log: ix(4),ixv(4): Fix TSO offloads when TXCSUM is disabled This patch and commit message are based on r340256 created by Jacob Keller: The iflib stack does not disable

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

2019-02-14 Thread Eric Joyner
Author: erj Date: Thu Feb 14 18:02:37 2019 New Revision: 344132 URL: https://svnweb.freebsd.org/changeset/base/344132 Log: ixl: Fix panic caused by bug exposed by r344062 Don't use a struct if_irq for IFLIB_INTR_IOV type interrupts since that results in get_core_offset() being called on

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

2019-02-15 Thread Eric Joyner
I thought the same thing that John wrote -- I only need re@ approval for MFC's during the release process. I know it's unusually fast to have an MFC period of 1 day, but this change could fix a kernel panic when r344062 is MFC'd and doesn't result in a functional change to the driver, so I didn't

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

2019-02-27 Thread Eric Joyner
Author: erj Date: Wed Feb 27 22:26:18 2019 New Revision: 344643 URL: https://svnweb.freebsd.org/changeset/base/344643 Log: ixgbe(4): Fix panic triggered by assertion from interrupt r344162 exposed a bug in one of ixgbe's interrupt filters; they are never supposed to return 0. Fix the inte

svn commit: r344817 - in head/sys: dev/e1000 net

2019-03-05 Thread Eric Joyner
Author: erj Date: Tue Mar 5 19:12:51 2019 New Revision: 344817 URL: https://svnweb.freebsd.org/changeset/base/344817 Log: 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 max_frame_size val

Re: svn commit: r344817 - in head/sys: dev/e1000 net

2019-03-05 Thread Eric Joyner
; long up times and full 9k jumbo's. > > > Thanks, > Rod > > > -M > > > > On Tue, Mar 5, 2019 at 11:13 AM Eric Joyner wrote: > > > > > > Author: erj > > > Date: Tue Mar 5 19:12:51 2019 > > > New Revision: 344817 >

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

2015-04-01 Thread Eric Joyner
Author: erj Date: Wed Apr 1 17:19:55 2015 New Revision: 280962 URL: https://svnweb.freebsd.org/changeset/base/280962 Log: Make changes to busdma code in tx/rx path similar to the ones made in r257541. - bus_dmamap_create() does not take the BUS_DMA_NOWAIT flag - properly unload maps -

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

2015-04-07 Thread Eric Joyner
Author: erj Date: Tue Apr 7 21:31:17 2015 New Revision: 281236 URL: https://svnweb.freebsd.org/changeset/base/281236 Log: ifmedia changes: - Extend the number of available subtypes for Ethernet media by using some of the ifmedia word's option bits to help denote subtypes. As a result, th

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

2015-04-30 Thread Eric Joyner
Author: erj Date: Thu Apr 30 22:53:27 2015 New Revision: 282289 URL: https://svnweb.freebsd.org/changeset/base/282289 Log: Add support for certain Intel X550 devices. These include standalone X550 adapters, X552 10GbE backplane, and X552/X557-AT 10GBASE-T; with the latter two being integr

svn commit: r282290 - in head/sys/modules: ix ixv

2015-04-30 Thread Eric Joyner
Author: erj Date: Thu Apr 30 22:56:43 2015 New Revision: 282290 URL: https://svnweb.freebsd.org/changeset/base/282290 Log: Include makefiles necessary to make ixgbe build with the new code. Originally supposed to be included in r282289. Differential Revision: D2414 Modified: head/sy

svn commit: r282293 - head/sys/conf

2015-04-30 Thread Eric Joyner
Author: erj Date: Fri May 1 03:33:31 2015 New Revision: 282293 URL: https://svnweb.freebsd.org/changeset/base/282293 Log: Fix build by adding ixgbe_x550.c to sys/conf/files for ixgbe. Submitted by: neel Approved by: jfv (mentor) Modified: head/sys/conf/files Modified: head/sys/conf/

svn commit: r277942 - head/share/misc

2015-01-30 Thread Eric Joyner
ivind Eklund\neivind@Fre emaste [label="Ed Maste\nema...@freebsd.org\n2005/10/04"] emax [label="Maksim Yevmenkin\ne...@freebsd.org\n2003/10/12"] eri [label="Ermal Luci\n...@freebsd.org\n2008/06/11"] +erj [label="Eric Joyner\n...@freebsd.org\n2014/12/14"] fabie

  1   2   >