Received: by 10.213.65.68 with SMTP id h4csp1114670imn; Wed, 21 Mar 2018 03:02:45 -0700 (PDT) X-Google-Smtp-Source: AG47ELuqVyp8zYT75Jv+23aoGlMxNMkD1pXI6zt5I0kbjh8/HmKvDzbHx6zBBkuPakSCIaLaJL8j X-Received: by 10.99.117.73 with SMTP id f9mr54110pgn.242.1521626565684; Wed, 21 Mar 2018 03:02:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521626565; cv=none; d=google.com; s=arc-20160816; b=By5D2MvL7KAvVCHQ9xavJCRar8loLn6y8O1l/TPwST2VZyUtc9bvzR0SkbDlMsMsXi U3fnxA2Q2F2tZkBJCZnzsOSpupUpWcqaGXiqqwgoHwOBGkbxTYKZZlYSLQ/UU8TDRVKd dpEc9xmnx3eBoipcXdCY2dKmJJP9P/ygnteaO0qZyqzcLBOLO47ab3u9rlBfBj+a9pKp uKYOdFn9fn43SjFv3TFrHso2QXuzzkkqRRD71uiYV0KhatI65AV6dMnEMcOiVDVZfXLx IsDzrbLlbA7iPHtpsD+4aP330uZHnqNGVfhjy5GbXFHKRv5ydCyn/x8RGKX30IqpdqYM MhOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject:arc-authentication-results; bh=pTepr2Z3gP3FLXtJf1Rx9vu2ClOekr9zIi1q6LDPsmw=; b=nsDFGB9pkxgmT1ISu1hEiusSwGUKFTK9dKY/ciMH5RkyH8WT4E4Lbvg4aObRXchAKK I3wWi6Za9IvemeTTPFnjYuDfhKgm5cf1HgZrWU43CXToT21baLeG5SuYN/5ra4Ty70NZ 82it0CqcI0e3m2Gf8FBw950y4AXhfC+fBN+u4rhJtcMLxlAdlM3xHPh2Fzut+RCqlbsX uJqZ12Y96GUbag0wGJSqPGp78I0U7Frshuovwx8b/xRnRDMNPl+du7IkzxkntZPpj1dr AA//TiR7u6RF0CmYlFWjUlTXCm6w7ulkt2zrlSUZJVGxFfLoXe63uiS9/KpKQfb8+NWK fYfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v187si2847513pfv.25.2018.03.21.03.02.27; Wed, 21 Mar 2018 03:02:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751717AbeCUKBa (ORCPT + 99 others); Wed, 21 Mar 2018 06:01:30 -0400 Received: from vegas.theobroma-systems.com ([144.76.126.164]:45021 "EHLO mail.theobroma-systems.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751459AbeCUKB1 (ORCPT ); Wed, 21 Mar 2018 06:01:27 -0400 Received: from [86.59.122.178] (port=53760 helo=ju27.lan) by mail.theobroma-systems.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1eyaYX-0004EV-RI; Wed, 21 Mar 2018 11:01:17 +0100 Subject: Re: [bug, bisected] pfifo_fast causes packet reordering From: Jakob Unterwurzacher To: John Fastabend , Dave Taht Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , "linux-can@vger.kernel.org" , Martin Elshuber References: <946dbe16-a2eb-eca8-8069-468859ccc78d@theobroma-systems.com> <95844480-d020-9000-53ef-0da8b965ce6e@gmail.com> <3a959e50-8656-5d9c-97b9-227d733948f8@theobroma-systems.com> <5aeb54ba-2d96-4ab5-53c4-2d3691be7acc@gmail.com> <340a6c54-6031-5522-98f5-eafdd3a37a38@theobroma-systems.com> Message-ID: <00cc2d41-6861-9a9c-603f-ba8013b2e2ce@theobroma-systems.com> Date: Wed, 21 Mar 2018 11:01:17 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <340a6c54-6031-5522-98f5-eafdd3a37a38@theobroma-systems.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16.03.18 11:26, Jakob Unterwurzacher wrote: > On 15.03.18 23:30, John Fastabend wrote: >>> I have reproduced it using two USB network cards connected to each >>> other. The test tool sends UDP packets containing a counter and >>> listens on the other interface, it is available at >>> https://github.com/jakob-tsd/pfifo_stress/blob/master/pfifo_stress.py >> >> Great thanks, can you also run this with taskset to bind to >> a single CPU, >> >>   # taskset 0x1 ./pifof_stress.py >> >> And let me know if you still see the OOO. > > Interesting. Looks like it depends on which core it runs on. CPU0 is > clean, CPU1 is not. So we are at v4.16-rc6 now - have you managed to reproduce this is or should I try to get the revert correct? Best regards, Jakob