From patchwork Thu Aug 20 16:44:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stuart Haslam X-Patchwork-Id: 52599 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id AA43822E4F for ; Thu, 20 Aug 2015 16:44:34 +0000 (UTC) Received: by labpx14 with SMTP id px14sf13247975lab.1 for ; Thu, 20 Aug 2015 09:44:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=BKHJIVFmnywkcuauheanQzrPIptXCPl6H1qHc8LrXfg=; b=TYC/togyqjB4FkM0dMWHwugL3QA1Tl0S8STRowVoeEzUWQc8eY2+mhVn9zCqE26UOx 0wooWBUGh7hyY2hKTty39mlMQxwhDtwflRnG4iU6px1reRA2+61Qm85GnHGv+adYGJ08 UzSEmGOXHsDzeYBgEmxBrbCnOlbcq7OalXwx6CVlUzpzJvX06wW+7btOgAGB6uAv5jgA 4LH3Btl351tAccPeXvK9jdIB7kuvH0sTal2og17r1kK8fde+EFQFX/fV6Xc2Ncj5ADC3 gljP2VIbe2cqlLAlLw/+ubH2L15W4SsCUzwNoiXEg17U5Y+S+2xknOW6XQAfoYGl2LRp /Q+g== X-Gm-Message-State: ALoCoQnQHgHpPRiz44XKtZQhgURDKaCe4/7+3f4xJoSZz+FwLsdnwuzbRTkWYMZRyDVZHxeN2LLA X-Received: by 10.112.170.67 with SMTP id ak3mr1108377lbc.6.1440089073694; Thu, 20 Aug 2015 09:44:33 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.18.137 with SMTP id w9ls167568lad.102.gmail; Thu, 20 Aug 2015 09:44:33 -0700 (PDT) X-Received: by 10.112.62.133 with SMTP id y5mr3305166lbr.120.1440089073542; Thu, 20 Aug 2015 09:44:33 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com. [209.85.217.179]) by mx.google.com with ESMTPS id wn6si4056208lbb.70.2015.08.20.09.44.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Aug 2015 09:44:33 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by lbbtg9 with SMTP id tg9so27723375lbb.1 for ; Thu, 20 Aug 2015 09:44:33 -0700 (PDT) X-Received: by 10.152.43.194 with SMTP id y2mr3638260lal.29.1440089073449; Thu, 20 Aug 2015 09:44:33 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.162.200 with SMTP id yc8csp110963lbb; Thu, 20 Aug 2015 09:44:32 -0700 (PDT) X-Received: by 10.55.40.162 with SMTP id o34mr7334789qko.106.1440089072007; Thu, 20 Aug 2015 09:44:32 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id b67si8191219qhc.109.2015.08.20.09.44.31; Thu, 20 Aug 2015 09:44:31 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Received: by lists.linaro.org (Postfix, from userid 109) id 3A94262084; Thu, 20 Aug 2015 16:44:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id EFF8E62062; Thu, 20 Aug 2015 16:44:27 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 32D3662062; Thu, 20 Aug 2015 16:44:26 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by lists.linaro.org (Postfix) with ESMTPS id 7402661DEF for ; Thu, 20 Aug 2015 16:44:25 +0000 (UTC) Received: by widdq5 with SMTP id dq5so11428786wid.0 for ; Thu, 20 Aug 2015 09:44:24 -0700 (PDT) X-Received: by 10.180.23.162 with SMTP id n2mr14676119wif.8.1440089064713; Thu, 20 Aug 2015 09:44:24 -0700 (PDT) Received: from e106441.emea.arm.com ([2001:41d0:a:3cb4::abcd]) by smtp.gmail.com with ESMTPSA id pu6sm6281514wjc.34.2015.08.20.09.44.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Aug 2015 09:44:24 -0700 (PDT) From: Stuart Haslam To: lng-odp@lists.linaro.org Date: Thu, 20 Aug 2015 17:44:16 +0100 Message-Id: <1440089058-12833-1-git-send-email-stuart.haslam@linaro.org> X-Mailer: git-send-email 2.1.1 X-Topics: patch Subject: [lng-odp] [PATCH 1/3] linux-generic: pktio: increase MTU of loop interface X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stuart.haslam@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 There's no need to enforce an artificial MTU for the loop interface. Previously this value was reported but not enforced. Signed-off-by: Stuart Haslam --- platform/linux-generic/pktio/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/pktio/loop.c b/platform/linux-generic/pktio/loop.c index 188a9ee..55371f2 100644 --- a/platform/linux-generic/pktio/loop.c +++ b/platform/linux-generic/pktio/loop.c @@ -19,7 +19,7 @@ #include /* MTU to be reported for the "loop" interface */ -#define PKTIO_LOOP_MTU 1500 +#define PKTIO_LOOP_MTU INT_MAX /* MAC address for the "loop" interface */ static const char pktio_loop_mac[] = {0x02, 0xe9, 0x34, 0x80, 0x73, 0x01};