[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170130063615.GA1908@nanopsycho.orion>
Date: Mon, 30 Jan 2017 07:36:15 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, andrew@...n.ch,
vivien.didelot@...oirfairelinux.com, cphealy@...il.com,
jiri@...lanox.com
Subject: Re: [PATCH net-next v4 1/4] net: dsa: Add plumbing for port mirroring
Mon, Jan 30, 2017 at 05:30:23AM CET, f.fainelli@...il.com wrote:
>Add necessary plumbing at the slave network device level to have switch
>drivers implement ndo_setup_tc() and most particularly the cls_matchall
>classifier. We add support for two switch operations:
>
>port_add_mirror and port_del_mirror() which configure, on a per-port
>basis the mirror parameters requested from the cls_matchall classifier.
>
>Code is largely borrowed from the Mellanox Spectrum switch driver.
>
>Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists