From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 82672A052A; Thu, 26 Nov 2020 12:28:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC02FC950; Thu, 26 Nov 2020 12:28:17 +0100 (CET) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by dpdk.org (Postfix) with ESMTP id ADFCEC93E for ; Thu, 26 Nov 2020 12:28:16 +0100 (CET) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 2A5B57F526; Thu, 26 Nov 2020 14:28:15 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 2A5B57F526 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1606390095; bh=Qm/WewnhID1IYTNmo60POTEt49hXZD+cMBALhJRPe6Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=nhEoLBblU0CPpm6313+G32YFf2BI+IDapy4C3mFgKJOloBAvnGtpMr7baVv7M6JNw EpkpnG8ACDHx33QrC4ct44pgXwDc6nTiJusidoC3JO46qKJ4MSP0tx6+pYdnolssE0 0bnvoMPojJc3QQA70RvOBP6yUOSK9cb9ByXvDj4w= To: Ferruh Yigit , Ray Kinsella , Neil Horman Cc: dev@dpdk.org, Konstantin Ananyev , Thomas Monjalon , Andrew Rybchenko , Matan Azrad , Olivier Matz , Jerin Jacob References: <20201020120305.1516513-1-ferruh.yigit@intel.com> <20201124173628.1057348-1-ferruh.yigit@intel.com> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: Date: Thu, 26 Nov 2020 14:28:15 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20201124173628.1057348-1-ferruh.yigit@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [RFC v2] doc: announce max Rx packet len field deprecation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 11/24/20 8:36 PM, Ferruh Yigit wrote: > Signed-off-by: Ferruh Yigit > Acked-by: Konstantin Ananyev A couple of questions below, but anyway: Acked-by: Andrew Rybchenko > --- > Cc: Thomas Monjalon > Cc: Andrew Rybchenko > Cc: Konstantin Ananyev > Cc: Matan Azrad > Cc: Olivier Matz > Cc: Jerin Jacob > > v2: > * ``uint32_t mtu`` moved to ``struct rte_eth_conf`` > * The "Driver is responsible from updating ``(struct > rte_eth_dev)->data->mtu``" updated because ethdev layer also can do > this. The intention there was both APIs should update the variable. > > Another open question is from Andrew, if we can remove the ``uint32_t > max_rx_pkt_len`` completely from the ``rte_eth_dev_configure()``. > This may force applications to have one more additional > ``rte_eth_dev_set_mtu()`` call for device initialization, but if > applications are OK with the default values most of times, agree that > removing is easier solution, please comment. Still valid plus I'd remove JUMBO_FRAME offload since it is redundant. We have max_mtu and max_rx_pktlen in dev_info.