From patchwork Tue Sep 22 17:44:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rohit Maheshwari X-Patchwork-Id: 260386 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E0329C4363D for ; Tue, 22 Sep 2020 17:56:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AFF4A2376F for ; Tue, 22 Sep 2020 17:56:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726748AbgIVR4q (ORCPT ); Tue, 22 Sep 2020 13:56:46 -0400 Received: from stargate.chelsio.com ([12.32.117.8]:18438 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726526AbgIVR4q (ORCPT ); Tue, 22 Sep 2020 13:56:46 -0400 X-Greylist: delayed 696 seconds by postgrey-1.27 at vger.kernel.org; Tue, 22 Sep 2020 13:56:46 EDT Received: from localhost.localdomain (redhouse.blr.asicdesigners.com [10.193.185.57]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id 08MHj2cS031036; Tue, 22 Sep 2020 10:45:03 -0700 From: Rohit Maheshwari To: netdev@vger.kernel.org, davem@davemloft.net Cc: kuba@kernel.org, secdev@chelsio.com, Rohit Maheshwari Subject: [net-next 0/3] cxgb4/ch_ktls: updates in net-next Date: Tue, 22 Sep 2020 23:14:58 +0530 Message-Id: <20200922174501.14943-1-rohitm@chelsio.com> X-Mailer: git-send-email 2.18.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series of patches improves connections setup and statistics. This series is broken down as follows: Patch 1 fixes the handling of connection setup failure in HW. Driver shouldn't return success to tls_dev_add, until HW returns success. Patch 2 avoids the log flood. Patch 3 adds ktls statistics at port level. Rohit Maheshwari (3): ch_ktls: Issue if connection offload fails cxgb4: Avoid log flood cxgb4/ch_ktls: ktls stats are added at port level .../ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 35 +-- .../ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 50 +++- .../net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 8 +- .../net/ethernet/chelsio/cxgb4/cxgb4_uld.h | 21 +- .../chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 278 +++++++++--------- .../chelsio/inline_crypto/ch_ktls/chcr_ktls.h | 15 +- 6 files changed, 206 insertions(+), 201 deletions(-)