|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0 |
|
| #
e4a16771 |
| 06-Jul-2020 |
Guinan Sun <[email protected]> |
e1000: remove duplicated phy codes
Add two files base.c and base.h to reduce the redundancy in the silicon family code. Remove the code duplication from e1000_82575 files. Clean family specific func
e1000: remove duplicated phy codes
Add two files base.c and base.h to reduce the redundancy in the silicon family code. Remove the code duplication from e1000_82575 files. Clean family specific functions from base. Fix up a stray and duplicate function declaration.
Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: Sasha Neftin <[email protected]> Signed-off-by: Guinan Sun <[email protected]> Reviewed-by: Wei Zhao <[email protected]>
Approved by: imp Obtained from: DPDK (44dddd14059f151f39f7e075b887decfc9a10f11) MFC after: 1 week
(cherry picked from commit 6b9d35fac12bf657cd1df8f1521c70704ff62b61)
show more ...
|
| #
c0460cf2 |
| 06-Dec-2020 |
Eugene Grosbein <[email protected]> |
if_em.ko: fix module build outside of kernel build environment
MFC after: 3 days
|
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
43d1e6ee |
| 20-Apr-2019 |
Alan Somers <[email protected]> |
Use symlinks for kernel modules rather than hardlinks
When aliasing a kernel module to a different name (ie if_igb for if_em), it's better to use symlinks than hard links. kldxref will omit entries
Use symlinks for kernel modules rather than hardlinks
When aliasing a kernel module to a different name (ie if_igb for if_em), it's better to use symlinks than hard links. kldxref will omit entries for the links, ensuring that the loaded module has the correct name.
Reviewed by: imp MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19979
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
307a8f2c |
| 10-Oct-2017 |
Sean Bruno <[email protected]> |
Hard link if_igb.ko to if_em.ko. Use a LINK directive to ensure that this is more friendly to the tree.
Tested this with loader.conf:if_igb_load="YES" and it does the right thing.
Submitted by: Ia
Hard link if_igb.ko to if_em.ko. Use a LINK directive to ensure that this is more friendly to the tree.
Tested this with loader.conf:if_igb_load="YES" and it does the right thing.
Submitted by: Ian Lepore <[email protected]>
show more ...
|
| #
8dd7bf29 |
| 07-Oct-2017 |
Sean Bruno <[email protected]> |
Fix symlink if_igb.ko in -current such that its relative and doesn't end up with non-standard DESTDIR information in its symlink. This can happen very trivially if the release scripts are used.
Spo
Fix symlink if_igb.ko in -current such that its relative and doesn't end up with non-standard DESTDIR information in its symlink. This can happen very trivially if the release scripts are used.
Sponsored by: Limelight Networks
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
193d9e76 |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
|
| #
062a4b8c |
| 12-Jan-2017 |
Sean Bruno <[email protected]> |
Deprecate kernel configuration option EM_MULTIQUEUE now that the em(4) driver conforms to iflib.
|
| #
093cf246 |
| 10-Jan-2017 |
Sean Bruno <[email protected]> |
Set CFLAGS correctly for sys/modules/em
Unbreak gcc sparc64 builds (or any gcc build that uses em(4)).
Reported by: [email protected]
|
| #
f2d6ace4 |
| 10-Jan-2017 |
Sean Bruno <[email protected]> |
Migrate e1000 to the IFLIB framework: - em(4) igb(4) and lem(4) - deprecate the igb device from kernel configurations - create a symbolic link in /boot/kernel from if_em.ko to if_igb.ko
Devices test
Migrate e1000 to the IFLIB framework: - em(4) igb(4) and lem(4) - deprecate the igb device from kernel configurations - create a symbolic link in /boot/kernel from if_em.ko to if_igb.ko
Devices tested: - 82574L - I218-LM - 82546GB - 82579LM - I350 - I217
Please report problems to [email protected]
Partial review from jhb and suggestions on how to *not* brick folks who originally would have lost their igbX device.
Submitted by: [email protected] MFC after: 2 weeks Relnotes: yes Sponsored by: Limelight Networks and Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D8299
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0 |
|
| #
5296d042 |
| 09-Jun-2015 |
Sean Bruno <[email protected]> |
Include opt_em.h now that there are actual kernel compile options for em(4).
Submitted by: jfv MFC after: 2 week Sponsored by: Limelight Networks
|
| #
23c9098b |
| 03-Jun-2015 |
Sean Bruno <[email protected]> |
Change EM_MULTIQUEUE to a real kernconf entry and enable support for up to 2 rx/tx queues for the 82574.
Program the 82574 to enable 5 msix vectors, assign 1 to each rx queue, 1 to each tx queue and
Change EM_MULTIQUEUE to a real kernconf entry and enable support for up to 2 rx/tx queues for the 82574.
Program the 82574 to enable 5 msix vectors, assign 1 to each rx queue, 1 to each tx queue and 1 to the link handler.
Inspired by DragonFlyBSD, enable some RSS logic for handling tx queue handling/processing.
Move multiqueue handler functions so that they line up better in a diff review to if_igb.c
Always enqueue tx work to be done in em_mq_start, if unable to acquire the TX lock, then this will be processed in the background later by the taskqueue. Remove mbuf argument from em_start_mq_locked() as the work is always enqueued. (stolen from igb)
Setup TARC, TXDCTL and RXDCTL registers for better performance and stability in multiqueue and singlequeue implementations. Handle Intel errata 3 and generic multiqueue behavior with the initialization of TARC(0) and TARC(1)
Bind interrupt threads to cpus in order. (stolen from igb)
Add 2 new DDB functions, one to display the queue(s) and their settings and one to reset the adapter. Primarily used for debugging.
In the multiqueue configuration, bump RXD and TXD ring size to max for the adapter (4096). Setup an RDTR of 64 and an RADV of 128 in multiqueue configuration to cut down on the number of interrupts. RADV was arbitrarily set to 2x RDTR and can be adjusted as needed.
Cleanup the display in top a bit to make it clearer where the taskqueue threads are running and what they should be doing.
Ensure that both queues are processed by em_local_timer() by writing them both to the IMS register to generate soft interrupts.
Ensure that an soft interrupt is generated when em_msix_link() is run so that any races between assertion of the link/status interrupt and a rx/tx interrupt are handled.
Document existing tuneables: hw.em.eee_setting, hw.em.msix, hw.em.smart_pwr_down, hw.em.sbp
Document use of hw.em.num_queues and the new kernel option EM_MULTIQUEUE
Thanks to Intel for their continued support of FreeBSD.
Reviewed by: erj jfv hiren gnn wblock Obtained from: Intel Corporation MFC after: 2 weeks Relnotes: Yes Sponsored by: Limelight Networks Differential Revision: https://reviews.freebsd.org/D1994
show more ...
|
|
Revision tags: release/10.1.0 |
|
| #
aeaed508 |
| 04-Aug-2014 |
Warner Losh <[email protected]> |
Move most of the 15 variations on generating opt_inet.h and opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targe
Move most of the 15 variations on generating opt_inet.h and opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too.
show more ...
|
|
Revision tags: release/9.3.0 |
|
| #
c6063d0d |
| 06-May-2014 |
Warner Losh <[email protected]> |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
|
Revision tags: release/10.0.0, release/9.2.0 |
|
| #
a1db87ec |
| 12-Jul-2013 |
Jack F Vogel <[email protected]> |
Change the E1000 driver option header handling to match the ixgbe driver. As it was, when building them as a module INET and INET6 are not defined. In these drivers it does not cause a panic, however
Change the E1000 driver option header handling to match the ixgbe driver. As it was, when building them as a module INET and INET6 are not defined. In these drivers it does not cause a panic, however it does result in different behavior in the ioctl routine when you are using a module vs static, and I think the behavior should be the same.
MFC after: 3 days
show more ...
|
|
Revision tags: release/8.4.0, release/9.1.0 |
|
| #
9775776c |
| 06-Jul-2012 |
Konstantin Belousov <[email protected]> |
Add a source file needed for module linking.
MFC after: 4 days
|
|
Revision tags: release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
| #
9b1f9707 |
| 16-Aug-2010 |
Pyun YongHyeon <[email protected]> |
Remove unnecessary clean target in em(4), igb(4) and ixgbe(4). While here also remove man target in igb(4).
Reviewed by: jfv
|
|
Revision tags: release/8.1.0_cvs, release/8.1.0 |
|
| #
cb18cb4d |
| 01-Jul-2010 |
Jack F Vogel <[email protected]> |
Add new source to the loadable em build, thought it wasnt needed but it is.
|
| #
dd75f661 |
| 05-Apr-2010 |
Jack F Vogel <[email protected]> |
Add missing module Makefile for ixgbe and em MFCs
|
| #
8ec87fc5 |
| 29-Mar-2010 |
Jack F Vogel <[email protected]> |
Update to igb and em:
em revision 7.0.0: - Using driver devclass, seperate legacy (pre-pcie) code into a seperate source file. This will at least help protect against regression issues. It co
Update to igb and em:
em revision 7.0.0: - Using driver devclass, seperate legacy (pre-pcie) code into a seperate source file. This will at least help protect against regression issues. It compiles along with em, and is transparent to end use, devices in each appear to be 'emX'. When using em in a modular form this also allows the legacy stuff to be defined out. - Add tx and rx rings as in igb, in the 82574 this becomes actual multiqueue for the first time (2 queues) while in other PCIE adapters its just make code cleaner. - Add RX mbuf handling logic that matches igb, this will eliminate packet drops due to temporary mbuf shortage.
igb revision 1.9.3: - Following the ixgbe code, use a new approach in what was called 'get_buf', the routine now has been made independent of rxeof, it now does the update to the engine TDT register, this design allows temporary mbuf resources to become non-critical, not requiring a packet to be discarded, instead it just returns and does not increment the tail pointer. - With the above change it was also unnecessary to keep 'spare' maps around, since we do not have the discard issue. - Performance tweaks and improvements to the code also.
MFC in a week
show more ...
|
|
Revision tags: release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
| #
4174a06b |
| 12-Nov-2008 |
Bjoern A. Zeeb <[email protected]> |
Add opt_inet.h which has been needed since r184717 introducing checks for #ifdef INET.
MFC after: 54 days
|
| #
d7b13674 |
| 30-Jul-2008 |
Jack F Vogel <[email protected]> |
Change to build module with new directory tree
MFC after:ASAP
|
| #
20e8415e |
| 25-Apr-2008 |
Jack F Vogel <[email protected]> |
This delta has a few important items:
PR 122839 is fixed in both em and in igb
Second, the issue on building modules since the static kernel build changes is now resolved. I was not able to get the
This delta has a few important items:
PR 122839 is fixed in both em and in igb
Second, the issue on building modules since the static kernel build changes is now resolved. I was not able to get the fancier directory hierarchy working, but this works, both em and igb build as modules now.
Third, there is now support in em for two new NICs, Hartwell (or 82574) is a low cost PCIE dual port adapter that has MSIX, for this release it uses 3 vectors only, RX, TX, and LINK. In the next release I will add a second TX and RX queue. Also, there is support here for ICH10, the followon to ICH9. Both of these are early releases, general availability will follow soon.
Fourth: On Hartwell and ICH10 we now have IEEE 1588 PTP support, I have implemented this in a provisional way so that early adopters may try and comment on the functionality. The IOCTL structure may change. This feature is off by default, you need to edit the Makefile and add the EM_TIMESYNC define to get the code.
Enjoy all!!
show more ...
|
| #
e9d8b9c3 |
| 02-Apr-2008 |
Jack F Vogel <[email protected]> |
This update primarily addresses the ability to have both the em and the igb driver static in the kernel. But it also reflects some other bug fixes in my development stream at Intel. PR 122373 is also
This update primarily addresses the ability to have both the em and the igb driver static in the kernel. But it also reflects some other bug fixes in my development stream at Intel. PR 122373 is also fixed in this code.
show more ...
|
| #
10f0bcab |
| 27-Mar-2008 |
Antoine Brodin <[email protected]> |
Remove option headers that do not exist and are not used from the Makefiles in sys/modules. (opt_devfs.h, opt_bdg.h, opt_emu10kx.h and opt_uslcom.h)
Approved by: rwatson (mentor)
|
| #
f75ef9e4 |
| 29-Feb-2008 |
Jack F Vogel <[email protected]> |
This change introduces a split to the Intel E1000 driver, now rather than just em, there is an igb driver (this follows behavior with our Linux drivers). All adapters up to the 82575 are supported in
This change introduces a split to the Intel E1000 driver, now rather than just em, there is an igb driver (this follows behavior with our Linux drivers). All adapters up to the 82575 are supported in em, and new client/desktop support will continue to be in that adapter.
The igb driver is for new server NICs like the 82575 and its followons. Advanced features for virtualization and performance will be in this driver.
Also, both drivers now have shared code that is up to the latest we have released. Some stylistic changes as well.
Enjoy :)
show more ...
|