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=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,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 68A36C433FF for ; Tue, 6 Aug 2019 13:20:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E30420C01 for ; Tue, 6 Aug 2019 13:20:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="k8S+FzT0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730006AbfHFNUs (ORCPT ); Tue, 6 Aug 2019 09:20:48 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:39401 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbfHFNUr (ORCPT ); Tue, 6 Aug 2019 09:20:47 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 34A9E22012; Tue, 6 Aug 2019 09:20:44 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 06 Aug 2019 09:20:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=81kYzvmMIQOtXBjR2 DvWSgn3f3c4lQAtKfAQDT0a//Y=; b=k8S+FzT0fs7P5mZ5LE//tCnItxWbA8zin /l4xZoZxfUY71ydZTZ9yd8J7puF7VDdi7c+EKrpzggMu/vKNNpvqwkJrZhSuQyzP 9nYgqc0K88LlQoKjhVHKO3/SYduel/OwSVUKunHCiNco9rhQlBLLTJs2Tyl2tuug 27ZyeVnPhgOvhsTOnTZSXFqgcETpXtZKUQBn06WCU4v1jkuxNzp1lqjltFa40uoq Ij8gCBJ0SiDqlvCnynq6hWABmc9JtOsLtM/Cn6p3rWrZwbHLD/gsKE1RyG5ETGEY DLqJSfb6LbLzbnWz3pyE+bwYEAfe/0WecKLI2zPcM0TIA+teqqTNA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddruddutddgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepkfguohcuufgthhhimhhmvghluceoihguohhstghhsehiughoshgt hhdrohhrgheqnecuffhomhgrihhnpehoiihlrggsshdrohhrghenucfkphepudelfedrge ejrdduieehrddvhedunecurfgrrhgrmhepmhgrihhlfhhrohhmpehiughoshgthhesihgu ohhstghhrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from splinter.mtl.com (unknown [193.47.165.251]) by mail.messagingengine.com (Postfix) with ESMTPA id E3ED280068; Tue, 6 Aug 2019 09:20:40 -0400 (EDT) From: Ido Schimmel To: netdev@vger.kernel.org Cc: davem@davemloft.net, nhorman@tuxdriver.com, toke@redhat.com, jiri@mellanox.com, dsahern@gmail.com, mlxsw@mellanox.com, Ido Schimmel Subject: [PATCH net-next 0/6] drop_monitor: Various improvements and cleanups Date: Tue, 6 Aug 2019 16:19:50 +0300 Message-Id: <20190806131956.26168-1-idosch@idosch.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Ido Schimmel This patchset performs various improvements and cleanups in drop monitor with no functional changes intended. There are no changes in these patches relative to the RFC I sent two weeks ago [1]. A followup patchset will extend drop monitor with a packet alert mode in which the dropped packet is notified to user space instead of just a summary of recent drops. Subsequent patchsets will add the ability to monitor hardware originated drops via drop monitor. [1] https://patchwork.ozlabs.org/cover/1135226/ Ido Schimmel (6): drop_monitor: Use correct error code drop_monitor: Rename and document scope of mutex drop_monitor: Document scope of spinlock drop_monitor: Avoid multiple blank lines drop_monitor: Add extack support drop_monitor: Use pre_doit / post_doit hooks net/core/drop_monitor.c | 58 +++++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 20 deletions(-) -- 2.21.0