From patchwork Thu Nov 21 15:20:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Lakkireddy X-Patchwork-Id: 1198998 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=chelsio.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 47Jk4q5D8cz9sPK for ; Fri, 22 Nov 2019 02:29:31 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726563AbfKUP3a (ORCPT ); Thu, 21 Nov 2019 10:29:30 -0500 Received: from stargate.chelsio.com ([12.32.117.8]:32885 "EHLO stargate.chelsio.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726293AbfKUP3a (ORCPT ); Thu, 21 Nov 2019 10:29:30 -0500 Received: from localhost (scalar.blr.asicdesigners.com [10.193.185.94]) by stargate.chelsio.com (8.13.8/8.13.8) with ESMTP id xALFTHVl009018; Thu, 21 Nov 2019 07:29:18 -0800 From: Rahul Lakkireddy To: netdev@vger.kernel.org, linux-crypto@vger.kernel.org Cc: davem@davemloft.net, herbert@gondor.apana.org.au, nirranjan@chelsio.com, atul.gupta@chelsio.com, vishal@chelsio.com, dt@chelsio.com Subject: [PATCH net-next 0/3] cxgb4: add UDP Segmentation Offload support Date: Thu, 21 Nov 2019 20:50:46 +0530 Message-Id: X-Mailer: git-send-email 2.5.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series of patches add UDP Segmentation Offload (USO) supported by Chelsio T5/T6 NICs. Patch 1 updates the current Scatter Gather List (SGL) DMA unmap logic for USO requests. Patch 2 adds USO support for NIC and MQPRIO QoS offload Tx path. Patch 3 adds missing stats for MQPRIO QoS offload Tx path. Thanks, Rahul Rahul Lakkireddy (3): cxgb4/chcr: update SGL DMA unmap for USO cxgb4: add UDP segmentation offload support cxgb4: add stats for MQPRIO QoS offload Tx path drivers/crypto/chelsio/chcr_ipsec.c | 27 +- drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 21 +- .../ethernet/chelsio/cxgb4/cxgb4_debugfs.c | 2 + .../ethernet/chelsio/cxgb4/cxgb4_ethtool.c | 16 +- .../net/ethernet/chelsio/cxgb4/cxgb4_main.c | 11 +- .../ethernet/chelsio/cxgb4/cxgb4_tc_mqprio.c | 2 +- drivers/net/ethernet/chelsio/cxgb4/sge.c | 290 ++++++++++-------- drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h | 14 +- 8 files changed, 218 insertions(+), 165 deletions(-)