/* * omap-pcm.h - OMAP PCM driver * * Copyright (C) 2014 Texas Instruments, Inc. * * Author: Peter Ujfalusi * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. */ #ifndef __OMAP_PCM_H__ #define __OMAP_PCM_H__ #if IS_ENABLED(CONFIG_SND_OMAP_SOC) int omap_pcm_platform_register(struct device *dev); #else static inline int omap_pcm_platform_register(struct device *dev) { return 0; } #endif /* CONFIG_SND_OMAP_SOC */ #endif /* __OMAP_PCM_H__ */ cgi/'>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-01-30 12:41:40 -0800
committerDavid S. Miller <davem@davemloft.net>2017-01-30 15:55:46 -0500
commitf50f212749e8a28803af3628acbeb85ee0458ed5 (patch)
tree788d02870180ae1bcb725eec81ca8f53b4568aaa /tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot
parent4be9993493bc7ee3fdf950a83bc050a3e6cf2a45 (diff)
net: dsa: Add plumbing for port mirroring
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. Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/rcutorture/configs/rcu/TREE07.boot')