From owner-freebsd-net@FreeBSD.ORG Wed Feb 24 09:40:03 2010 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33168106566C for ; Wed, 24 Feb 2010 09:40: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 074EE8FC08 for ; Wed, 24 Feb 2010 09:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1O9e2BF007073 for ; Wed, 24 Feb 2010 09:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1O9e2us007072; Wed, 24 Feb 2010 09:40:02 GMT (envelope-from gnats) Date: Wed, 24 Feb 2010 09:40:02 GMT Message-Id: <201002240940.o1O9e2us007072@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Jean-Luc Richier Cc: Subject: Re: kern/141843: [em] [vlan] Intel txcsum and assigned vlan invoke wrong dst MAC in TCP packets X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jean-Luc Richier List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2010 09:40:03 -0000 The following reply was made to PR kern/141843; it has been noted by GNATS. From: Jean-Luc Richier To: bug-followup@FreeBSD.org, dyr@smartspb.net Cc: Subject: Re: kern/141843: [em] [vlan] Intel txcsum and assigned vlan invoke wrong dst MAC in TCP packets Date: Wed, 24 Feb 2010 10:35:01 +0100 Jean-Luc Richier wrote: > A other cause (or the same) seems that when the interface is reset (for example with a ifconfig em0 down, the chip is reset, but the > last_hw_offload in the interface context is not reset .... > I made the following path to solve the problem (in em_stop) > --- /sys/dev/e1000/if_em.c.DIST 2009-10-25 02:10:29.000000000 +0100 > +++ /sys/dev/e1000/if_em.c 2010-02-23 18:22:53.000000000 +0100 ... > + adapter->last_hw_offload = 0; ... I tested the suggested patch http://people.freebsd.org/~yongari/em.csum_tso.20091230.patch and it also solved my problem Regards -- Jean-Luc RICHIER (Jean-Luc.Richier@Imag.Fr) Laboratoire d'Informatique de Grenoble (LIG) Campus de Grenoble 681 rue de la Passerelle BP 72, F-38402 St Martin d'Hères Cedex Tel : +33 4 76 82 72 32 Fax : +33 4 76 82 72 87