From owner-freebsd-current@FreeBSD.ORG Mon Apr 8 06:36:01 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8A2E28BE for ; Mon, 8 Apr 2013 06:36:01 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mx1.freebsd.org (Postfix) with ESMTP id 66D3833F for ; Mon, 8 Apr 2013 06:36:01 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id g10so2840405pdj.6 for ; Sun, 07 Apr 2013 23:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:date:to:cc:subject:message-id:reply-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=N+5l1D93VwKNyVBloYBEw0hyCVLA6hOrNLAl7NsDL3w=; b=CHOJoJSV9c/uMDiQrP+z1oknCHtkbqowAfEsi/ALK8HCnW0a+QDj4p7Wy5SZMeJv+u v3R/yA2JPIjvAiA4Bw9S8sIKEciZgVPTbjyRmLLdTA4Ziv+VG70H764AenV2REW1Wwfo pMS3w3HktSPBg297yoO2dbMKXRrQuixTEKdcxcIq8KG5c3Q7fEWuNf1qc84TXw4GDpLc MzCLZQx9O0en0rj6uakDW+fLF3GFas4SrgE4EDkEgs2ey7iIAVP2QqVuD7UUa+apgOOM Ko8+zYk+0b2n+/ohYjiBaEGH11usYJxdAuG8DFixXUOtYmwvLqJatqn6Vjy7dnjJNxGc 9enQ== X-Received: by 10.66.164.6 with SMTP id ym6mr34463773pab.92.1365402955387; Sun, 07 Apr 2013 23:35:55 -0700 (PDT) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id pa2sm35852666pac.9.2013.04.07.23.35.52 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 07 Apr 2013 23:35:54 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Mon, 08 Apr 2013 15:35:48 +0900 From: YongHyeon PYUN Date: Mon, 8 Apr 2013 15:35:48 +0900 To: Spil Oss Subject: Re: Problems with axe(4) and checksum offloading Message-ID: <20130408063548.GB1526@michelle.cdnetworks.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 06:36:01 -0000 On Sun, Apr 07, 2013 at 09:14:16PM +0200, Spil Oss wrote: > Hi all, > > With checksum offloading enabled I cannot use my axe NIC (ASIX AX88772B). > > ifconfig ue0 -txcsum -rxcsum > will make dhclient ue0 return > > if I re-enable txcsum and rxcsum I get an immediate response from the dhcp > server. > > Tried to remove the csum features by commenting out > ifp->if_capabilities |= IFCAP_TXCSUM | IFCAP_RXCSUM; > ifp->if_hwassist = AXE_CSUM_FEATURES; > (lines 855 and 856 in /usr/src/sys/dev/usb/net/if_axe.c) > and rebuild the module. This does remove RXCSUM and TXCSUM from options and > behaves the same as disabling the features with ifconfig (i.e. does not > work) > > 10.0-CURRENT r248351 > > Hope someone can help me... Spil. Last time I tried, checksum offloading worked as expected. Would you show me the verbose dmesg output after attaching the axe(4) NIC?