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=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 A45C3C47E48 for ; Thu, 26 Sep 2019 11:44:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C129208C3 for ; Thu, 26 Sep 2019 11:44:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="GXexsKFu" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726841AbfIZLoY (ORCPT ); Thu, 26 Sep 2019 07:44:24 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:50653 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726184AbfIZLoY (ORCPT ); Thu, 26 Sep 2019 07:44:24 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 84BEC21B8B; Thu, 26 Sep 2019 07:44:23 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 26 Sep 2019 07:44:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=HQkMv389+W0vaHyRgQj+Lu+Gov3yBhv0Ji6dsPWgGWE=; b=GXexsKFu gfRs2Mpc0q8bjZPcyLMaviOPUjNgJJhsCXvPJANDeBJcQTVphy7rkAfUfdbE4PFI Ws8oTetoeKuCwUDKAx+hN7bUaRs7T0oEWC5EQQ6fcUt5qkCx63CGFuLZcMLjeZS4 gyXxGEdRPNIdzs/N07Zp7RHZtIMG7Kc9v1ThbpFf9WMt3Vsn6bU+WWFhVlNq9iGd BLMIwFtpkC+psyP4mzEUJmOMSupAWIlR64MCOZlRrYXpruhHRhKYEOK8Q0cFUBED RoODNaP1RF4BrXJHnUOO7KKWvu5GPCNs011S6oLRV8e4QLvFEQm7ad9RQToBhzri CjJ0cpx/iwRbXA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeeggdegfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtkeertd ertddtnecuhfhrohhmpefkughoucfutghhihhmmhgvlhcuoehiughoshgthhesihguohhs tghhrdhorhhgqeenucfkphepudelfedrgeejrdduieehrddvhedunecurfgrrhgrmhepmh grihhlfhhrohhmpehiughoshgthhesihguohhstghhrdhorhhgnecuvehluhhsthgvrhfu ihiivgepud X-ME-Proxy: Received: from splinter.mtl.com (unknown [193.47.165.251]) by mail.messagingengine.com (Postfix) with ESMTPA id 27FE680063; Thu, 26 Sep 2019 07:44:20 -0400 (EDT) From: Ido Schimmel To: netdev@vger.kernel.org Cc: davem@davemloft.net, jiri@mellanox.com, alexanderk@mellanox.com, mlxsw@mellanox.com, Ido Schimmel Subject: [PATCH net 2/3] Documentation: Clarify trap's description Date: Thu, 26 Sep 2019 14:43:39 +0300 Message-Id: <20190926114340.9483-3-idosch@idosch.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190926114340.9483-1-idosch@idosch.org> References: <20190926114340.9483-1-idosch@idosch.org> 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 Alex noted that the below description might not be obvious to all users. Clarify it by adding an example. Fixes: f3047ca01f12 ("Documentation: Add devlink-trap documentation") Reported-by: Alex Kushnarov Reviewed-by: Alex Kushnarov Acked-by: Jiri Pirko Signed-off-by: Ido Schimmel --- Documentation/networking/devlink-trap.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/networking/devlink-trap.rst b/Documentation/networking/devlink-trap.rst index c20c7c483664..8e90a85f3bd5 100644 --- a/Documentation/networking/devlink-trap.rst +++ b/Documentation/networking/devlink-trap.rst @@ -143,7 +143,8 @@ be added to the following table: * - ``port_list_is_empty`` - ``drop`` - Traps packets that the device decided to drop in case they need to be - flooded and the flood list is empty + flooded (e.g., unknown unicast, unregistered multicast) and there are + no ports the packets should be flooded to * - ``port_loopback_filter`` - ``drop`` - Traps packets that the device decided to drop in case after layer 2 -- 2.21.0