Age | Commit message (Collapse) | Author |
|
temporary, in others apparently permanent) with high rates of input
packets.
ok deraadt@
|
|
doesn't mean it should be wrong.
ok blambert, jsg
|
|
ok deraadt@ henning@ claudio@
|
|
list.
ok deraadt@
|
|
ifconfig re0 up
ifconfig re0 down
dhclient re0
ok krw@, deraadt@
|
|
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
|
|
to avoid the dilemma what meaningless value to pass.
ok deraadt@
|
|
From FreeBSD via Brad.
|
|
Although with aditional 20us delays added just before returning
from miibus read/writes as required by the hardware.
Based on the Linux r8169 driver; from Brad.
|
|
|
|
With help from Brad, ok jsg@, closes system/6402
|
|
ok krw@
|
|
Currently a noop as the code for RL_FLAG_MACSLEEP hasn't been added yet.
From FreeBSD via Brad.
|
|
interrupt status register. Fixes a problem with spurious interrupts on
the fuloong.
ok miod@
|
|
PHY doesn't seem to be necessary on re(4) so don't descend further for now.
Based on a diff from mlarkin@
ok deraadt@
|
|
|
|
reducing the amount of splnet/splx dancing required.. especially in the
worst case (of m_cldrop)
ok dlg kettenis damien
|
|
ok deraadt@
|
|
with FreeBSD. From Brad.
|
|
flag to the top. No change with the actual cplus mode register
setting being used with the controllers. From brad@
|
|
- Add defines for newer chipsets
From FreeBSD via Brad. No functional change, needed for future work.
ok naddy@.
|
|
as done for other RTL8168 HWREVs. From Brad.
|
|
OK from kettenis and sthen after the diff was minimized to have no
potential impact on other chips.
|
|
don't set RL_RDESC_STAT_PROTOID for non-TCP/UDP IP packets, only
RL_RDESC_IPV[46].
Also check RL_RDESC_IPV[46] before inspecting the TCP/UDP checksum
bits to make IPv6 TCP/UDP checksum offload work intentionally.
Gleaned from NetBSD.
|
|
- Further simplify the re(4) receive filter handling and
have everything taken care of in re_iff(), eliminating
a bit of code from re_init().
- Remove unused if_flags field.
|
|
|
|
realteks start to behave badly if we do. this should fix the widely
reported re(4) issue. makes my RTL8101E usable, fixes Thomas'
RTL8168C, and PR6023. tested by many
this is a more conservative version of my diff from kettenis@ (does
not clear PHY register 0x0b)
ok kettenis@
|
|
|
|
from the individual drivers now that ether_ioctl() handles this.
Shrinks the i386 kernels by..
RAMDISK - 2176 bytes
RAMDISKB - 1504 bytes
RAMDISKC - 736 bytes
Tested by naddy@/okan@/sthen@/brad@/todd@/jmc@ and lots of users.
Build tested on almost all archs by todd@/brad@
ok naddy@
|
|
|
|
which broke on-board RTL8111C adapters.
|
|
creates the VLAN encapsulation from the tag stored in the mbuf
header. Idea from FreeBSD, input from claudio@ and canacar@.
Switch all hardware VLAN enabled drivers to the new function.
ok claudio@
|
|
Based on the Linux r8169 driver.
Tested on PCI/CardBus and PCIe adapters.
|
|
interrupts. There seems to be a race between turning on TX/RX interrupt and
asserting TX/RX interrupt by the hardware.
From Sephe@DragonFly
|
|
tag in the header. Convert TX tagging in the drivers.
Help and ok brad@
|
|
enable RX tag stripping for re(4).
ok brad@
|
|
longer be livelocked when they are receiving on GigE line. Newer devices
also gain well controlled interrupt rate.
If hardware supports interrupt moderation (e.g. 8168B, 8168C), you could
also use hardware based interrupt moderation, however, due to lack of
necessary information it does not work as reliably as simulated interrupt
moderation. It is _not_ recommended currently.
By default, PCIe devices' simulated interrupt moderation timer is set to
75us, while PCI devices' is set to 125us.
From sephe@DragonFly
|
|
From sephe@DragonFly
|
|
From DragonFly
|
|
Move calling ether_ioctl() from the top of the ioctl function, which
at the moment does absolutely nothing, to the default switch case.
Thus allowing drivers to define their own ioctl handlers and then
falling back on ether_ioctl(). The only functional change this results
in at the moment is having all Ethernet drivers returning the proper
errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown
ioctl's.
Shrinks the i386 kernels by..
RAMDISK - 1024 bytes
RAMDISKB - 1120 bytes
RAMDISKC - 832 bytes
Tested by martin@/jsing@/todd@/brad@
Build tested on almost all archs by todd@/brad@
ok jsing@
|
|
Really just the low-hanging fruit of (hopefully) forthcoming timeout
conversions.
ok art@, krw@
|
|
PHY. This helps with systems dual booting Windows XP/Vista where the
Windows drivers will put the PHY in power down mode when rebooting.
From FreeBSD
|
|
one function. Also fix reception of multicast packets when in promisuous
mode. The Realtek chips are a little different than most others in that
they will not receive multicast packets by enabling promiscuous mode
alone.
Tested by naddy@ and sthen@
ok naddy@
|
|
state with the newly minted link flag in the softc's rl_flags
field.
Tested by fkr@
|
|
Tested by naddy@
From FreeBSD
|
|
The current method results in a MAC address of all zeros.
Tested by bernd@/jcs@ with 8102E and fkr@ with 8168C.
From FreeBSD
ok jsg@
|
|
newer PCI Express adapters (ie 8168C*/8102*) work.
V2 Checksum offload format in RTL8102 devices not yet supported.
No objections from brad@. Thanks to everyone who tested.
|
|
upcoming changes and sort list.
|
|
it was going to be before the release. No functional change.
prodded by kettenis@ ok dlg@
|
|
- Add some more defines for the 8168C chipset.
From NetBSD
ok dlg@
|