summaryrefslogtreecommitdiffstats
path: root/drivers/fmc
diff options
context:
space:
mode:
authorPetr Machata2018-02-27 14:53:43 +0100
committerDavid S. Miller2018-02-27 20:46:27 +0100
commit7b2ef81fd2bd4d01fc4890fb22c4dcfe76dd8c77 (patch)
treec333776569223a4fa2bcd53adf2eca1c0bc872dd /drivers/fmc
parentmlxsw: spectrum_span: Initialize span_entry.id eagerly (diff)
downloadkernel-qcow2-linux-7b2ef81fd2bd4d01fc4890fb22c4dcfe76dd8c77.tar.gz
kernel-qcow2-linux-7b2ef81fd2bd4d01fc4890fb22c4dcfe76dd8c77.tar.xz
kernel-qcow2-linux-7b2ef81fd2bd4d01fc4890fb22c4dcfe76dd8c77.zip
mlxsw: spectrum_span: Extract mlxsw_sp_span_entry_{de, }configure()
Configuring the hardware for encapsulated SPAN involves more code than the simple mirroring case. Extract the related code to a separate function to separate it from the rest of SPAN entry creation. Extract deconfigure as well for symmetry, even though disablement is the same regardless of SPAN type. Signed-off-by: Petr Machata <petrm@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions