History log of /dflybsd-src/sys/dev/netif/em/if_em.h (Results 1 – 25 of 52)
Revision Date Author Comments
# 74dc3754 09-Dec-2017 Sepherosa Ziehau <sephe@dragonflybsd.org>

em/emx: Sync with Intel's em 7.6.2

- Fix RX filter settings when exiting promiscous mode.
- Add workaround for I219 resetting.
- Fix some settings for 82574.

Tested-by: dillon@ (I219)


# 81745b3d 31-Oct-2017 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Free tx mbufs proactively.

This is preparation for the dillon's upcoming sendfile patch.


# 81ac62f7 25-Nov-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

em/emx: Integrate ifmedia flow control support.

Other minor bits:
- Set media to IFM_NONE, if there is no link yet.
- Remove no longer used dev.em.Y.flow_ctrl sysctl node.
ifconfig emY [mediaopt|-

em/emx: Integrate ifmedia flow control support.

Other minor bits:
- Set media to IFM_NONE, if there is no link yet.
- Remove no longer used dev.em.Y.flow_ctrl sysctl node.
ifconfig emY [mediaopt|-mediaopt] [rxpause|txpause|forcepause]
should be used instead.

show more ...


# d76227df 20-Nov-2015 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Support flow control change and default to RX pause


# 26595b18 28-Nov-2014 Sascha Wildner <saw@online.de>

kernel: Use the new auto-created sysctl ctx/tree in various drivers.

Everywhere where we formerly rolled a hw.fooX.* per-device ctx/tree
ourselves.

This commit switches it to dev.foo.X.*


# c29e94c0 04-Sep-2013 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Move max_frame_size from softc to HAL data struct

It is needed to make I217 link status detection work


# 55471c55 16-Feb-2013 Sepherosa Ziehau <sephe@dragonflybsd.org>

em/emx: Avoid using magic number for TX register writing aggregation


# 893bb181 28-Dec-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Don't update TDT upon very packets transmitted

Merged following commits on emx(4):
7f32a9b0f8f25e43ab2ae4ee0d82ce69325d3b4b
0aba36eb844503423f414a3235eca72a78dc575a
b691889cfe23462069618f44bcf2b

em: Don't update TDT upon very packets transmitted

Merged following commits on emx(4):
7f32a9b0f8f25e43ab2ae4ee0d82ce69325d3b4b
0aba36eb844503423f414a3235eca72a78dc575a
b691889cfe23462069618f44bcf2ba0e71dcbb79

With following exception:
This optimization is not performed for 82547

show more ...


# b5de76b1 28-Oct-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

ifpoll: Factor out code for devices which does not support multiple queues

Mainly avoid code duplication.

While I'm here, fix a typo in em(4) which always enable interrupt during
interface initiali

ifpoll: Factor out code for devices which does not support multiple queues

Mainly avoid code duplication.

While I'm here, fix a typo in em(4) which always enable interrupt during
interface initialization.

show more ...


# 350d9c84 28-Oct-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Switch from device_polling to ifpoll


# 0bbb59f3 15-Aug-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Add TSO support for certain PCIe chips


# ed4fc0fe 15-Aug-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Utilize mbuf's header length to setup TX csum context


# 79878f87 15-Aug-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Pack boolean fields into flags


# df2de25f 15-Aug-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Increase RX/TX descriptor count to 512


# 3245f71e 02-Aug-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em/emx: Reduce the default interrupt rate to 6000Hz


# 87ab432b 07-Jul-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Fix "Missing Interrupt Following ICR read" errata

IMS should be set to 0 before reading ICR. It should be noted that
once IMS is 0, ICR.INT_ASSERTED will not be set, which is not mentioned
in t

em: Fix "Missing Interrupt Following ICR read" errata

IMS should be set to 0 before reading ICR. It should be noted that
once IMS is 0, ICR.INT_ASSERTED will not be set, which is not mentioned
in the datasheet.

This errata exists on 82571, 82572, 82573, 82574 and 82583. And the fix
is needed only if the legacy interrupt is used and the interrupt line is
shared with other devices.

hw.emX.irq.unshared tunable is added to give a hint to the driver that
the legacy interrupt is not shared with other devices.

show more ...


# 053f3ae6 28-Dec-2011 Sepherosa Ziehau <sephe@dragonflybsd.org>

em: Use MSI, if device supports it


# 2d0e5700 28-Jun-2011 Sepherosa Ziehau <sephe@dragonflybsd.org>

em(4)/emx(4): Update to Intel's 7.1.7

- Restore stock version of e1000_read_mac_addr_generic(); if this function
is called after hardware reset, it just works as expected.
- For em(4), add 82567/8

em(4)/emx(4): Update to Intel's 7.1.7

- Restore stock version of e1000_read_mac_addr_generic(); if this function
is called after hardware reset, it just works as expected.
- For em(4), add 82567/82577/82578/82579/82583, PCH and PCH2 support.
- For em(4) and emx(4)
o Reorganize hardware initialization sequence
o Fix ITR and EIAC settings for 82574
o Fix hardware control support for chips with AMT

show more ...


# dc07210e 24-Jan-2011 Sepherosa Ziehau <sephe@dragonflybsd.org>

em/emx: Reserve 2 (instead of 1) TX descriptors for TX ring

Same as what Intel's Linux driver is doing.


# 96ced48a 01-Mar-2009 Sepherosa Ziehau <sephe@dragonflybsd.org>

em(4): Give preference to emx(4) based on PCI ids.


# 9ca8283b 01-Mar-2009 Sepherosa Ziehau <sephe@dragonflybsd.org>

em(4): We don't need in_detach trick.


# f7b52b45 01-Mar-2009 Sepherosa Ziehau <sephe@dragonflybsd.org>

em(4): Fix comment


# af2ee69f 27-Feb-2009 Sepherosa Ziehau <sephe@dragonflybsd.org>

em(4): Reduce EM_TXDD_SAFE from 50 to 48.

With this change, the device will have at most 48 TX descriptors pending
to be write back. 48 is chosen according to the table listed on:
Intel 82571EB/825

em(4): Reduce EM_TXDD_SAFE from 50 to 48.

With this change, the device will have at most 48 TX descriptors pending
to be write back. 48 is chosen according to the table listed on:
Intel 82571EB/82572EI Ethernet Controller Revision 6.0, Page 43,
Item 70. 82571/82572 Overwrites Transmit Descriptors in Internal Buffer.

show more ...


# 2af74b85 27-Feb-2009 Sepherosa Ziehau <sephe@dragonflybsd.org>

em(4): We don't dynamicly config txd_cmd; there is no reason to keep it anymore.


# 91e8debf 27-Feb-2009 Sepherosa Ziehau <sephe@dragonflybsd.org>

em(4): We don't embrace TIDV/TADV; nuke the related bits.


123