aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/port.c
AgeCommit message (Expand)AuthorFilesLines
10 daysnet: dsa: avoid calling ds->ops->port_hsr_leave() when unoffloadedVladimir Oltean1-0/+3
2025-05-09net: dsa: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()Vladimir Oltean1-7/+3
2024-12-11net: dsa: provide implementation of .support_eee()Russell King (Oracle)1-0/+16
2024-10-17net: dsa: remove dsa_port_phylink_mac_select_pcs()Russell King (Oracle)1-8/+0
2024-10-07net: dsa: remove obsolete phylink dsa_switch operationsRussell King (Oracle)1-33/+1
2024-06-10net: dsa: update the unicast MAC address when changing conduitMarek Behún1-0/+40
2024-05-29net: dsa: remove mac_prepare()/mac_finish() shimsRussell King (Oracle)1-32/+0
2024-05-01net: dsa: Remove adjust_link pathsFlorian Fainelli1-128/+11
2024-04-11net: dsa: allow DSA switch drivers to provide their own phylink mac opsRussell King (Oracle)1-6/+20
2024-04-11net: dsa: introduce dsa_phylink_to_port()Russell King (Oracle)1-6/+6
2023-10-24net: dsa: Use conduit and user termsFlorian Fainelli1-62/+62
2023-10-11net: dsa: remove dsa_port_phylink_validate()Russell King (Oracle)1-15/+0
2023-10-03net: dsa: propagate extack to ds->ops->port_hsr_join()Vladimir Oltean1-2/+3
2023-08-09net: dsa: mark parsed interface mode for legacy switch driversRussell King (Oracle)1-4/+8
2023-08-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+8
2023-07-27net: dsa: fix older DSA drivers using phylinkRussell King (Oracle)1-1/+8
2023-07-18net: dsa: remove legacy_pre_march2020 detectionRussell King (Oracle)1-41/+0
2023-05-26net: dsa: add support for mac_prepare() and mac_finish() callsRussell King (Oracle)1-0/+32
2023-04-03net: dsa: make dsa_port_supports_hwtstamp() construct a fake ifreqVladimir Oltean1-4/+6
2023-03-30net: dsa: fix db type confusion in host fdb/mdb add/delVladimir Oltean1-12/+12
2022-11-22net: dsa: move tag_8021q headers to their proper placeVladimir Oltean1-0/+1
2022-11-22net: dsa: rename dsa2.c back into dsa.c and create its headerVladimir Oltean1-1/+1
2022-11-22net: dsa: move headers exported by switch.c to switch.hVladimir Oltean1-0/+1
2022-11-22net: dsa: move headers exported by slave.c to slave.hVladimir Oltean1-0/+1
2022-11-22net: dsa: move headers exported by port.c to port.hVladimir Oltean1-0/+1
2022-11-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+16
2022-11-15net: dsa: remove phylink_validate() methodVladimir Oltean1-10/+8
2022-11-14net: dsa: make dsa_master_ioctl() see through port_hwtstamp_get() shimsVladimir Oltean1-0/+16
2022-10-09net: dsa: fix wrong pointer passed to PTR_ERR() in dsa_port_phylink_create()Yang Yingliang1-1/+1
2022-09-30net: dsa: don't leave dangling pointers in dp->pl when failingVladimir Oltean1-7/+15
2022-09-20net: dsa: allow masters to join a LAGVladimir Oltean1-0/+1
2022-09-20net: dsa: propagate extack to port_lag_joinVladimir Oltean1-0/+1
2022-09-20net: dsa: allow the DSA master to be seen and changed through rtnetlinkVladimir Oltean1-0/+130
2022-09-20net: dsa: introduce dsa_port_get_master()Vladimir Oltean1-14/+14
2022-08-22net: dsa: make phylink-related OF properties mandatory on DSA and CPU portsVladimir Oltean1-5/+167
2022-08-22net: dsa: rename dsa_port_link_{,un}register_ofVladimir Oltean1-9/+9
2022-08-17net: dsa: don't warn in dsa_port_set_state_now() when driver doesn't support itVladimir Oltean1-2/+5
2022-07-18net: dsa: fix NULL pointer dereference in dsa_port_reset_vlan_filteringVladimir Oltean1-2/+3
2022-07-18net: dsa: fix dsa_port_vlan_filtering when globalVladimir Oltean1-1/+1
2022-05-12net: dsa: felix: manage host flooding using a specific driver callbackVladimir Oltean1-0/+8
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+1
2022-05-09net: dsa: flush switchdev workqueue on bridge join error pathVladimir Oltean1-0/+1
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+2
2022-04-22net: dsa: Add missing of_node_put() in dsa_port_link_register_ofMiaoqian Lin1-0/+2
2022-04-20net: dsa: don't emit targeted cross-chip notifiers for MTU changeVladimir Oltean1-3/+1
2022-04-20net: dsa: make cross-chip notifiers more efficient for host eventsVladimir Oltean1-44/+20
2022-04-20net: dsa: move reset of VLAN filtering to dsa_port_switchdev_unsync_attrsVladimir Oltean1-3/+57
2022-03-17net: dsa: Handle MST state changesTobias Waldekranz1-8/+77
2022-03-17net: dsa: Pass VLAN MSTI migration notifications to driverTobias Waldekranz1-1/+15
2022-03-17net: dsa: Validate hardware support for MSTTobias Waldekranz1-0/+22
2022-03-03net: dsa: install secondary unicast and multicast addresses as host FDB/MDBVladimir Oltean1-40/+120
2022-03-03net: dsa: rename the host FDB and MDB methods to contain the "bridge" namespaceVladimir Oltean1-8/+8
2022-02-27net: dsa: pass extack to .port_bridge_join driver methodsVladimir Oltean1-0/+1
2022-02-27net: dsa: request drivers to perform FDB isolationVladimir Oltean1-1/+74
2022-02-24net: dsa: support FDB events on offloaded LAG interfacesVladimir Oltean1-0/+27
2022-02-24net: dsa: create a dsa_lag structureVladimir Oltean1-12/+50
2022-02-24net: dsa: rename references to "lag" as "lag_dev"Vladimir Oltean1-10/+10
2022-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-7/+22
2022-02-23net: dsa: Include BR_PORT_LOCKED in the list of synced brport flagsHans Schultz1-2/+2
2022-02-22net: dsa: fix panic when removing unoffloaded port from bridgeAlvin Šipraga1-1/+8
2022-02-22net: phy: phylink: fix DSA mac_select_pcs() introductionRussell King (Oracle)1-1/+1
2022-02-19net: dsa: avoid call to __dev_set_promiscuity() while rtnl_mutex isn't heldVladimir Oltean1-6/+14
2022-02-19net: dsa: remove pcs_pollRussell King (Oracle)1-1/+0
2022-02-18net: dsa: add support for phylink mac_select_pcs()Russell King (Oracle)1-0/+15
2022-02-17net: dsa: delete unused exported symbols for ethtool PHY statsVladimir Oltean1-57/+0
2022-02-16net: dsa: add explicit support for host bridge VLANsVladimir Oltean1-0/+42
2022-01-05net: dsa: remove cross-chip support for HSRVladimir Oltean1-16/+13
2022-01-05net: dsa: remove cross-chip support for MRPVladimir Oltean1-24/+20
2021-12-09net: dsa: mark DSA phylink as legacy_pre_march2020Russell King (Oracle)1-0/+7
2021-12-08net: dsa: eliminate dsa_switch_ops :: port_bridge_tx_fwd_{,un}offloadVladimir Oltean1-36/+3
2021-12-08net: dsa: keep the bridge_dev and bridge_num as part of the same structureVladimir Oltean1-32/+38
2021-12-08net: dsa: hide dp->bridge_dev and dp->bridge_num in the core behind helpersVladimir Oltean1-17/+18
2021-12-08net: dsa: assign a bridge number even without TX forwarding offloadVladimir Oltean1-26/+55
2021-12-08net: dsa: make dp->bridge_num one-basedVladimir Oltean1-5/+6
2021-12-01net: dsa: support use of phylink_generic_validate()Russell King (Oracle)1-1/+4
2021-12-01net: dsa: replace phylink_get_interfaces() with phylink_get_caps()Russell King (Oracle)1-3/+2
2021-12-01net: dsa: consolidate phylink creationRussell King (Oracle)1-16/+28
2021-11-01net: dsa: populate supported_interfaces memberMarek Behún1-0/+4
2021-10-26net: dsa: flush switchdev workqueue when leaving the bridgeVladimir Oltean1-0/+2
2021-10-21net: dsa: remove gratuitous use of dsa_is_{user,dsa,cpu}_portVladimir Oltean1-2/+2
2021-10-21net: dsa: remove the "dsa_to_port in a loop" antipattern from the coreVladimir Oltean1-10/+7
2021-08-24net: dsa: don't advertise 'rx-vlan-filter' when not neededVladimir Oltean1-2/+40
2021-08-24net: dsa: don't call switchdev_bridge_port_unoffload for unoffloaded bridge p...Vladimir Oltean1-0/+4
2021-08-23net: dsa: track unique bridge numbers across all DSA switch treesVladimir Oltean1-34/+5
2021-08-12net: dsa: tag_8021q: don't broadcast during setup/teardownVladimir Oltean1-4/+10
2021-08-12net: dsa: print more information when a cross-chip notifier failsVladimir Oltean1-6/+12
2021-08-09net: dsa: avoid fast ageing twice when port leaves a bridgeVladimir Oltean1-1/+3
2021-08-09net: dsa: still fast-age ports joining a bridge if they can't configure learningVladimir Oltean1-1/+17
2021-08-08net: dsa: flush the dynamic FDB of the software bridge when fast ageing a portVladimir Oltean1-0/+20
2021-08-08net: dsa: don't fast age bridge ports with learning turned offVladimir Oltean1-1/+1
2021-08-08net: dsa: centralize fast ageing when address learning is turned offVladimir Oltean1-4/+31
2021-08-08net: dsa: don't fast age standalone portsVladimir Oltean1-8/+12
2021-08-06net: dsa: don't disable multicast flooding to the CPU even without an IGMP qu...Vladimir Oltean1-11/+0
2021-08-06net: dsa: stop syncing the bridge mcast_router attribute at join timeVladimir Oltean1-10/+0
2021-07-26Revert "net: dsa: Allow drivers to filter packets they can decode source port...Vladimir Oltean1-1/+0
2021-07-23net: dsa: add support for bridge TX forwarding offloadVladimir Oltean1-1/+83
2021-07-23net: bridge: switchdev: allow the TX data plane forwarding to be offloadedTobias Waldekranz1-1/+1
2021-07-22net: bridge: move the switchdev object replay helpers to "push" modeVladimir Oltean1-68/+16
2021-07-22net: bridge: switchdev: let drivers inform which bridge ports are offloadedVladimir Oltean1-1/+15
2021-07-20net: dsa: tag_8021q: add proper cross-chip notifier supportVladimir Oltean1-0/+28
2021-06-29net: dsa: replay the local bridge FDB entries pointing to the bridge dev tooVladimir Oltean1-0/+12
2021-06-29net: dsa: install the host MDB and FDB entries in the master's RX filterVladimir Oltean1-0/+24
2021-06-29net: dsa: introduce a separate cross-chip notifier type for host FDBsVladimir Oltean1-0/+26
2021-06-29net: dsa: introduce a separate cross-chip notifier type for host MDBsVladimir Oltean1-0/+24
2021-06-28net: dsa: replay a deletion of switchdev objects for ports leaving a bridged LAGVladimir Oltean1-2/+43
2021-06-28net: bridge: allow the switchdev replay functions to be called for deletionVladimir Oltean1-7/+6
2021-06-28net: bridge: ignore switchdev events for LAG ports which didn't request replayVladimir Oltean1-3/+3
2021-06-21net: dsa: targeted MTU notifiers should only match on one portVladimir Oltean1-2/+2
2021-04-21net: dsa: fix bridge support for drivers without port_bridge_flags callbackOleksij Rempel1-1/+1
2021-03-23net: dsa: sync up switchdev objects and port attributes when joining the bridgeVladimir Oltean1-0/+46
2021-03-23net: dsa: inherit the actual bridge port flags at join timeVladimir Oltean1-41/+82
2021-03-23net: dsa: pass extack to dsa_port_{bridge,lag}_joinVladimir Oltean1-3/+5
2021-03-23net: dsa: call dsa_port_bridge_join when joining a LAG that is already in a b...Vladimir Oltean1-4/+18
2021-02-16net: dsa: add MRP supportHoratiu Vultur1-0/+48
2021-02-14net: dsa: propagate extack to .port_vlan_filteringVladimir Oltean1-7/+11
2021-02-14net: dsa: propagate extack to .port_vlan_addVladimir Oltean1-1/+3
2021-02-12net: dsa: act as passthrough for bridge port flagsVladimir Oltean1-17/+14
2021-02-12net: switchdev: pass flags and mask to both {PRE_,}BRIDGE_FLAGS attributesVladimir Oltean1-15/+19
2021-02-12net: dsa: configure better brport flags when ports leave the bridgeVladimir Oltean1-7/+38
2021-02-11net: dsa: add support for offloading HSRGeorge McCollister1-0/+34
2021-01-29net: dsa: allow changing the tag protocol via the "tagging" device attributeVladimir Oltean1-0/+8
2021-01-29net: dsa: document the existing switch tree notifiers and add a new oneVladimir Oltean1-23/+13
2021-01-14net: dsa: Link aggregation supportTobias Waldekranz1-0/+79
2021-01-11net: dsa: remove the transactional logic from ageing time notifiersVladimir Oltean1-5/+1
2021-01-11net: switchdev: remove the transaction structure from port attributesVladimir Oltean1-54/+43
2021-01-11net: switchdev: remove the transaction structure from port object notifiersVladimir Oltean1-6/+2
2020-10-05net: dsa: propagate switchdev vlan_filtering prepare phase to driversVladimir Oltean1-8/+9
2020-09-20net: dsa: allow 8021q uppers while the bridge has vlan_filtering=0Vladimir Oltean1-2/+44
2020-09-20net: dsa: refuse configuration in prepare phase of dsa_port_vlan_filtering()Vladimir Oltean1-7/+7
2020-09-11Revert "net: dsa: Add more convenient functions for installing port VLANs"Vladimir Oltean1-33/+0
2020-05-12net: dsa: provide an option for drivers to always receive bridge VLANsRussell King1-0/+14
2020-05-10net: dsa: permit cross-chip bridging between all trees in the systemVladimir Oltean1-2/+21
2020-04-14net: dsa: Down cpu/dsa ports phylink will controlAndrew Lunn1-1/+6
2020-03-27net: dsa: configure the MTU for switch portsVladimir Oltean1-0/+13
2020-03-15net: dsa: warn if phylink_mac_link_state returns errorRussell King1-1/+6
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-9/+35
2020-03-11net: dsa: Don't instantiate phylink for CPU/DSA ports unless neededAndrew Lunn1-3/+9
2020-03-03net: dsa: fix phylink_start()/phylink_stop() callsRussell King1-6/+26
2020-02-27net: dsa: propagate resolved link config via mac_link_up()Russell King1-1/+2
2020-02-27net: phylink: propagate resolved link config via mac_link_up()Russell King1-1/+3
2020-01-05net: dsa: Pass pcs_poll flag from driver to PHYLINKVladimir Oltean1-0/+1
2019-12-17net: dsa: Make PHYLINK related function static againFlorian Fainelli1-22/+16
2019-11-23net: phylink: rename mac_link_state() op to mac_pcs_get_state()Russell King1-8/+11
2019-11-04net: of_get_phy_mode: Change API to solve int/unit warningsAndrew Lunn1-6/+7
2019-08-27net: dsa: check bridge VLAN in slave operationsVivien Didelot1-8/+2
2019-08-27net: dsa: do not skip -EOPNOTSUPP in dsa_port_vid_addVivien Didelot1-2/+2
2019-08-17net: dsa: remove calls to genphy_config_initHeiner Kallweit1-5/+0
2019-07-09net: dsa: add support for BRIDGE_MROUTER attributeVivien Didelot1-0/+12
2019-06-14net: dsa: do not check orig_dev in vlan delVivien Didelot1-9/+0
2019-06-12net: dsa: Deal with non-existing PHY/fixed-linkFlorian Fainelli1-1/+1
2019-06-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-5/+1
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-29net: dsa: Use PHYLINK for the CPU/DSA portsIoana Ciornei1-6/+63
2019-05-29net: dsa: Move the phylink driver calls into port.cIoana Ciornei1-0/+100
2019-05-05net: dsa: Export symbols for dsa_port_vid_{add, del}Vladimir Oltean1-0/+2
2019-04-30net: dsa: Add more convenient functions for installing port VLANsVladimir Oltean1-0/+31
2019-04-30net: dsa: Skip calling .port_vlan_filtering on no changeVladimir Oltean1-0/+3
2019-04-30net: dsa: Keep the vlan_filtering setting in dsa_switch if it's globalVladimir Oltean1-1/+4
2019-04-30net: dsa: Be aware of switches where VLAN filtering is a global settingVladimir Oltean1-7/+45
2019-04-30net: dsa: Store vlan_filtering as a property of dsa_portVladimir Oltean1-4/+8
2019-03-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2019-02-25net: dsa: fix a leaked reference by adding missing of_node_putWen Yang1-0/+1
2019-02-24dsa: Remove phydev parameter from disable_port callAndrew Lunn1-2/+2
2019-02-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-3/+4
2019-02-22net: dsa: Add ndo_vlan_rx_{add, kill}_vid implementationFlorian Fainelli1-3/+9
2019-02-21net: dsa: Add setter for SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGSFlorian Fainelli1-0/+12
2019-02-21net: dsa: enable flooding for bridge portsRussell King1-3/+13
2019-02-21net: dsa: add support for bridge flagsRussell King1-0/+17
2019-02-20net: dsa: fix unintended change of bridge interface STP stateRussell King1-3/+4
2018-11-23rocker, dsa, ethsw: Don't filter VLAN events on bridge itselfPetr Machata1-3/+0
2018-05-31dsa: port: Ignore bridge VLAN eventsPetr Machata1-0/+6
2018-04-27net: dsa: Allow providing PHY statistics from CPU portFlorian Fainelli1-0/+57
2018-04-27net: dsa: Add helper function to obtain PHY device of a given portFlorian Fainelli1-11/+22
2018-01-23net: dsa: Support internal phy on 'cpu' portSebastian Reichel1-24/+79
2017-11-10net: dsa: Don't add vlans when vlan filtering is disabledAndrew Lunn1-2/+8
2017-11-10net: dsa: add more const attributesAndrew Lunn1-3/+3
2017-10-28net: dsa: move fixed link registration helpersVivien Didelot1-0/+47
2017-09-25net: dsa: add port enable and disable helpersVivien Didelot1-1/+30
2017-09-21net: dsa: add port fdb dumpVivien Didelot1-0/+11
2017-08-07net: dsa: Move FDB dump implementation inside DSAArkadi Sharshevsky1-11/+0
2017-08-07net: dsa: Remove redundant MDB dump supportArkadi Sharshevsky1-11/+0
2017-08-07net: dsa: Remove support for bypass bridge port attributes/vlan setArkadi Sharshevsky1-12/+0
2017-08-07net: dsa: Remove switchdev dependency from DSA switch notifier chainArkadi Sharshevsky1-6/+9
2017-08-07net: dsa: Remove prepare phase for FDBArkadi Sharshevsky1-3/+1
2017-05-24net: dsa: support cross-chip ageing timeVivien Didelot1-1/+0
2017-05-22net: dsa: add VLAN notifierVivien Didelot1-16/+13
2017-05-22net: dsa: add MDB notifierVivien Didelot1-16/+13
2017-05-22net: dsa: add FDB notifierVivien Didelot1-16/+13
2017-05-22net: dsa: add notifier for ageing timeVivien Didelot1-29/+8
2017-05-22net: dsa: move VLAN handlersVivien Didelot1-0/+41
2017-05-22net: dsa: move MDB handlersVivien Didelot1-0/+40
2017-05-22net: dsa: move FDB handlersVivien Didelot1-0/+40
2017-05-22net: dsa: move ageing time setterVivien Didelot1-0/+40
2017-05-22net: dsa: move VLAN filtering setterVivien Didelot1-0/+16
2017-05-22net: dsa: move bridging routinesVivien Didelot1-0/+58
2017-05-22net: dsa: move port state settersVivien Didelot1-0/+55