From patchwork Thu Apr 9 19:27:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 221301 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=-5.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 024C5C2BA19 for ; Thu, 9 Apr 2020 19:27:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BFC30206F5 for ; Thu, 9 Apr 2020 19:27:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZgCNo4Sb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726708AbgDIT1V (ORCPT ); Thu, 9 Apr 2020 15:27:21 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:38006 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725970AbgDIT1V (ORCPT ); Thu, 9 Apr 2020 15:27:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:References:Cc:To:From: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=+5HMUCNkBVOds9Hf/9KeHJiap771cuhlz8kud+ZiLWY=; b=ZgCNo4SbLps0p9NgnX6jSERIJy hDuO1WRGovf9VWVNfN2o58uSYQWFO4bBWZWzhNqlcCEYmqiaeWHMZSbrCwn/ra2EeJoyzJgKCiyGZ y7lNcbnCMFk+ZGSqPdUxxIOEO8sztcfkB/cOdtj4siwHTn2y8dGUu/6EHYdvu5sSi01VNMqes1QHR 3RakVPS5YeiNaS8vtrrmbR1nQ+FgzVCmuq4r1DvnMNzkgDXQvtNI9LDUyiBGe6kjZmKJJVyevmtpt i64gLnyTl9SZahWCTGDnBfS18fVDx1DGGtzJjxp0zXoYMA3omYHndtoqLQyLb2PqyfitR2fxvuOnc 28vGbA2Q==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jMcpa-0005Ge-SY; Thu, 09 Apr 2020 19:27:18 +0000 Subject: [PATCH net] docs: networking: add full DIM API From: Randy Dunlap To: Jakub Kicinski , davem@davemloft.net Cc: netdev@vger.kernel.org, kernel-team@fb.com, talgi@mellanox.com, leon@kernel.org, jacob.e.keller@intel.com References: <20200409175704.305241-1-kuba@kernel.org> Message-ID: Date: Thu, 9 Apr 2020 12:27:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Randy Dunlap Add the full net DIM API to the net_dim.rst file. Signed-off-by: Randy Dunlap Cc: davem@davemloft.net Cc: Jakub Kicinski Cc: netdev@vger.kernel.org, talgi@mellanox.com, leon@kernel.org, jacob.e.keller@intel.com --- Applies on top of Jakub's patch: [PATCH net] docs: networking: convert DIM to RST I do have patches similar to Jakub's patch, but I haven't sent them yet. Anyway, the only significant difference it this small [optional] change. Documentation/networking/net_dim.rst | 6 ++++++ 1 file changed, 6 insertions(+) --- linux-next-20200409.orig/Documentation/networking/net_dim.rst +++ linux-next-20200409/Documentation/networking/net_dim.rst @@ -178,3 +178,9 @@ usage is not complete but it should make INIT_WORK(&my_entity->dim.work, my_driver_do_dim_work); ... } + +Dynamic Interrupt Moderation (DIM) library API +============================================== + +.. kernel-doc:: include/linux/dim.h + :internal: