lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4308ccd-4bd3-d8f5-e9d1-c6dcb16c57bc@gmail.com>
Date:   Thu, 16 Mar 2017 09:47:50 -0700
From:   Florian Fainelli <f.fainelli@...il.com>
To:     Maxim Uvarov <muvarov@...il.com>, netdev@...r.kernel.org
Subject: Re: port mirror on dsa switches?

Hi,

On 03/16/2017 03:32 AM, Maxim Uvarov wrote:
> Hello,
> 
> Some dsa switches can support port mirror in hardware. Does somebody
> have any idea how to
> work with it from linux side in generic way?

It has been implemented with commit
f50f212749e8a28803af3628acbeb85ee0458ed5 ("net: dsa: Add plumbing for
port mirroring") and you can see an implementation example with the b53
driver.

For a DSA driver you should be implementing port_mirror_add and
port_mirror_del operations which provide you with the necessary
information. Hopefully the switch you are working with (mv88e6xxx?) is
also supportable using that API, if not, please submit changes to extend it.

Thanks!
-- 
Florian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ