From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 57A2F7F54 for ; Thu, 30 Oct 2014 00:41:48 +0100 (CET) Received: by mail-wg0-f46.google.com with SMTP id x13so3054438wgg.33 for ; Wed, 29 Oct 2014 16:50:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=agPRt0eIf1bO8nwkScnHhTp93FnVG7NoyN3zCMwoeuQ=; b=PKO7jc7oIwTqeZ3tcIZ0/sq9qBWFLX9T6mYe5C0HVnvhy1B8dW9ac596D9E/pWXays Iz5jTQXbDhmOZiS9eLEuS04UHjYNOrYYaZJGfSA6ow5sjlwxme1Ok4OswBopc8RuxiqN djsdNi71x39JZT8zjUePsAwr9cdF6Z6DdU4ecPlUoNhCn7L8O72Zv5o1UD3OvELtrcZt 0AYb7DsH20hQqsxDbBnsCYBe7HWsuZ/1KI91XyumPtPYZKf/W4arlYLkjp/JfkQoYNmy 8F0yF4nLK9dJjP57fEtxYekRMcrOEFj2mVyksu5p5BkXGJkizARWApYPfMO7UetfSM2p szEw== X-Gm-Message-State: ALoCoQmW5+xqGKYAEJCxBu3HpFvGBgYUmJIkbZHhjtxNbr84vdjGfjt92reZkkGqbjdrss1Wlw8g X-Received: by 10.194.187.77 with SMTP id fq13mr3071227wjc.14.1414626641871; Wed, 29 Oct 2014 16:50:41 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id ic4sm20321099wid.19.2014.10.29.16.50.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 16:50:41 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Date: Thu, 30 Oct 2014 00:50:22 +0100 Message-ID: <2313497.2xT9A9VhmH@xps13> Organization: 6WIND User-Agent: KMail/4.14.2 (Linux/3.17.1-1-ARCH; KDE/4.14.2; x86_64; ; ) In-Reply-To: <20141028120115.GA20945@sivswdev02.ir.intel.com> References: <1413900943-27711-1-git-send-email-pablo.de.lara.guarch@intel.com> <1413976621-27430-1-git-send-email-pablo.de.lara.guarch@intel.com> <20141028120115.GA20945@sivswdev02.ir.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] librte_ip_frag: Disable ipv4/v6 fragmentation if RTE_MBUF_REFCNT=n X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 23:41:48 -0000 > > rte_ipv4_fragment_packet() and rte_ipv6_fragment packet() > > call rte_pktmbuf_attach() to attach the segment of the original > > packet to the segment of the new fragmented one. Such function > > is not declared if RTE_MBUF_REFCNT is disabled, as it needs to > > call rte_mbuf_refcnt_update, not declared either. > > > > Therefore, the ipv4/v6 fragmentation libraries are disabled > > in that situation. > > > > Signed-off-by: Pablo de Lara > > Acked-by: Sergio Gonzalez Monroy Applied Thanks -- Thomas