]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve the if_vr driver ever so slightly.
authorphk <phk@FreeBSD.org>
Tue, 17 Apr 2007 12:23:57 +0000 (12:23 +0000)
committerphk <phk@FreeBSD.org>
Tue, 17 Apr 2007 12:23:57 +0000 (12:23 +0000)
commitbb49ccc48c4c35f21c0515e86e605cb34a9922f8
tree1ddcee0d654e355d9b0edfc65cb605ee01c9e771
parent3d8cf5fc2bcc1e9d741d86e8f893ee14791e5951
Improve the if_vr driver ever so slightly.

The 6105M and 6102 does not have the DWORD alignment problem, so
don't m_defrag() every packet in the transmit path for those.

More stringent usage of tx-descriptor ring and its flags.

Tested on 6102 and 6105M, other chips may also be able to run
without the m_defrag() but I have neither hardware nor docs to
find out.

Sponsored by: Soekris Engineering
sys/dev/vr/if_vr.c
sys/dev/vr/if_vrreg.h
sys/pci/if_vr.c
sys/pci/if_vrreg.h