From owner-freebsd-current@FreeBSD.ORG Tue Sep 12 13:48:48 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F0DF16A403 for ; Tue, 12 Sep 2006 13:48:48 +0000 (UTC) (envelope-from if@hetzner.co.za) Received: from hetzner.co.za (office.cpt2.host-h.net [196.7.147.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA35643D69 for ; Tue, 12 Sep 2006 13:48:47 +0000 (GMT) (envelope-from if@hetzner.co.za) Received: from localhost ([127.0.0.1] helo=ian.hetzner.africa) by hetzner.co.za with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1GN5FA-00085C-CJ for current@freebsd.org; Tue, 12 Sep 2006 12:11:52 +0200 To: current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Tue, 12 Sep 2006 12:11:52 +0200 Message-Id: Cc: Subject: TSO, SMP and the em driver. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Sep 2006 13:48:48 -0000 Hi I've noticed that after an apparently random period of time something goes wierd with my networking. A tcpdump shows traffic is recieved, but trussing a daemon (sshd for instance) shows the packets are not making it that far. Also, no packets are transmitted either. Here's an ifconfig of the interface while it doesn't transmit or recieve packets, note the OACTIVE: em0: flags=8c43 mtu 1500 options=3cb inet 41.204.193.40 netmask 0xfffffff0 broadcast 41.204.193.47 ether 00:04:23:d4:12:2e media: Ethernet autoselect (100baseTX ) status: active If I disable and re-enable TSO, the interface cames back, but probably because of an interface reset. It comes back without the OACTIVE flag and then all works well for some time. Here's the pciconf output for the ethernet device. em0@pci3:4:0: class=0x020000 card=0x10798086 chip=0x10798086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82546EB Dual Port Gigabit Ethernet Controller' class = network subclass = ethernet So far, it hasn't happened again with TSO disabled over a period where it happened twice. Let me know if there's any debugging I can do for you. Interestingly, I have 4 more of these dual NICs running on the same version of the source without ony problems, but the working cards are on UP machines. Ian -- Ian Freislich