Received: by 2002:ac0:a874:0:0:0:0:0 with SMTP id c49csp286308ima; Fri, 15 Mar 2019 02:51:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdZovkfvJxwCRlSdVwOqxUzKNOz5i8DZvFxb1g4CvBH161iPrboTxFzoQ7s8kbmzGPaSAl X-Received: by 2002:a17:902:9f94:: with SMTP id g20mr3345952plq.0.1552643486511; Fri, 15 Mar 2019 02:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552643486; cv=none; d=google.com; s=arc-20160816; b=NrR9VLjqH/B8wjVQMTH3wawNJy8GEp65mQOUbu0SLIthdPIo5o/RPbzl7AuU7zBDgx r2ghwS7eNdIatBnRk7HzNpkz30R9SOs/UiENQd+fHmIaJd0CIogo38DE6osRK0ZHF0uA CYjG+rd0+4G0czwvg3OiQBUqS0Gx7ikVZhSz7rGwPA0Nls4jsWJZOSswTMFVa0QAdZpE e4Umql6+TO//yVUBx53baS+cXlI9qLOsngYlJlPdMprqwevePVFdAEu5I6L46HlctEgQ 5Pwx0yDk9RK7wwoEJ33x65twgHl+lbgSvDH1ybOKmat7qUZM8FTLsCBliLsZDaMQalqT FdWg== 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:from:references:cc:to:subject:dkim-signature; bh=k0qvWf4CkF+X0H/3b94l6BzjVDc88GRlBTv0z/W0dxw=; b=WhpXh8k/Kz5g0Jxc+b5/HAJvf/V+R7YrVHoDQnBt/kMhgn/OaUlqz1Knawmwh2qWQL 5icKUa8uyUJRhuacCsnR9moebdlQfmMAQyN8H8MyF2GfGkpulwbkCAr1jx5U/ZFWsFaG 5U63lYLZ7Ntk7yKbcnjAViy2gpyAUZXDcFlN5/YsbXvfpgjIE6Hy2W2tGwKp4RKN+ae/ J59z9dqizgQyRH2M3R5MVWHXs1GW01Ou0dW4cQoHugNIG8oJOmjF2Og4WCeXzsYL3AcP vn3jd1qUjByjGqeiuAMEuTKle8pL282iAkPLDf7Dlj/u5YbpVWwGxGqfX3B0xepi/7pR Mzug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=iDoMYGmJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p2si1426588plq.45.2019.03.15.02.51.11; Fri, 15 Mar 2019 02:51:26 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b=iDoMYGmJ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728777AbfCOJuV (ORCPT + 99 others); Fri, 15 Mar 2019 05:50:21 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:32804 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726886AbfCOJuV (ORCPT ); Fri, 15 Mar 2019 05:50:21 -0400 Received: from mailhost.synopsys.com (badc-mailhost1.synopsys.com [10.192.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id 5968310C25AB; Fri, 15 Mar 2019 02:50:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1552643420; bh=c+Qr1Ias9dKk1NS/aXZYKW+l14PZkCpHCox4/2k3HfY=; h=Subject:To:CC:References:From:Date:In-Reply-To:From; b=iDoMYGmJZnkvzl2kfBijvGZ5FPOFwJOuu+vUQQ47AxrEuycmzzdRB7vEFzVJRk2tR ao/QQN4Nyxnt9Vl3wffClQo5XBiTbO3PnHhWQmoxtY5WZG4Gtd3rApeUP1QoM+vM5v 77lu8F7j6dGWbwcwl8VytXtCYfeldGFtjh7v9huOecRh9r6X/RSl3KNyJN24V91nOE xF0ZVhG6vphGVopGtEZLf43qhIpga2Dfgy4+la84Bq0PsKBb4tbv1pp1x//dHD7/Sm ng6xyHjJShyqIOi0Zxf6iube+7zqvOK+sT9CCqgwBoktRPRVdcGQYiWtO1msQv9ZPB k6+zyfYppuU5A== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 06960A0071; Fri, 15 Mar 2019 09:50:18 +0000 (UTC) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 15 Mar 2019 02:50:18 -0700 Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by DE02WEHTCB.internal.synopsys.com (10.225.19.94) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 15 Mar 2019 10:50:16 +0100 Received: from [10.107.19.176] (10.107.19.176) by DE02WEHTCA.internal.synopsys.com (10.225.19.80) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 15 Mar 2019 10:50:16 +0100 Subject: Re: [PATCH 2/2] net: stmmac: fix jumbo frame sending with non-linear skbs To: Aaro Koskinen , "David S. Miller" , Giuseppe Cavallaro , Alexandre Torgue , Jose Abreu , Thor Thayer , , CC: Aaro Koskinen References: <20190314194320.25566-1-aaro.koskinen@iki.fi> <20190314194320.25566-2-aaro.koskinen@iki.fi> From: Jose Abreu Message-ID: <08a089e6-16a7-1f6c-e356-a5bcea360078@synopsys.com> Date: Fri, 15 Mar 2019 09:50:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190314194320.25566-2-aaro.koskinen@iki.fi> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.19.176] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/14/2019 7:43 PM, Aaro Koskinen wrote: > From: Aaro Koskinen > > When sending non-linear skbs with jumbo frames, we set up the non-paged > data and mark that as a last segment, although the paged fragments are > also prepared. This will stall the TX queue and trigger a watchdog warning > (a simple reproducer is to run an iperf client mode TCP test with a large > MTU - networking fails instantly). > > Fix by checking if the skb is non-linear. > > Signed-off-by: Aaro Koskinen Acked-by: Jose Abreu Thanks, Jose Miguel Abreu