summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/prestera/prestera_ethtool.h
blob: 9eb18e99dea676514da5d942e3cda267f4e3bec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
/* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved. */

#ifndef __PRESTERA_ETHTOOL_H_
#define __PRESTERA_ETHTOOL_H_

#include <linux/ethtool.h>

struct prestera_port_event;
struct prestera_port;

extern const struct ethtool_ops prestera_ethtool_ops;

void prestera_ethtool_port_state_changed(struct prestera_port *port,
					 struct prestera_port_event *evt);

#endif /* _PRESTERA_ETHTOOL_H_ */