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=-2.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_NEOMUTT 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 6AEC5C43381 for ; Sat, 23 Feb 2019 20:40:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1E87320651 for ; Sat, 23 Feb 2019 20:40:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="FirkAFZh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726760AbfBWUkw (ORCPT ); Sat, 23 Feb 2019 15:40:52 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:36374 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbfBWUkv (ORCPT ); Sat, 23 Feb 2019 15:40:51 -0500 Received: by mail-pl1-f193.google.com with SMTP id k2so2670363plt.3 for ; Sat, 23 Feb 2019 12:40:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FS1qiIPMm4slkqqxIBiPV1bMgKLbToDuwOcEo+3Vdk0=; b=FirkAFZhHiLWIzrsDLJ8RqSQQzq6IPSEMWLOmDHhUEH/7cXjKvEBmOZwrvogKEiwHi ndXYDB8DmHqDav2REr5SpxA9+PFUuzU4u2GXCuWEOvJoVdN/CjpUf3LQNty4CAHpejMC 03OozIp4Q8O84+mwonp+W20TRX1p/JQsUhL9Z7lFnvZh2yo8l7LfOJts4iMWUwZXCKZt QHQ9OuPElpGe1bxXW5/wkrw7S1zCa070W/R8gTvO2qhx7+1D72IjHZIh6EW+v5TtDsJ9 RnYiph/pvTkfCrstiE69XDMa1lusr6adumlDne3ImGD85xws3TL2hhyskFVTuud3lJ92 kizQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FS1qiIPMm4slkqqxIBiPV1bMgKLbToDuwOcEo+3Vdk0=; b=ZglfXgYiLL9rAOpKfFr89WjEN83AHCCuhyX1r19rFx6W/bYXEskP47MvltxZujW5j4 XtGIadP77b0ftAZ1KJaSLO+ZchnU2kVnqAyXK1FCv4dzUzve8Z6ABPCPDzMbhmBttFde jghXZWxdyuDYbLc7iizvPTQsEOoLadhJrhfC9CF+yyUxdbP7bH2vbzUle9vzWLFXXRYW +Y5Sso2Ta3Pqb2ro98uqtpS/MH5bhDzRBG6aGjz0jlNaC9e1yKAHxthRJ2G7TBmMFBdi qvGg2Lm+xivfbyupf0xI5JgoUiVUpoliF8xup8Uu/6L7EH0bjMbwNMI285V0V9UsD43P iXJA== X-Gm-Message-State: AHQUAuaUq91bgoX2Ct2aONGgP68WDufVDo+z8iiK/COkyNU5OTyaM5Z7 dthiBEqJhqVzMccIK8IFYas= X-Google-Smtp-Source: AHgI3IaZFPmJdCMk1ce20SVxwxG0nRog2tfRzGdLh3U6GJF289wv5OMqyab/TZ0MiDXXPD2zp/50Tw== X-Received: by 2002:a17:902:241:: with SMTP id 59mr10806581plc.72.1550954450645; Sat, 23 Feb 2019 12:40:50 -0800 (PST) Received: from ast-mbp.dhcp.thefacebook.com ([2620:10d:c090:180::1:79ba]) by smtp.gmail.com with ESMTPSA id g71sm14504330pfg.157.2019.02.23.12.40.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Feb 2019 12:40:49 -0800 (PST) Date: Sat, 23 Feb 2019 12:40:47 -0800 From: Alexei Starovoitov To: Eric Dumazet Cc: David Ahern , brakmo , netdev , Martin Lau , Alexei Starovoitov , Daniel Borkmann , Kernel Team Subject: Re: [PATCH v2 bpf-next 0/9] bpf: Network Resource Manager (NRM) Message-ID: <20190223204046.zjvcxh7cgzshqllm@ast-mbp.dhcp.thefacebook.com> References: <20190223010703.678070-1-brakmo@fb.com> <184fd1a4-451e-2585-6aad-d9b0b10fd9aa@gmail.com> <2507e7b5-2ffa-e080-698a-18a7b0ee36ac@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2507e7b5-2ffa-e080-698a-18a7b0ee36ac@gmail.com> User-Agent: NeoMutt/20180223 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sat, Feb 23, 2019 at 10:39:53AM -0800, Eric Dumazet wrote: > > > On 02/22/2019 07:03 PM, David Ahern wrote: > > On 2/22/19 8:06 PM, brakmo wrote: > >> Network Resource Manager is a framework for limiting the bandwidth used > >> by v2 cgroups. It consists of 4 BPF helpers and a sample BPF program to > >> limit egress bandwdith as well as a sample user program and script to > >> simplify NRM testing. > > > > 'resource manager' is a really generic name. Since you are referring to > > bandwidth, how about renaming to Network Bandwidth Manager? > > > > Or just use the normal word for a policer ... > > Really this is beyond me that TCP experts can still push policers out there, > they are really a huge pain. hmm. please see our NRM presentation at LPC. It is a networking _resource_ management for cgroups. Bandwidth enforcement is a particular example. It's not a policer either.