dsa.h (cf536ea3c7eefb26082836eb7f930b293dd38345) dsa.h (5c5416f5d4c75fe6aba56f6c2c45a070b5e7cc78)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips
4 * Copyright (c) 2008-2009 Marvell Semiconductor
5 */
6
7#ifndef __LINUX_NET_DSA_H
8#define __LINUX_NET_DSA_H

--- 726 unchanged lines hidden (view full) ---

735
736 /*
737 * PTP functionality
738 */
739 int (*port_hwtstamp_get)(struct dsa_switch *ds, int port,
740 struct ifreq *ifr);
741 int (*port_hwtstamp_set)(struct dsa_switch *ds, int port,
742 struct ifreq *ifr);
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * include/net/dsa.h - Driver for Distributed Switch Architecture switch chips
4 * Copyright (c) 2008-2009 Marvell Semiconductor
5 */
6
7#ifndef __LINUX_NET_DSA_H
8#define __LINUX_NET_DSA_H

--- 726 unchanged lines hidden (view full) ---

735
736 /*
737 * PTP functionality
738 */
739 int (*port_hwtstamp_get)(struct dsa_switch *ds, int port,
740 struct ifreq *ifr);
741 int (*port_hwtstamp_set)(struct dsa_switch *ds, int port,
742 struct ifreq *ifr);
743 bool (*port_txtstamp)(struct dsa_switch *ds, int port,
744 struct sk_buff *clone);
743 void (*port_txtstamp)(struct dsa_switch *ds, int port,
744 struct sk_buff *skb);
745 bool (*port_rxtstamp)(struct dsa_switch *ds, int port,
746 struct sk_buff *skb, unsigned int type);
747
748 /* Devlink parameters, etc */
749 int (*devlink_param_get)(struct dsa_switch *ds, u32 id,
750 struct devlink_param_gset_ctx *ctx);
751 int (*devlink_param_set)(struct dsa_switch *ds, u32 id,
752 struct devlink_param_gset_ctx *ctx);

--- 332 unchanged lines hidden ---
745 bool (*port_rxtstamp)(struct dsa_switch *ds, int port,
746 struct sk_buff *skb, unsigned int type);
747
748 /* Devlink parameters, etc */
749 int (*devlink_param_get)(struct dsa_switch *ds, u32 id,
750 struct devlink_param_gset_ctx *ctx);
751 int (*devlink_param_set)(struct dsa_switch *ds, u32 id,
752 struct devlink_param_gset_ctx *ctx);

--- 332 unchanged lines hidden ---