dsa.h (dfa6692104fa170fa3e97d696c6f5e9370e3c520) | dsa.h (1dc0408cdf3caf3a8b8ad97c831ae52d2ab5b953) |
---|---|
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 --- 294 unchanged lines hidden (view full) --- 303 304 /* Pass .port_vlan_add and .port_vlan_del to drivers even for bridges 305 * that have vlan_filtering=0. All drivers should ideally set this (and 306 * then the option would get removed), but it is unknown whether this 307 * would break things or not. 308 */ 309 bool configure_vlan_while_not_filtering; 310 | 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 --- 294 unchanged lines hidden (view full) --- 303 304 /* Pass .port_vlan_add and .port_vlan_del to drivers even for bridges 305 * that have vlan_filtering=0. All drivers should ideally set this (and 306 * then the option would get removed), but it is unknown whether this 307 * would break things or not. 308 */ 309 bool configure_vlan_while_not_filtering; 310 |
311 /* If the switch driver always programs the CPU port as egress tagged 312 * despite the VLAN configuration indicating otherwise, then setting 313 * @untag_bridge_pvid will force the DSA receive path to pop the bridge's 314 * default_pvid VLAN tagged frames to offer a consistent behavior 315 * between a vlan_filtering=0 and vlan_filtering=1 bridge device. 316 */ 317 bool untag_bridge_pvid; 318 |
|
311 /* In case vlan_filtering_is_global is set, the VLAN awareness state 312 * should be retrieved from here and not from the per-port settings. 313 */ 314 bool vlan_filtering; 315 316 /* MAC PCS does not provide link state change interrupt, and requires 317 * polling. Flag passed on to PHYLINK. 318 */ --- 599 unchanged lines hidden --- | 319 /* In case vlan_filtering_is_global is set, the VLAN awareness state 320 * should be retrieved from here and not from the per-port settings. 321 */ 322 bool vlan_filtering; 323 324 /* MAC PCS does not provide link state change interrupt, and requires 325 * polling. Flag passed on to PHYLINK. 326 */ --- 599 unchanged lines hidden --- |