aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-18net: s/dev_close_many/netif_close_many/Stanislav Fomichev1-1/+2
2025-04-16net: dsa: free routing table on probe failureVladimir Oltean1-7/+14
2025-04-16net: dsa: clean up FDB, MDB, VLAN entries on unbindVladimir Oltean1-3/+35
2025-01-03driver core: Constify API device_find_child() and adapt for various usagesZijun Hu1-1/+1
2024-10-07net: dsa: remove obsolete phylink dsa_switch operationsRussell King (Oracle)1-8/+0
2024-10-01net: dsa: improve shutdown sequenceVladimir Oltean1-0/+7
2024-05-29net: dsa: remove mac_prepare()/mac_finish() shimsRussell King (Oracle)1-2/+0
2024-05-01net: dsa: Remove adjust_link pathsFlorian Fainelli1-2/+1
2024-04-11net: dsa: allow DSA switch drivers to provide their own phylink mac opsRussell King (Oracle)1-0/+11
2024-02-15net: dsa: remove OF-based MDIO bus registration from DSA coreArınç ÜNAL1-6/+1
2023-10-24net: dsa: Use conduit and user termsFlorian Fainelli1-112/+112
2023-06-27net: dsa: avoid suspicious RCU usage for synced VLAN-aware MAC addressesVladimir Oltean1-1/+1
2023-06-20net: dsa: introduce preferred_default_local_cpu_port and use on MT7530Vladimir Oltean1-1/+23
2023-04-09net: dsa: replace NETDEV_PRE_CHANGE_HWTSTAMP notifier with a stubVladimir Oltean1-0/+19
2022-11-22net: dsa: kill off dsa_priv.hVladimir Oltean1-1/+3
2022-11-22net: dsa: rename dsa2.c back into dsa.c and create its headerVladimir Oltean1-0/+1747
2022-11-22net: dsa: merge dsa.c into dsa2.cVladimir Oltean1-234/+0
2022-11-22net: dsa: move tagging protocol code to tag.{c,h}Vladimir Oltean1-228/+1
2022-11-22net: dsa: move headers exported by slave.c to slave.hVladimir Oltean1-0/+1
2022-11-22net: dsa: move bulk of devlink code to devlink.{c,h}Vladimir Oltean1-107/+0
2022-11-22net: dsa: modularize DSA_TAG_PROTO_NONEVladimir Oltean1-21/+0
2022-11-22net: dsa: unexport dsa_dev_to_net_device()Vladimir Oltean1-1/+0
2022-11-17net: dsa: autoload tag driver module on tagging protocol changeVladimir Oltean1-1/+3
2022-11-17net: dsa: rename dsa_tag_driver_get() to dsa_tag_driver_get_by_id()Vladimir Oltean1-1/+1
2022-11-17net: dsa: strip sysfs "tagging" string of trailing newlineVladimir Oltean1-2/+2
2022-11-17net: dsa: rename tagging protocol driver modaliasVladimir Oltean1-1/+1
2022-11-15net: dsa: add support for DSA rx offloading via metadata dstFelix Fietkau1-1/+18
2022-09-20net: dsa: allow the DSA master to be seen and changed through rtnetlinkVladimir Oltean1-0/+9
2022-05-06net: dsa: delete dsa_port_walk_{fdbs,mdbs}Vladimir Oltean1-40/+0
2022-04-25net: dsa: remove unused headersMarcin Wojtas1-9/+0
2022-03-09net: dsa: felix: avoid early deletion of host FDB entriesVladimir Oltean1-0/+60
2022-03-07net: dsa: return success if there was nothing to doTom Rix1-2/+2
2022-03-03net: dsa: felix: migrate host FDB and MDB entries when changing tag protoVladimir Oltean1-0/+40
2022-02-14net: dsa: mv88e6xxx: flush switchdev FDB workqueue before removing VLANVladimir Oltean1-0/+1
2021-11-30devlink: Simplify devlink resources unregister callLeon Romanovsky1-1/+1
2021-10-21net: dsa: remove the "dsa_to_port in a loop" antipattern from the coreVladimir Oltean1-11/+11
2021-09-15net: dsa: flush switchdev workqueue before tearing down CPU/DSA portsVladimir Oltean1-0/+5
2021-08-02net: dsa: remove the struct packet_type argument from dsa_device_ops::rcv()Vladimir Oltean1-1/+1
2021-01-29net: dsa: allow changing the tag protocol via the "tagging" device attributeVladimir Oltean1-0/+26
2021-01-14net: dsa: tag_dsa: Support reception of packets from LAG devicesTobias Waldekranz1-1/+11
2021-01-07net: dsa: remove the DSA specific notifiersVladimir Oltean1-22/+0
2020-11-09net: dsa: use net core stats64 handlingHeiner Kallweit1-6/+1
2020-10-04net: dsa: Add devlink port regions support to DSAAndrew Lunn1-0/+14
2020-10-02net: dsa: Call dsa_untag_bridge_pvid() from dsa_switch_rcv()Florian Fainelli1-0/+9
2020-09-18net: dsa: Add devlink regions support to DSAAndrew Lunn1-0/+16
2020-09-18net: dsa: Add helper to convert from devlink to dsAndrew Lunn1-10/+2
2020-05-07net: dsa: introduce a dsa_port_from_netdev public helperVladimir Oltean1-0/+9
2020-04-23net: dsa: add GRO support via gro_cellsAlexander Lobakin1-1/+1
2020-03-30net: dsa: Simplify 'dsa_tag_protocol_to_str()'Christophe JAILLET1-5/+1
2019-11-05net: dsa: Add support for devlink resourcesAndrew Lunn1-0/+37
2019-10-28net: dsa: Add support for devlink device parametersAndrew Lunn1-0/+48
2019-10-22net: dsa: use dsa_to_port helper everywhereVivien Didelot1-3/+5
2019-05-30treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152Thomas Gleixner1-5/+1
2019-05-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+6
2019-05-07net: dsa: Fix error cleanup path in dsa_init_moduleYueHaibing1-2/+9
2019-04-30net: dsa: Remove legacy probing supportAndrew Lunn1-5/+0
2019-04-28dsa: Cleanup unneeded table and make tag structures staticAndrew Lunn1-35/+0
2019-04-28dsa: Make use of the list of tag driversAndrew Lunn1-5/+34
2019-04-28dsa: Add stub tag driver put methodAndrew Lunn1-0/+4
2019-04-28dsa: Rename dsa_resolve_tag_protocol() to _get ready for lockingAndrew Lunn1-1/+1
2019-04-28dsa: Register the none tagger opsAndrew Lunn1-0/+7
2019-04-28dsa: Keep link list of tag driversAndrew Lunn1-0/+28
2019-04-28dsa: Add boilerplate helper to register DSA tag driver modulesAndrew Lunn1-0/+12
2019-04-28dsa: Add TAG protocol to tag opsAndrew Lunn1-0/+1
2019-04-28dsa: Move tagger name into its ops structureAndrew Lunn1-43/+2
2019-03-03net: dsa: add KSZ9893 switch tagging supportTristram Ha1-0/+2
2018-12-16net: dsa: ksz: Rename NET_DSA_TAG_KSZ to _KSZ9477Tristram Ha1-4/+4
2018-09-17net: dsa: tag_gswip: Add gswip to dsa_tag_protocol_to_str()Hauke Mehrtens1-0/+3
2018-09-13net: dsa: Add Lantiq / Intel GSWIP tag supportHauke Mehrtens1-0/+3
2018-09-07net: dsa: Expose tagging protocol to user-spaceFlorian Fainelli1-0/+43
2018-08-27net: dsa: Drop GPIO includesLinus Walleij1-2/+0
2018-02-14net: dsa: forward timestamping callbacks to switch driversBrandon Streiff1-0/+36
2017-11-13net: dsa: Support prepended Broadcom tagFlorian Fainelli1-0/+3
2017-10-28net: dsa: move fixed link registration helpersVivien Didelot1-39/+0
2017-10-28net: dsa: use dsa_is_user_port everywhereVivien Didelot1-1/+1
2017-10-18net: dsa: split dsa_port's netdev memberVivien Didelot1-3/+3
2017-10-12net: dsa: Add support for DSA specific notifiersFlorian Fainelli1-0/+23
2017-10-01net: dsa: change dsa_ptr for a dsa_portVivien Didelot1-3/+3
2017-09-19net: dsa: move master ethtool codeVivien Didelot1-28/+0
2017-09-19net: dsa: remove copy of master ethtool_opsVivien Didelot1-4/+4
2017-08-21dsa: remove unused net_device arg from handlersFlorian Westphal1-2/+2
2017-08-07net: dsa: Add support for learning FDB through notificationArkadi Sharshevsky1-0/+13
2017-08-07net: dsa: remove useless args of dsa_cpu_dsa_setupVivien Didelot1-5/+5
2017-08-06net: dsa: User per-cpu 64-bit statisticsFlorian Fainelli1-4/+6
2017-08-02net: dsa: Add support for 64-bit statisticsFlorian Fainelli1-2/+6
2017-07-19net: dsa: unexport dsa_is_port_initializedVivien Didelot1-0/+5
2017-06-13net: dsa: Relocate master ethtool operationsFlorian Fainelli1-10/+6
2017-06-13net: dsa: Remove master_netdev and use dst->cpu_dp->netdevFlorian Fainelli1-7/+2
2017-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+47
2017-06-04net: dsa: Pass dsa_port reference to ethtool setup/restoreFlorian Fainelli1-2/+4
2017-06-02net: dsa: Move dsa_switch_{suspend,resume} out of legacy.cFlorian Fainelli1-0/+47
2017-05-31dsa: add support for Microchip KSZ tail taggingWoojung Huh1-0/+3
2017-05-18net: dsa: include dsa.h only onceVivien Didelot1-1/+1
2017-05-17net: dsa: Sort DSA tagging protocol driversAndrew Lunn1-9/+9
2017-04-20net: dsa: add support for the SMSC-LAN9303 tagging formatJuergen Beisert1-0/+3
2017-04-17net: dsa: isolate legacy codeVivien Didelot1-766/+2
2017-04-08net: dsa: Factor bottom tag receive functionsFlorian Fainelli1-1/+19
2017-04-08net: dsa: Move skb_unshare() to dsa_switch_rcv()Florian Fainelli1-0/+4
2017-04-07net-next: dsa: add Mediatek tag RX/TX handlerSean Wang1-0/+3
2017-03-28net: break include loop netdevice.h, dsa.h, devlink.hAndrew Lunn1-1/+2
2017-02-07net: dsa: Rename and export dev_to_net_device()Florian Fainelli1-2/+3
2017-02-06net: dsa: add switch notifierVivien Didelot1-0/+6
2017-02-06net: dsa: move netdevice notifier registrationVivien Didelot1-6/+4
2017-01-29net: dsa: use ds->num_ports when possibleVivien Didelot1-8/+8
2017-01-29net: dsa: variable number of portsVivien Didelot1-3/+2
2017-01-26net: dsa: Make most functions take a dsa_port argumentFlorian Fainelli1-6/+9
2017-01-24net: dsa: Fix inverted test for multiple CPU interfaceAndrew Lunn1-1/+1
2017-01-20net: dsa: Remove hwmon supportAndrew Lunn1-4/+0
2017-01-18net: dsa: use cpu_switch instead of ds[0]Vivien Didelot1-1/+1
2017-01-18net: dsa: store CPU switch structure in the treeVivien Didelot1-4/+3
2017-01-09net: dsa: Make dsa_switch_ops constFlorian Fainelli1-5/+5
2017-01-09net: dsa: Encapsulate legacy switch drivers into dsa_switch_driverFlorian Fainelli1-5/+7
2017-01-07net: dsa: move HWMON support to its own fileVivien Didelot1-129/+2
2017-01-06net: dsa: remove version stringVivien Didelot1-5/+0
2017-01-04net: dsa: remove out label in dsa_switch_setup_oneVivien Didelot1-27/+13
2016-11-29of_mdio: add helper to deregister fixed-link PHYsJohan Hovold1-10/+2
2016-11-27net: dsa: fix fixed-link-phy device leaksJohan Hovold1-1/+4
2016-09-20net-next: dsa: make the set_addr() operation optionalJohn Crispin1-3/+5
2016-09-16net-next: dsa: add Qualcomm tag RX/TX handlerJohn Crispin1-0/+3
2016-08-24net: dsa: rename switch operations structureVivien Didelot1-35/+35
2016-08-22net: dsa: Allow the DSA driver to indicate the tag protocolAndrew Lunn1-1/+4
2016-08-19net: dsa: bcm_sf2: Make it a real platform device driverFlorian Fainelli1-1/+0
2016-08-19net: dsa: Export suspend/resume functionsFlorian Fainelli1-2/+4
2016-07-08net: dsa: initialize the routing tableVivien Didelot1-0/+6
2016-06-08net: dsa: Initialize CPU port ethtool ops per treeFlorian Fainelli1-0/+41
2016-06-04net: dsa: Add new binding implementationAndrew Lunn1-0/+5
2016-06-04net: dsa: Make mdio bus optionalAndrew Lunn1-11/+13
2016-06-04net: dsa: Refactor selection of tag ops into a functionAndrew Lunn1-26/+45
2016-06-04net: dsa: Split up creating/destroying of DSA and CPU portsAndrew Lunn1-35/+51
2016-06-04net: dsa: Copy the routing table into the switch structureAndrew Lunn1-0/+2
2016-06-04net: dsa: Remove dynamic allocate of routing tableAndrew Lunn1-12/+0
2016-06-04net: dsa: Move port device node into port structureAndrew Lunn1-4/+4
2016-06-04net: dsa: Add a ports structure and use it in the switch structureAndrew Lunn1-4/+4
2016-05-11dsa: Rename switch chip data to cdAndrew Lunn1-9/+9
2016-05-11dsa: Remove master_dev from switch structureAndrew Lunn1-1/+1
2016-05-11dsa: Move gpio reset into switch driverAndrew Lunn1-16/+0
2016-04-21net: dsa: remove tag_protocol from dsa_switchVivien Didelot1-3/+2
2016-04-17net: dsa: constify probed nameVivien Didelot1-3/+3
2016-04-13dsa: Rename phys_port_mask to enabled_port_maskAndrew Lunn1-4/+4
2016-04-13net: dsa: Remove allocation of driver private memoryAndrew Lunn1-1/+1
2016-04-13net: dsa: Have the switch driver allocate there own private memoryAndrew Lunn1-3/+5
2016-04-13net: dsa: Pass the dsa device to the switch driversAndrew Lunn1-3/+4
2016-03-14phy: fixed: Fix removal of phys.Andrew Lunn1-3/+1
2016-03-14dsa: dsa: Fix freeing of fixed-phys from user ports.Andrew Lunn1-3/+0
2016-03-14dsa: Destroy fixed link phys after the phy has been disconnectedAndrew Lunn1-12/+12
2016-03-10net: dsa: Fix cleanup resources upon module removalNeil Armstrong1-8/+8
2016-01-07phy: Add an mdio_device structureAndrew Lunn1-1/+1
2015-12-07net: dsa: move dsa slave destroy code to slave.cNeil Armstrong1-2/+1
2015-12-07net: dsa: Add missing master netdev dev_put() callsNeil Armstrong1-1/+5
2015-12-07net: dsa: cleanup resources upon module removalNeil Armstrong1-0/+8
2015-12-07net: dsa: remove DSA link pollingNeil Armstrong1-43/+0
2015-11-24net: dsa: include gpio consumer header fileArnd Bergmann1-0/+1
2015-11-23net: dsa: Add support for a switch reset gpioAndrew Lunn1-0/+17
2015-10-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-11/+59
2015-10-07net: dsa: exit probe if no switch were foundNeil Armstrong1-3/+16
2015-10-07net: dsa: switch to devm_ calls and remove kfree callsNeil Armstrong1-12/+5
2015-10-07net: dsa: complete dsa_switch_destroyNeil Armstrong1-0/+37
2015-10-07net: dsa: add missing dsa_switch mdiobus removeNeil Armstrong1-0/+2
2015-10-07net: dsa: add missing kfree on removeNeil Armstrong1-1/+4
2015-10-07net: dsa: better error reportingRussell King1-2/+2
2015-09-24net: fix net_device refcountingRussell King1-1/+4
2015-09-24net: dsa: fix of_mdio_find_bus() device refcount leakRussell King1-7/+31
2015-08-31net: dsa: Allow DSA and CPU ports to have a phy-mode propertyAndrew Lunn1-1/+7
2015-08-31net: dsa: Allow configuration of CPU & DSA port speeds/duplexAndrew Lunn1-0/+37
2015-08-18net: dsa: Allow multi hop routes to be expressedAndrew Lunn1-10/+30
2015-08-10dsa: Support multiple MDIO bussesAndrew Lunn1-1/+11
2015-07-11net: dsa: Fix off-by-one in switch address parsingFlorian Fainelli1-1/+1
2015-07-11net: dsa: Test array index before useFlorian Fainelli1-2/+2
2015-05-31net: dsa: Properly propagate errors from dsa_switch_setup_oneFlorian Fainelli1-2/+2
2015-04-29net: dsa: Fix scope of eeprom-length propertyGuenter Roeck1-1/+1
2015-04-17net: dsa: use DEVICE_ATTR_RW to declare temp1_maxVivien Didelot1-3/+3
2015-04-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-16/+7
2015-04-06net: dsa: fix filling routing table from OF descriptionPavel Nakonechny1-16/+7
2015-03-09net: dsa: utilize of_find_net_device_by_nodeFlorian Fainelli1-5/+11
2015-03-06net: dsa: extract dsa switch tree setup and removalFlorian Fainelli1-39/+52
2015-03-06net: dsa: let switches specify their tagging protocolFlorian Fainelli1-2/+3
2015-03-06net: dsa: split dsa_switch_setup into two functionsFlorian Fainelli1-37/+51
2015-03-06net: dsa: allow deferred probingFlorian Fainelli1-3/+3
2015-03-06net: dsa: update dsa_of_{probe, remove} to use a device pointerFlorian Fainelli1-12/+12
2015-02-25net: dsa: Introduce dsa_is_port_initializedGuenter Roeck1-2/+2
2015-02-25net: dsa: integrate with SWITCHDEV for HW bridgingFlorian Fainelli1-0/+7
2015-02-25net: dsa: Ensure that port array elements are initialized before being usedGuenter Roeck1-7/+3
2015-02-07dsa: correctly determine the number of switches in a systemTobias Waldekranz1-1/+1
2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+0
2014-11-16net: dsa: replace count*size kzalloc by kcallocFabian Frederick1-2/+2
2014-11-16net: dsa: replace count*size kmalloc by kmalloc_arrayFabian Frederick1-1/+2
2014-11-11dsa: Use netdev_<level> instead of printkJoe Perches1-16/+12
2014-11-03Merge branch 'platform/remove_owner' of git://git.kernel.org/pub/scm/linux/ke...Greg Kroah-Hartman1-1/+0
2014-11-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+4
2014-10-30net: dsa: Add support for switch EEPROM accessGuenter Roeck1-0/+4
2014-10-30net: dsa: Add support for reporting switch chip temperaturesGuenter Roeck1-0/+131
2014-10-28net: dsa: Error out on tagging protocol mismatchesAndrew Lunn1-1/+4
2014-10-20net: dsa: drop owner assignment from platform_driversWolfram Sang1-1/+0
2014-10-01net: dsa: Fix build warning for !PM_SLEEPThierry Reding1-0/+2
2014-09-22net: dsa: allow switch drivers to implement suspend/resume hooksFlorian Fainelli1-0/+80
2014-09-15net: dsa: fix mii_bus to host_dev replacementFlorian Fainelli1-1/+1
2014-09-15dsa: Replace mii_bus with a generic host deviceAlexander Duyck1-16/+8
2014-09-15dsa: Split ops up, and avoid assigning tag_protocol and receive separatelyAlexander Duyck1-4/+28
2014-09-01net: dsa: make dsa_pack_type staticFlorian Fainelli1-1/+1
2014-08-27net: dsa: add Broadcom SF2 switch driverFlorian Fainelli1-0/+1