dsa.h (bfcb813203e619a8960a819bf533ad2a108d8105) dsa.h (bff33f7e2ae2e805a4b0af597b58422185c68900)
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

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

279 */
280 bool vlan_filtering;
281
282 /* MAC PCS does not provide link state change interrupt, and requires
283 * polling. Flag passed on to PHYLINK.
284 */
285 bool pcs_poll;
286
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

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

279 */
280 bool vlan_filtering;
281
282 /* MAC PCS does not provide link state change interrupt, and requires
283 * polling. Flag passed on to PHYLINK.
284 */
285 bool pcs_poll;
286
287 /* For switches that only have the MRU configurable. To ensure the
288 * configured MTU is not exceeded, normalization of MRU on all bridged
289 * interfaces is needed.
290 */
291 bool mtu_enforcement_ingress;
292
287 size_t num_ports;
288};
289
290static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p)
291{
292 struct dsa_switch_tree *dst = ds->dst;
293 struct dsa_port *dp;
294

--- 498 unchanged lines hidden ---
293 size_t num_ports;
294};
295
296static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p)
297{
298 struct dsa_switch_tree *dst = ds->dst;
299 struct dsa_port *dp;
300

--- 498 unchanged lines hidden ---