Date: Mon, 10 Sep 2012 11:02:42 GMT From: Nikolau Nevzorov <nevzorovn@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/171520: alc network driver + tso + vlan does not work. Message-ID: <201209101102.q8AB2gDL077997@red.freebsd.org> Resent-Message-ID: <201209101110.q8ABA3Vl070520@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171520 >Category: misc >Synopsis: alc network driver + tso + vlan does not work. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 10 11:10:02 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Nikolau Nevzorov >Release: FreeBSD 9.0-RELEASE >Organization: >Environment: louna# uname -a FreeBSD louna 9.0-RELEASE FreeBSD 9.0-RELEASE #1 r237140: Sun Jun 17 12:20:32 YEKT 2012 niko@louna:/usr/obj/usr/src/sys/LOUNA amd64 >Description: alc network driver + tso + vlan does not work. alc0: <Atheros AR8132 PCIe Fast Ethernet> port 0x5000-0x507f mem 0x57000000-0x5703ffff irq 16 at device 0.0 on pci1 alc0: 15872 Tx FIFO, 15360 Rx FIFO alc0: Using 1 MSI message(s). miibus0: <MII bus> on alc0 atphy0: <Atheros F1 10/100/1000 PHY> PHY 0 on miibus0 atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow Hello, I have a system using the ALC network card driver with vlans. By default the driver enables TSO4 support on the card. This support does not seem to work in this configuration and causes the OS to generate packets larger then MTU which are sent to the card to be fragmented. This doesn't seem to happen and the packets are dropped. This causes TCP connections to go extremely slowly as many re-transitions occur. ifconfig alc0 -tso fixes the problem. The problem doesn't occur without vlans. And this problem doesn't occur on routed packet's, only on generated on this host. There was thread on this problem on 2010 but without localisation of problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=147985 >How-To-Repeat: Create vlans on alc interface and try to download via vlan and any file transfer protoco file bigger, than 1mb. >Fix: disable TSO on iface >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209101102.q8AB2gDL077997>