Commit Graph

44 Commits

Author SHA1 Message Date
Stephen Hurd
96fc97c81f 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
Enji Cooper
67d01c2bab 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
Sean Bruno
9acdec7132 Purge EM_MULTIQUEUE references from the man page for em(4). 2017-01-12 16:44:40 +00:00
Sean Bruno
38be29d321 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
Christian Brueffer
548afe2bec Fix mandoc warnings/errors.
MFC after:	1 week
2015-08-12 11:56:19 +00:00
Sean Bruno
8971c13ffa 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
Sean Bruno
23c9098b2a 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
Baptiste Daroussin
6c89995002 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
Eitan Adler
f7efb9e28e 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 Dahl
3030137a23 Remove superfluous paragraph macro. 2012-03-24 13:37:57 +00:00
Gleb Smirnoff
a90c4f9691 Fix date in last commit.
Noticed by:	Larry Rosenman <ler lerctr.org>
2011-10-11 18:26:31 +00:00
Gleb Smirnoff
e293948733 Properly document default number of rx/tx descriptors for Intel cards. 2011-10-11 15:41:07 +00:00
Ulrich Spörlein
135bce2a9e mdoc: reorder sections consistently 2011-06-02 09:56:53 +00:00
Marius Strobl
d6d81b7386 Document the led(4) interface to the identification LEDs.
MFC after:	3 days
2010-05-14 20:11:30 +00:00
Simon L. B. Nielsen
f78d85eb96 Reference igb(4) i SEE ALSO.
MFC after:	1 week
2008-10-06 21:55:53 +00:00
Simon L. B. Nielsen
e0578797fc - 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
Christian Brueffer
a25ecdff1f Xref altq(4) for drivers that support it according to altq(4). 2007-01-30 08:40:04 +00:00
Christian Brueffer
cb7e673ccc - 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
Christian Brueffer
554d7f674c Document 82571 and 82572 support.
MFC after:	3 days
2005-11-27 16:49:19 +00:00
Ruslan Ermilov
78ad54210f -mdoc sweep. 2005-11-18 10:56:28 +00:00
Gleb Smirnoff
a97b26d057 Document tunables. 2005-11-17 15:10:40 +00:00
Tom Rhodes
16d78bb878 Work around an apparent mdoc(7) bug.
Spotted by:	marius
Discussed with:	ru
2005-10-07 02:32:16 +00:00
Tom Rhodes
90296834d9 Break long lines and kill a few instances of EOL whitespace.
Noticed by:	ru
2005-07-21 05:02:39 +00:00
Tom Rhodes
86e3186efa 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
Christian Brueffer
cc636eb10e Document support for the 82573 chip. 2005-05-27 04:52:21 +00:00
Christian Brueffer
6e0ee35d47 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
Yaroslav Tykhiy
af356871b0 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
Christian Brueffer
7d9c45655d - 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
Christian Brueffer
a6c410e72b Xref polling.4 and bump .Dd
MFC after:	3 days
2004-11-24 19:06:43 +00:00
Christian Brueffer
bd58bf2942 gx(4) is gone, remove any references 2004-11-08 19:52:21 +00:00
Christian Brueffer
91461de402 - 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
Ruslan Ermilov
149c72305b Kill whitespace at EOL.
Approved by:	re (blanket)
2003-05-21 15:55:40 +00:00
Prafulla Deuskar
c21834960e Correct License text.
MFC after:	1 day
2003-01-24 21:28:20 +00:00
Ruslan Ermilov
b32a0019ed Feedback also included this. 2002-07-26 20:53:26 +00:00
Prafulla Deuskar
5461e58563 Fix markup issues introduced in earlier commit.
Feedback from: ru (Ruslan Ermilov)
MFC after:	3 days
2002-07-26 20:50:35 +00:00
Prafulla Deuskar
5155b8e214 Updated man page to include support for
82546 based adapters.

MFC after:	3 days
2002-07-26 17:35:31 +00:00
Ruslan Ermilov
999e589b6a 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
David E. O'Brien
34f67e88e6 Add gx(4) to the SEE ALSO. 2002-05-20 23:39:25 +00:00
Prafulla Deuskar
e4fe103d73 Modified the man page to reflect support for
82540EM based cards.

MFC after:	1 day
2002-04-30 17:14:51 +00:00
Ruslan Ermilov
802a4af8e8 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
Prafulla Deuskar
a59716d2d8 - 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
Ruslan Ermilov
0dba3dc10c Now that the driver has been MFC'ed, fix the first appearence info. 2001-12-17 11:13:51 +00:00
Ruslan Ermilov
2e3a6736b2 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
Prafulla Deuskar
1ac88dc08f 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