From patchwork Fri Feb 20 13:57:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 44862 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2BF9921554 for ; Fri, 20 Feb 2015 13:58:15 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf4255976lbv.1 for ; Fri, 20 Feb 2015 05:58:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references: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=6IiPyKrhA5daCIMXZQn66d9LgYR4fSRBC6di+MNleGk=; b=c6EaSSE54B2mtDTgHYQkcI4GjKwaUwF0JdJyJvbWS3xfdB/cEdhGqlun71im45Hl7b w2Jp5LkNiGWLqQpvM4tsFLlVTFXrqzVbgD45a8qKpom3LqWFMaPDFgrvf2/ijTzL2cS0 LYL18FBrME1taRaOUydrl19ZML9qulWV2DScKyAjBhoPHT/RaHObjiHl1i3Ke7m6KnGR /y7yjBodZN1GPQeHYVJDJNJKor5fTp5YbVB7hKSB0v8/zC70nD3Fsq1hmKQZHXa+0R84 F2VrqgdE0ND1BNSAtUuMe+SQjafpHCagciUvtsJ7I4xMACcS7+Vz79VFE5MDbq3emcBU zXJQ== X-Gm-Message-State: ALoCoQlax2/YKwOfBsufSUoU59bdegOK1C8Du9BEy1y7rE/Ske37sOYWCISCOsjCPHDQxf/rcCMY X-Received: by 10.180.80.35 with SMTP id o3mr371535wix.0.1424440693924; Fri, 20 Feb 2015 05:58:13 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.68 with SMTP id y4ls288231lay.12.gmail; Fri, 20 Feb 2015 05:58:13 -0800 (PST) X-Received: by 10.112.173.202 with SMTP id bm10mr8680749lbc.24.1424440693705; Fri, 20 Feb 2015 05:58:13 -0800 (PST) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id lc6si7644088lac.25.2015.02.20.05.58.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 05:58:13 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by labgq15 with SMTP id gq15so6270872lab.3 for ; Fri, 20 Feb 2015 05:58:13 -0800 (PST) X-Received: by 10.112.42.225 with SMTP id r1mr5111275lbl.72.1424440693623; Fri, 20 Feb 2015 05:58:13 -0800 (PST) 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.35.133 with SMTP id h5csp1173254lbj; Fri, 20 Feb 2015 05:58:13 -0800 (PST) X-Received: by 10.140.28.97 with SMTP id 88mr23291897qgy.6.1424440692404; Fri, 20 Feb 2015 05:58:12 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id q204si19550266qha.74.2015.02.20.05.58.11 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 20 Feb 2015 05:58:12 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YOo5p-0005xH-50; Fri, 20 Feb 2015 13:58:09 +0000 Received: from mail-la0-f49.google.com ([209.85.215.49]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YOo5i-0005wt-06 for lng-odp@lists.linaro.org; Fri, 20 Feb 2015 13:58:02 +0000 Received: by labgq15 with SMTP id gq15so6269131lab.3 for ; Fri, 20 Feb 2015 05:57:55 -0800 (PST) X-Received: by 10.152.26.199 with SMTP id n7mr8479751lag.29.1424440675344; Fri, 20 Feb 2015 05:57:55 -0800 (PST) Received: from localhost.localdomain (broadband-46-188-125-106.2com.net. [46.188.125.106]) by mx.google.com with ESMTPSA id uf3sm5507353lbc.44.2015.02.20.05.57.53 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Feb 2015 05:57:54 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Fri, 20 Feb 2015 16:57:46 +0300 Message-Id: <1424440666-30218-2-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 In-Reply-To: <1424440666-30218-1-git-send-email-maxim.uvarov@linaro.org> References: <1424440666-30218-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/2] linux-generic: jumbo frames raw sockets (obsolete after Bills patch) X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 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-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@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.215.41 as permitted sender) smtp.mail=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 This patch is not needed, has to be fixed after Bills patches come in. I leve it here for case if smbd. will like to test that patches. Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_buffer_pool.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/linux-generic/odp_buffer_pool.c b/platform/linux-generic/odp_buffer_pool.c index f8e35b4..c6d1585 100644 --- a/platform/linux-generic/odp_buffer_pool.c +++ b/platform/linux-generic/odp_buffer_pool.c @@ -283,9 +283,7 @@ odp_pool_t odp_pool_create(const char *name, pool->s.flags.unsegmented = unseg; pool->s.flags.zeroized = zeroized; - pool->s.seg_size = unseg ? - blk_size : ODP_CONFIG_PACKET_SEG_LEN_MIN; - + pool->s.seg_size = blk_size; uint8_t *block_base_addr = pool->s.pool_base_addr; uint8_t *mdata_base_addr =