From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mbuf: move headers not fragmented check to checksum Date: Tue, 02 Apr 2019 16:48:36 +0200 Message-ID: <6219052.IxoQv6UQpG@xps> References: <1548751746-16030-1-git-send-email-arybchenko@solarflare.com> <1553866934-21871-1-git-send-email-arybchenko@solarflare.com> <20190329141852.h2kr3axi4cqdix6n@platinum> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Olivier Matz , Tomasz Kulasek , Konstantin Ananyev To: Andrew Rybchenko Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 8BC202B99 for ; Tue, 2 Apr 2019 16:48:39 +0200 (CEST) In-Reply-To: <20190329141852.h2kr3axi4cqdix6n@platinum> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 29/03/2019 15:18, Olivier Matz: > On Fri, Mar 29, 2019 at 01:42:14PM +0000, Andrew Rybchenko wrote: > > rte_validate_tx_offload() is used in Tx prepare callbacks > > (RTE_LIBRTE_ETHDEV_DEBUG only) to check Tx offloads consistency. > > Requirement that packet headers should not be fragmented is not > > documented and unclear where it comes from except > > rte_net_intel_cksum_prepare() functions which relies on it. > > > > It could be NIC vendor specific driver or hardware limitation, but, > > if so, it should be documented and checked in corresponding Tx > > prepare callbacks. > > > > Signed-off-by: Andrew Rybchenko > > Acked-by: Olivier Matz > > Thanks! Applied with a more explicit title: mbuf: remove Intel offload checks from generic API