From mboxrd@z Thu Jan 1 00:00:00 1970 From: Murali Karicheri Subject: Enable and configure storm prevention in a network device Date: Thu, 5 Apr 2018 16:14:49 -0400 Message-ID: <76c2b7c7-4f85-c81e-c928-e5650cc26b93@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: "open list:TI NETCP ETHERNET DRIVER" Return-path: Received: from lelnx194.ext.ti.com ([198.47.27.80]:44214 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752791AbeDEUMI (ORCPT ); Thu, 5 Apr 2018 16:12:08 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w35KC81B012002 for ; Thu, 5 Apr 2018 15:12:08 -0500 Received: from DLEE112.ent.ti.com (dlee112.ent.ti.com [157.170.170.23]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w35KC8D4004619 for ; Thu, 5 Apr 2018 15:12:08 -0500 Received: from [158.218.102.249] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w35KC7A4009866 for ; Thu, 5 Apr 2018 15:12:07 -0500 Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: Hello Netdev experts, Is there a standard way to implement and configure storm prevention in a Linux network device? Our NIC firmware has the capability to enable storm prevention which is implemented using a credit based scheme. The configuration is how many number of multicast + broadcast packets allowed in a certain period of time. Is there a standard way of passing this information from user space to driver? Thanks in advance for your input! -- Murali Karicheri Linux Kernel, Keystone