From mboxrd@z Thu Jan 1 00:00:00 1970 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=-7.0 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 24874C433E7 for ; Tue, 21 Jul 2020 16:38:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0CB2D20720 for ; Tue, 21 Jul 2020 16:38:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730390AbgGUQig (ORCPT ); Tue, 21 Jul 2020 12:38:36 -0400 Received: from inva021.nxp.com ([92.121.34.21]:38952 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730373AbgGUQid (ORCPT ); Tue, 21 Jul 2020 12:38:33 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 1C2B0201634; Tue, 21 Jul 2020 18:38:32 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 03E9020162D; Tue, 21 Jul 2020 18:38:32 +0200 (CEST) Received: from fsr-ub1864-126.ea.freescale.net (fsr-ub1864-126.ea.freescale.net [10.171.82.212]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id BF638202A9; Tue, 21 Jul 2020 18:38:31 +0200 (CEST) From: Ioana Ciornei To: davem@davemloft.net Cc: netdev@vger.kernel.org, Ioana Ciornei Subject: [PATCH net-next 0/3] dpaa2-eth: add support for TBF offload Date: Tue, 21 Jul 2020 19:38:22 +0300 Message-Id: <20200721163825.9462-1-ioana.ciornei@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch set adds support for TBF offload in dpaa2-eth. The first patch restructures how the .ndo_setup_tc() callback is implemented (each Qdisc is treated in a separate function), the second patch just adds the necessary APIs for configuring the Tx shaper and the last one is handling TC_SETUP_QDISC_TBF and configures as requested the shaper. Ioana Ciornei (3): dpaa2-eth: move the mqprio setup into a separate function dpaa2-eth: add API for Tx shaping dpaa2-eth: add support for TBF offload .../net/ethernet/freescale/dpaa2/dpaa2-eth.c | 65 +++++++++++++++++-- .../net/ethernet/freescale/dpaa2/dpaa2-eth.h | 3 + .../net/ethernet/freescale/dpaa2/dpni-cmd.h | 13 ++++ drivers/net/ethernet/freescale/dpaa2/dpni.c | 36 ++++++++++ drivers/net/ethernet/freescale/dpaa2/dpni.h | 16 +++++ 5 files changed, 126 insertions(+), 7 deletions(-) -- 2.25.1