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=-4.0 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 D32C9C43461 for ; Fri, 4 Sep 2020 08:31:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7C20F206C9 for ; Fri, 4 Sep 2020 08:31:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20150623.gappssmtp.com header.i=@resnulli-us.20150623.gappssmtp.com header.b="uwR7d883" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729871AbgIDIbr (ORCPT ); Fri, 4 Sep 2020 04:31:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729707AbgIDIbp (ORCPT ); Fri, 4 Sep 2020 04:31:45 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B6EAC061244 for ; Fri, 4 Sep 2020 01:31:45 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id c19so7007410wmd.1 for ; Fri, 04 Sep 2020 01:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=suUQ7WIdhqwk50H5z4NVhYXy4Z+GJL5LbpX6c91ONvA=; b=uwR7d883hwS/MxVq/iVHFyn41Py6PMltA9NnTLoDyfs3UmhEthSLsuocJh2y8uPXl1 wGJZeEGThQp9vUxYG6lowRI3HEH57RzvUuBuOKXHi+Ckb3aaJEG9fIUyArjFX2tUEEkq l1gyvp4gPHCEjDdyoCk8UgDejWdU0+yTWDES9lVEW5vWfsXPASR5/TkW5A5NaUMnXzfn v+E2H6yODiXHY3Le4pwF8xSTlkWjewKOvTQ4c5irP95PQ0eii15ywaeoO+NG8bo9bv7v 7FQJfvOUciYGqSPJDahBYxFdns3vO2zsglW1v91fOwC2z3UWWzjiKOvlm1WhqhdshnqL e3jw== 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; bh=suUQ7WIdhqwk50H5z4NVhYXy4Z+GJL5LbpX6c91ONvA=; b=oBJGKaBp+ns3DjpqbUnHEdRiwMDvNQP80CCwmdcgg4Mkkh+xG0ugcCaOohadtZK0lV IKB0W6QWtc3AiIV3c/X0AJUFAm/Y1wP16Ex+wverDWyFRJOq+KpPSRkmEDLDpHuApvt4 5mj7eDXvw1337dOahb9+PLi3blWd5NgtnaOWOsQOe5xX6P8oUbHUiNDGinau3cyBCpU3 4QbqR2A3F8TSmIcwYRsSmp+6ouNZXDBKhBeRPxRT3bmLySdV4REWg1Vy4a0dICjHJu6f lSC2veqWSRupa9efjG6rURk1W5LNLH/k1KPeo1cYKZBKZJ4C6ZuX5pX672xkQ1/6YWNr +ANw== X-Gm-Message-State: AOAM531ggOqcuKB7MRTOeb8IWnJ/jm79l53LCDkBNxhmPGZOqCtDa5rM J/8OqreNyApgTmgeIWqEYU0mLg== X-Google-Smtp-Source: ABdhPJxgbU2OSMZTygUl5y3oQwo+jX5kG7iwisav38Q0Rp8cjE9/3V0EaLimEQ/wED3plby2oeS71w== X-Received: by 2002:a1c:31d7:: with SMTP id x206mr6136139wmx.2.1599208303412; Fri, 04 Sep 2020 01:31:43 -0700 (PDT) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id q18sm9835871wre.78.2020.09.04.01.31.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 01:31:42 -0700 (PDT) Date: Fri, 4 Sep 2020 10:31:41 +0200 From: Jiri Pirko To: Thomas Falcon Cc: netdev@vger.kernel.org, jiri@nvidia.com Subject: Re: Exposing device ACL setting through devlink Message-ID: <20200904083141.GE2997@nanopsycho.orion> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Thu, Sep 03, 2020 at 07:59:45PM CEST, tlfalcon@linux.ibm.com wrote: >Hello, I am trying to expose MAC/VLAN ACL and pvid settings for IBM VNIC devices to administrators through devlink (originally through sysfs files, but that was rejected in favor of devlink). Could you give any tips on how you might go about doing this? Tom, I believe you need to provide more info about what exactly do you need to setup. But from what you wrote, it seems like you are looking for bridge/tc offload. The infra is already in place and drivers are implementing it. See mlxsw for example.