mirror of
https://github.com/torvalds/linux.git
synced 2026-10-17 14:30:03 +02:00
Add support for offloading the RSTP switch feature to the PRU-ICSS subsystem by adding switchdev support. PRU-ICSS is capable of operating in RSTP switch mode with two external ports and one host port. PRUETH driver and firmware interface support will be added into icssm_prueth in the subsequent commits. Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Basharath Hussain Khaja <basharath@couthit.com> Signed-off-by: Parvathi Pudi <parvathi@couthit.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260130124559.1182780-3-parvathi@couthit.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
14 lines
458 B
C
14 lines
458 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com
|
|
*/
|
|
|
|
#ifndef __NET_TI_ICSSM_SWITCHDEV_H
|
|
#define __NET_TI_ICSSM_SWITCHDEV_H
|
|
|
|
#include "icssm_prueth.h"
|
|
|
|
int icssm_prueth_sw_register_notifiers(struct prueth *prueth);
|
|
void icssm_prueth_sw_unregister_notifiers(struct prueth *prueth);
|
|
bool icssm_prueth_sw_port_dev_check(const struct net_device *ndev);
|
|
#endif /* __NET_TI_ICSSM_SWITCHDEV_H */
|