From patchwork Sat Oct 20 08:32:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hyong Youb Kim (hyonkim)" X-Patchwork-Id: 47093 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 599BB493D; Sat, 20 Oct 2018 10:32:58 +0200 (CEST) Received: from rcdn-iport-4.cisco.com (rcdn-iport-4.cisco.com [173.37.86.75]) by dpdk.org (Postfix) with ESMTP id 533732C28 for ; Sat, 20 Oct 2018 10:32:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1080; q=dns/txt; s=iport; t=1540024377; x=1541233977; h=from:to:cc:subject:date:message-id; bh=7H3ALFgsVgVL5r3T0EKbk/CY9CbV7unZFdmPrReIu3w=; b=mvsFlh/zpvxLkhvIn1jaJThQRBoyr5om07kEt/HWwNWZ4l+yzWAD6l0l IWh7jTp4E0BPsZaBEQY/Q5LFjWNquhY82XIoLFZKNHlivooWiQgj2Nc99 g/rDclBuPrnJMoiBDSKK05T3QwBqEqnaWYN3jSnv/T8W0a8EhEqGJOHPr I=; X-IronPort-AV: E=Sophos;i="5.54,403,1534809600"; d="scan'208";a="469004289" Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Oct 2018 08:32:56 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTP id w9K8WtmT012767; Sat, 20 Oct 2018 08:32:56 GMT Received: by cisco.com (Postfix, from userid 508933) id C0DB820F2001; Sat, 20 Oct 2018 01:32:55 -0700 (PDT) From: Hyong Youb Kim To: Ferruh Yigit Cc: dev@dpdk.org, John Daley , Hyong Youb Kim Date: Sat, 20 Oct 2018 01:32:46 -0700 Message-Id: <20181020083249.8187-1-hyonkim@cisco.com> X-Mailer: git-send-email 2.16.2 X-Outbound-SMTP-Client: 10.193.184.48, savbu-usnic-a.cisco.com X-Outbound-Node: alln-core-11.cisco.com Subject: [dpdk-dev] [PATCH 0/3] net/enic: minor bug fixes 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" Fix a couple bugs found during internal testing, and update the release notes, which was missing in previous patches. The second patch ("net/enic: add missing Tx offload flags") addresses a side effect from the following commit, which adds several previously existing flags (e.g. PKT_TX_IPV4) to PKT_TX_OFFLOAD_MASK. The enic driver, like a few other drivers, uses 'not-supported offload mask' derived from PKT_TX_OFFLOAD_MASK to detect bad mbufs in tx_pkt_prepare. And this mask needs an update to account for the added flags. At least i40e is also affected. commit ef28cfa73822 ("mbuf: fix Tx offload mask") Hyong Youb Kim (3): net/enic: fix supported packet types net/enic: add missing Tx offload flags doc: update release notes for the enic driver doc/guides/rel_notes/release_18_11.rst | 7 +++++++ drivers/net/enic/enic_ethdev.c | 30 +++++++++++++++++++++++++++--- drivers/net/enic/enic_main.c | 6 ++---- drivers/net/enic/enic_res.c | 2 ++ 4 files changed, 38 insertions(+), 7 deletions(-)