From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 10 11:10:03 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61F211065670 for ; Mon, 10 Sep 2012 11:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3ABA98FC21 for ; Mon, 10 Sep 2012 11:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8ABA3pb070531 for ; Mon, 10 Sep 2012 11:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8ABA3Vl070520; Mon, 10 Sep 2012 11:10:03 GMT (envelope-from gnats) Resent-Date: Mon, 10 Sep 2012 11:10:03 GMT Resent-Message-Id: <201209101110.q8ABA3Vl070520@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nikolau Nevzorov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7CF7A106566C for ; Mon, 10 Sep 2012 11:02:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 68BF48FC08 for ; Mon, 10 Sep 2012 11:02:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q8AB2gfe077998 for ; Mon, 10 Sep 2012 11:02:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q8AB2gDL077997; Mon, 10 Sep 2012 11:02:42 GMT (envelope-from nobody) Message-Id: <201209101102.q8AB2gDL077997@red.freebsd.org> Date: Mon, 10 Sep 2012 11:02:42 GMT From: Nikolau Nevzorov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/171520: alc network driver + tso + vlan does not work. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2012 11:10:03 -0000 >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: 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: on alc0 atphy0: 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: