From owner-freebsd-net@FreeBSD.ORG Mon Jun 1 20:51:06 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 98DB6DC7 for ; Mon, 1 Jun 2015 20:51:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66FAD1642 for ; Mon, 1 Jun 2015 20:51:06 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbpi8 with SMTP id pi8so71485723igb.1 for ; Mon, 01 Jun 2015 13:51:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=I/CJkRPAG+axMIzrQqUKB3f1wgTUlb++8eozb0dK4Kg=; b=t34Ary4BAA9TlG2F6ebbkKtfqBZu4h42qYMSu0oNEJS6zZ86hgta5QwR+6JVDY80vQ s58/RIPBgE26P8SQGIO0IN/ezQlDnlN5VXOOo2MU2uchIGJsfm3+rN2mbPZPY/4MhugG 1u3qsgLyf9Q1pfCV2jCZr9KpSQFD2dIyM6ROWRCXb1TV/M/46CS9pP2N8GkMZvhgGe9k VaC6XVtPKYXCx1UEH/iW5i2OX0OOtARGRESrMdbpIDTte8Ix2HbFGaOqBYnOqCFLDWa2 JqiT684BrqgrK29kIboauEyPsy5iNjzZMQ8wJx5Y60Azi83RXIL2TZBnRAdUPiph3rzw qS7A== MIME-Version: 1.0 X-Received: by 10.43.163.129 with SMTP id mo1mr30397598icc.61.1433191865751; Mon, 01 Jun 2015 13:51:05 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Mon, 1 Jun 2015 13:51:05 -0700 (PDT) In-Reply-To: <20150601145423.GH1647@zxy.spb.ru> References: <20150601082509.GE1647@zxy.spb.ru> <20150601145423.GH1647@zxy.spb.ru> Date: Mon, 1 Jun 2015 13:51:05 -0700 X-Google-Sender-Auth: clLgZz3PUxTiIw2x2mLHmEqXE8k Message-ID: Subject: Re: Intel igb 82576 (netmap mode) and RSS queue issuse with fragmented UDP packets. From: Adrian Chadd To: Slawa Olhovchenkov Cc: FreeBSD Net Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2015 20:51:06 -0000 On 1 June 2015 at 07:54, Slawa Olhovchenkov wrote: > On Mon, Jun 01, 2015 at 07:50:31AM -0700, Adrian Chadd wrote: > >> They all behave the same. You can fix the intel driver(s) by looking >> for the TCP/UDP queue config and only enabling IPv4/IPv6 (not TCP/UDP) >> hashing. > > Are you sure that enabling only IPv4/IPv6 hashing fix this? > I see hashing in may case depends from flags fields. > flags field is not part of TCP/UDP. Yes. Just try doing ipv4/ipv6 only hashing. See if that fixes it. -a > >> On 1 June 2015 at 01:25, Slawa Olhovchenkov wrote: >> > I am use Intel 82576 (igb driver) in netmap mode. >> > I see isssuse: flow routed in different queue depends of IP flags. >> > >> > For example: >> > >> > Total 4 queue. >> > UDP flow. >> > SRC: 91.214.70.167:12062 DST: 95.31.64.226:49939 Flags:DF routed to queue 0 >> > SRC: 91.214.70.167:12062 DST: 95.31.64.226:49939 Flags:More_Frags (offset 0, length 1396) routed to queue 3 >> > >> > I understand that next fragment (IP (tos 0x0, ttl 62, id 36361, offset >> > 1376, flags [none], proto UDP (17), length 102) 91.214.70.167 > >> > 95.72.171.116: ip-proto-17) may be routed in different queue, but why >> > fragment 0 routed to different queue? This is software (driver, >> > netmap) issuse? Or this is hardware (silicon) isssuse? >> > >> > What about Intel 10G/40G cards? Chelsio? >> > >> > _______________________________________________ >> > freebsd-net@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net >> > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"