Commit Graph

47 Commits

Author SHA1 Message Date
brueffer
4b8675d5ed Fix a slew of mdoc errors and warnings.
MFC after:	1 week
2019-02-23 09:34:57 +00:00
kib
1b7795b92a Make iflib a loadable module.
iflib is already a module, but it is unconditionally compiled into the
kernel.  There are drivers which do not need iflib(4), and there are
situations where somebody might not want iflib in kernel because of
using the corresponding driver as module.

Reviewed by:	marius
Discussed with:	erj
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D19041
2019-01-31 19:05:56 +00:00
shurd
a90b5eb0c8 Add iflib.4 manpage
The new manpage documents the tunables and statistic sysctls exposed by
iflib.

Reviewed by:	bcr
Approved by:	re (gjb)
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D16920
2018-09-20 18:24:32 +00:00
shurd
0cf83abb13 Update Matthew Macy contact info
Email address has changed, uses consistent name (Matthew, not Matt)

Reported by:	Matthew Macy <mmacy@mattmacy.io>
Differential Revision:	https://reviews.freebsd.org/D13537
2017-12-19 17:59:00 +00:00
ngie
0fd83cb76b Merge documentation for em(4) and igb(4)
Document work done by mmacy/sbruno to merge the two drivers together
and convert em(4) to the iflib framework.

X-MFC with:	r311849
Sponsored by:	Dell EMC Isilon
2017-03-22 21:32:44 +00:00
sbruno
bb80e303c9 Purge EM_MULTIQUEUE references from the man page for em(4). 2017-01-12 16:44:40 +00:00
sbruno
defc9ae164 Add capability to disable CRC stripping. This breaks IPMI/BMC capabilities on certain adatpers.
Linux has been doing the exact same thing since 2008

eb7c3adb1c

PR:	161277
Differential Revision:	https://reviews.freebsd.org/D3282
Submitted by:	Fravadona@gmail.com
Reviewed by:	erj wblock
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	Limelight Networks
2015-08-16 19:06:23 +00:00
brueffer
a00534bfeb Fix mandoc warnings/errors.
MFC after:	1 week
2015-08-12 11:56:19 +00:00
sbruno
9c062ec0b4 Delete the refernce to VLAN handling being disabled by default. This is
no longer the case.

PR:		118693
MFC after:	3 days
2015-06-29 17:59:00 +00:00
sbruno
e9c0c6bb55 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
2015-06-03 18:01:09 +00:00
bapt
5da5395a98 use .Mt to mark up email addresses consistently (final part)
PR:		191174
Submitted by:	Franco Fichtner <franco at lastsummer.de>
2014-06-26 21:46:14 +00:00
eadler
adde1f48fc Update Intel email address.
PR:		docs/175349
Submitted by:	Lars Eggert <lars@netapp.com>
Discussed with:	jfv
2013-05-02 01:36:52 +00:00
joel
1994f885d3 Remove superfluous paragraph macro. 2012-03-24 13:37:57 +00:00
glebius
4b0faaa8bc Fix date in last commit.
Noticed by:	Larry Rosenman <ler lerctr.org>
2011-10-11 18:26:31 +00:00
glebius
3047071308 Properly document default number of rx/tx descriptors for Intel cards. 2011-10-11 15:41:07 +00:00
uqs
75c697f88d mdoc: reorder sections consistently 2011-06-02 09:56:53 +00:00
marius
afce67ea65 Document the led(4) interface to the identification LEDs.
MFC after:	3 days
2010-05-14 20:11:30 +00:00
simon
1d7527fd9e Reference igb(4) i SEE ALSO.
MFC after:	1 week
2008-10-06 21:55:53 +00:00
simon
1c6773dfb9 - Add 82574 to list of supported controller chips.
- Add Intel PRO/1000 PF and Intel PRO/1000 PT adaptors to list of
  supported adaptors.

The list of adaptors was found at
http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&Inst=Yes&DwnldID=10957

MFC after:	1 week
2008-10-06 20:45:08 +00:00
brueffer
e86310cd3d Xref altq(4) for drivers that support it according to altq(4). 2007-01-30 08:40:04 +00:00
brueffer
c6e7e5518b - Instead of listing which ships support Rx/Tx checksum offload and Jumbo
Frames, mention the one chip that does not support them (obtained from
  the driver README)
- Mention TSO and the chips that do not support it (provided by pdeuskar)
- Do not refer to the README for VLAN support, building and installing
  the driver
2006-09-15 20:52:51 +00:00
brueffer
d656f62998 Document 82571 and 82572 support.
MFC after:	3 days
2005-11-27 16:49:19 +00:00
ru
8a2652d669 -mdoc sweep. 2005-11-18 10:56:28 +00:00
glebius
6a3275dc26 Document tunables. 2005-11-17 15:10:40 +00:00
trhodes
b7d0ff1b4b Work around an apparent mdoc(7) bug.
Spotted by:	marius
Discussed with:	ru
2005-10-07 02:32:16 +00:00
trhodes
a87b82ead9 Break long lines and kill a few instances of EOL whitespace.
Noticed by:	ru
2005-07-21 05:02:39 +00:00
trhodes
17d84e4e12 Add a "Load module on start up" comment, similar to mac_*.4 pages[1].
Quote .Cd and .Nd text.
Bump doc date.

Requested by:	some user through ru
Supported by:	ru, dwmalone, brueffer
2005-07-19 00:26:30 +00:00
brueffer
8d08165b4b Document support for the 82573 chip. 2005-05-27 04:52:21 +00:00
brueffer
94fcb2b723 Remove the note about em(4) not working with bridge(4) when hardware
assisted VLAN processing is enabled from the BUGS section. This is
expected to work now.
2005-02-20 00:09:38 +00:00
yar
0ec8b23ab8 Document the recent change to the default status of VLAN support in em(4).
MFC after:	1 day
2005-01-30 12:29:06 +00:00
brueffer
accad97d85 - add new supported chips: 82541ER and 82546GB
- add the long supported, but still missing 82545
- change .Nd to look better (no need to mention FreeBSD there)
- bump .Dd

MFC after:	3 days
2005-01-05 04:31:00 +00:00
brueffer
555162ef70 Xref polling.4 and bump .Dd
MFC after:	3 days
2004-11-24 19:06:43 +00:00
brueffer
89748c4923 gx(4) is gone, remove any references 2004-11-08 19:52:21 +00:00
brueffer
f09507d8c7 - add a HARDWARE section based on the driver README
- capitalization fixes
- bump document date

MFC after:	3 days
2004-09-09 23:41:03 +00:00
ru
19a4968055 Kill whitespace at EOL.
Approved by:	re (blanket)
2003-05-21 15:55:40 +00:00
pdeuskar
1e3ba45ac0 Correct License text.
MFC after:	1 day
2003-01-24 21:28:20 +00:00
ru
6a95ddadef Feedback also included this. 2002-07-26 20:53:26 +00:00
pdeuskar
6b8d564e29 Fix markup issues introduced in earlier commit.
Feedback from: ru (Ruslan Ermilov)
MFC after:	3 days
2002-07-26 20:50:35 +00:00
pdeuskar
23c878078e Updated man page to include support for
82546 based adapters.

MFC after:	3 days
2002-07-26 17:35:31 +00:00
ru
33d9582e06 mdoc(7) police: Grr, once again, re-apply many fixes from
revisions 1.2 and 1.5 that got backed out by revision 1.4.
2002-05-30 08:45:06 +00:00
obrien
ede0448bbd Add gx(4) to the SEE ALSO. 2002-05-20 23:39:25 +00:00
pdeuskar
81eeb21ad8 Modified the man page to reflect support for
82540EM based cards.

MFC after:	1 day
2002-04-30 17:14:51 +00:00
ru
1e7b3a120f mdoc(7) police: Re-apply fixes from revision 1.2 that got completely
backed out by revision 1.4.  Fixed some more.
2002-03-18 12:25:33 +00:00
pdeuskar
59699901cf - Added support for receive in multiple
descriptors. This simplifies code for jumbo frames.
- Cleaned up coding conventions to make code more unix-like.
- Cleaned up code in if_em_fxhw.c and if_em_phy.c.
  Added relevant comments.

MFC after:	1 week
2002-02-13 18:19:27 +00:00
ru
5cb8e481ed Now that the driver has been MFC'ed, fix the first appearence info. 2001-12-17 11:13:51 +00:00
ru
92d4480418 mdoc(7) police:
- kill empty lines
- kill whitespace at EOL
- kill hard sentence breaks
- fix document date
- fix markup
- sort xrefs
- first appeared in 5.0, not 4.4
2001-12-08 18:07:29 +00:00
pdeuskar
124068ba6b Adding man page for the em driver.
Submitted by:Prafulla Deuskar
Reviewed by:Paul Saab
MFC after:1 week
2001-12-02 07:45:22 +00:00