aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/slave.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-24net: dsa: Use conduit and user termsFlorian Fainelli1-3727/+0
2023-10-03net: dsa: notify drivers of MAC address changes on user portsVladimir Oltean1-0/+7
2023-10-03net: dsa: propagate extack to ds->ops->port_hsr_join()Vladimir Oltean1-1/+1
2023-07-23net: dsa: remove deprecated strncpyjustinstitt@google.com1-4/+5
2023-06-27net: dsa: avoid suspicious RCU usage for synced VLAN-aware MAC addressesVladimir Oltean1-26/+58
2023-03-30net: dsa: sync unicast and multicast addresses for VLAN filters tooVladimir Oltean1-5/+116
2023-03-16net: dsa: don't error out when drivers return ETH_DATA_LEN in .port_max_mtu()Vladimir Oltean1-4/+5
2023-02-03net: dsa: use NL_SET_ERR_MSG_WEAK_MOD() more consistentlyVladimir Oltean1-5/+6
2023-02-01netlink: provide an ability to set default extack messageLeon Romanovsky1-3/+1
2023-01-23net: dsa: add plumbing for changing and getting MAC merge layer stateVladimir Oltean1-0/+37
2022-11-22net: dsa: kill off dsa_priv.hVladimir Oltean1-1/+1
2022-11-22net: dsa: move definitions from dsa_priv.h to slave.cVladimir Oltean1-0/+42
2022-11-22net: dsa: rename dsa2.c back into dsa.c and create its headerVladimir Oltean1-0/+1
2022-11-22net: dsa: move tagging protocol code to tag.{c,h}Vladimir 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 master.c to master.hVladimir Oltean1-0/+1
2022-11-22net: dsa: move headers exported by port.c to port.hVladimir Oltean1-0/+1
2022-11-17net: dsa: set name_assign_type to NET_NAME_ENUM for enumerated user portsRasmus Villemoes1-1/+1
2022-11-17net: dsa: use NET_NAME_PREDICTABLE for user ports with name given in DTRasmus Villemoes1-1/+1
2022-11-17net: dsa: refactor name assignment for user portsRasmus Villemoes1-2/+11
2022-11-03net: remove unused ndo_get_devlink_portJiri Pirko1-8/+0
2022-11-03net: make drivers to use SET_NETDEV_DEVLINK_PORT to set devlink_portJiri Pirko1-0/+1
2022-10-28net: Remove the obsolte u64_stats_fetch_*_irq() users (net).Thomas Gleixner1-2/+2
2022-10-15net: dsa: uninitialized variable in dsa_slave_netdevice_event()Dan Carpenter1-1/+1
2022-09-30net: dsa: don't leave dangling pointers in dp->pl when failingVladimir Oltean1-3/+3
2022-09-20net: dsa: allow masters to join a LAGVladimir Oltean1-6/+225
2022-09-20net: dsa: allow the DSA master to be seen and changed through rtnetlinkVladimir Oltean1-0/+120
2022-09-20net: dsa: introduce dsa_port_get_master()Vladimir Oltean1-6/+5
2022-08-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-08-23net: dsa: don't dereference NULL extack in dsa_slave_changeupper()Vladimir Oltean1-1/+1
2022-08-23net: dsa: only bring down user ports assigned to a given DSA masterVladimir Oltean1-0/+3
2022-08-23net: dsa: existing DSA masters cannot join upper interfacesVladimir Oltean1-0/+33
2022-08-23net: bridge: move DSA master bridging restriction to DSAVladimir Oltean1-0/+44
2022-08-23net: dsa: don't stop at NOTIFY_OK when calling ds->ops->port_prechangeupperVladimir Oltean1-1/+1
2022-08-23net: dsa: walk through all changeupper notifier functionsVladimir Oltean1-9/+28
2022-08-22dsa: move from strlcpy with unused retval to strscpyWolfram Sang1-3/+3
2022-06-29net: dsa: add get_pause_stats supportOleksij Rempel1-0/+11
2022-06-27net: dsa: add support for ethtool get_rmon_stats()Clément Léger1-0/+13
2022-06-27net: dsa: allow port_bridge_join() to override extack messageClément Léger1-2/+3
2022-06-09net: adopt u64_stats_t in struct pcpu_sw_netstatsEric Dumazet1-4/+4
2022-05-12net: dsa: felix: manage host flooding using a specific driver callbackVladimir Oltean1-30/+6
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2022-04-25net: dsa: flood multicast to CPU when slave has IFF_PROMISCVladimir Oltean1-1/+1
2022-04-20net: dsa: don't emit targeted cross-chip notifiers for MTU changeVladimir Oltean1-6/+4
2022-04-20net: dsa: drop dsa_slave_priv from dsa_slave_change_mtuVladimir Oltean1-2/+1
2022-04-20net: dsa: avoid one dsa_to_port() in dsa_slave_change_mtuVladimir Oltean1-4/+1
2022-04-20net: dsa: use dsa_tree_for_each_user_port in dsa_slave_change_mtuVladimir Oltean1-8/+5
2022-03-22net: dsa: fix missing host-filtered multicast addressesVladimir Oltean1-10/+34
2022-03-17net: dsa: pass extack to dsa_switch_ops :: port_mirror_add()Vladimir Oltean1-1/+2
2022-03-17net: dsa: Handle MST state changesTobias Waldekranz1-0/+6
2022-03-17net: dsa: Pass VLAN MSTI migration notifications to driverTobias Waldekranz1-0/+6
2022-03-17net: dsa: Validate hardware support for MSTTobias Waldekranz1-0/+6
2022-03-16net: dsa: Never offload FDB entries on standalone portsTobias Waldekranz1-0/+3
2022-03-14net: dsa: report and change port dscp priority using dcbnlVladimir Oltean1-0/+86
2022-03-14net: dsa: report and change port default priority using dcbnlVladimir Oltean1-0/+137
2022-03-09net: dsa: be mostly no-op in dsa_slave_set_mac_address when downVladimir Oltean1-0/+7
2022-03-03net: dsa: manage flooding on the CPU portsVladimir Oltean1-0/+39
2022-03-03net: dsa: install the primary unicast MAC address as standalone port host FDBVladimir Oltean1-2/+33
2022-03-03net: dsa: install secondary unicast and multicast addresses as host FDB/MDBVladimir Oltean1-0/+116
2022-03-03net: dsa: rename the host FDB and MDB methods to contain the "bridge" namespaceVladimir Oltean1-18/+12
2022-03-03net: dsa: remove workarounds for changing master promisc/allmulti only while upVladimir Oltean1-37/+8
2022-02-24net: dsa: support FDB events on offloaded LAG interfacesVladimir Oltean1-15/+28
2022-02-24net: dsa: call SWITCHDEV_FDB_OFFLOADED for the orig_devVladimir Oltean1-1/+2
2022-02-24net: dsa: remove "ds" and "port" from struct dsa_switchdev_event_workVladimir Oltean1-11/+5
2022-02-24net: switchdev: remove lag_mod_cb from switchdev_handle_fdb_event_to_deviceVladimir Oltean1-2/+4
2022-02-24net: dsa: create a dsa_lag structureVladimir Oltean1-2/+2
2022-02-16net: dsa: offload bridge port VLANs on foreign interfacesVladimir Oltean1-26/+25
2022-02-16net: dsa: add explicit support for host bridge VLANsVladimir Oltean1-40/+57
2022-02-11net: dsa: remove lockdep class for DSA slave address listVladimir Oltean1-12/+0
2022-02-11net: dsa: remove ndo_get_phys_port_name and ndo_get_port_parent_idVladimir Oltean1-41/+1
2022-02-02net: dsa: provide switch operations for tracking the master stateVladimir Oltean1-0/+32
2022-01-06net: dsa: merge rtnl_lock sections in dsa_slave_createVladimir Oltean1-3/+1
2022-01-06net: dsa: reorder PHY initialization with MTU setup in slave.cVladimir Oltean1-7/+7
2021-12-08net: dsa: keep the bridge_dev and bridge_num as part of the same structureVladimir Oltean1-1/+1
2021-12-08net: dsa: rename dsa_port_offloads_bridge to dsa_port_offloads_bridge_devVladimir Oltean1-9/+9
2021-12-08net: dsa: hide dp->bridge_dev and dp->bridge_num in the core behind helpersVladimir Oltean1-6/+7
2021-12-01net: dsa: consolidate phylink creationRussell King (Oracle)1-16/+3
2021-11-01net: dsa: populate supported_interfaces memberMarek Behún1-0/+4
2021-10-27net: switchdev: merge switchdev_handle_fdb_{add,del}_to_deviceVladimir Oltean1-33/+8
2021-10-26net: dsa: stop calling dev_hold in dsa_slave_fdb_eventVladimir Oltean1-3/+0
2021-10-25net: dsa: drop rtnl_lock from dsa_slave_switchdev_event_workVladimir Oltean1-2/+0
2021-10-25Revert "Merge branch 'dsa-rtnl'"David S. Miller1-0/+2
2021-10-24net: dsa: drop rtnl_lock from dsa_slave_switchdev_event_workVladimir Oltean1-2/+0
2021-10-21net: dsa: remove the "dsa_to_port in a loop" antipattern from the coreVladimir Oltean1-1/+1
2021-10-18net: dsa: allow reporting of standard ethtool stats for slave devicesAlvin Šipraga1-0/+34
2021-10-02net: use eth_hw_addr_set() instead of ether_addr_copy()Jakub Kicinski1-2/+2
2021-09-15net: dsa: destroy the phylink instance on any error in dsa_slave_phy_setupVladimir Oltean1-7/+5
2021-08-24net: dsa: let drivers state that they need VLAN filtering while standaloneVladimir Oltean1-4/+8
2021-08-24net: dsa: don't advertise 'rx-vlan-filter' when not neededVladimir Oltean1-3/+69
2021-08-24net: dsa: properly fall back to software bridgingVladimir Oltean1-0/+5
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-08-10net: switchdev: zero-initialize struct switchdev_notifier_fdb_info emitted by...Vladimir Oltean1-1/+1
2021-08-08net: dsa: don't fast age standalone portsVladimir Oltean1-1/+1
2021-08-06net: dsa: don't disable multicast flooding to the CPU even without an IGMP qu...Vladimir Oltean1-6/+0
2021-07-27dev_ioctl: split out ndo_eth_ioctlArnd Bergmann1-1/+1
2021-07-23Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+9
2021-07-22net: bridge: move the switchdev object replay helpers to "push" modeVladimir Oltean1-7/+3
2021-07-21net: dsa: ensure linearized SKBs in case of tail taggersLino Sanfilippo1-5/+9
2021-07-20net: dsa: use switchdev_handle_fdb_{add,del}_to_deviceVladimir Oltean1-102/+97
2021-07-20net: switchdev: introduce helper for checking dynamically learned FDB entriesVladimir Oltean1-1/+1
2021-06-29net: dsa: ensure during dsa_fdb_offload_notify that dev_hold and dev_put are ...Vladimir Oltean1-5/+4
2021-06-29net: dsa: include fdb entries pointing to bridge in the host fdb listVladimir Oltean1-2/+11
2021-06-29net: dsa: include bridge addresses which are local in the host fdb listTobias Waldekranz1-5/+13
2021-06-29net: dsa: sync static FDB entries on foreign interfaces to hardwareVladimir Oltean1-4/+8
2021-06-29net: dsa: introduce a separate cross-chip notifier type for host FDBsVladimir Oltean1-5/+16
2021-06-29net: dsa: introduce a separate cross-chip notifier type for host MDBsVladimir Oltean1-8/+2
2021-06-29net: dsa: delete dsa_legacy_fdb_add and dsa_legacy_fdb_delVladimir Oltean1-23/+0
2021-06-28net: dsa: replay a deletion of switchdev objects for ports leaving a bridged LAGVladimir Oltean1-0/+55
2021-06-28net: dsa: refactor the prechangeupper sanity checks into a dedicated functionVladimir Oltean1-15/+29
2021-06-28net: bridge: ignore switchdev events for LAG ports which didn't request replayVladimir Oltean1-0/+9
2021-06-28net: switchdev: add a context void pointer to struct switchdev_notifier_infoVladimir Oltean1-3/+3
2021-06-21net: dsa: targeted MTU notifiers should only match on one portVladimir Oltean1-4/+5
2021-06-21net: dsa: calculate the largest_mtu across all ports in the treeVladimir Oltean1-6/+7
2021-06-14net: dsa: dsa_slave_phy_connect(): extend phy's flags with port specific phy ...Oleksij Rempel1-2/+5
2021-06-11net: dsa: generalize overhead for taggers that use both headers and trailersVladimir Oltean1-6/+4
2021-05-10net: dsa: fix error code getting shifted with 4 in dsa_slave_get_sset_countVladimir Oltean1-5/+7
2021-04-27net: dsa: free skb->cb usage in core driverYangbo Lu1-1/+1
2021-04-27net: dsa: no longer clone skb in core driverYangbo Lu1-11/+1
2021-04-27net: dsa: no longer identify PTP packet in core driverYangbo Lu1-10/+2
2021-04-27net: dsa: check tx timestamp request in core driverYangbo Lu1-0/+3
2021-04-20net: dsa: enable selftest support for all switches by defaultOleksij Rempel1-0/+21
2021-04-16net: bridge: switchdev: include local flag in FDB notificationsVladimir Oltean1-1/+1
2021-04-13of: net: pass the dst buffer to of_get_mac_address()Michael Walle1-1/+1
2021-03-24dsa: slave: add support for TC_SETUP_FTPablo Neira Ayuso1-1/+19
2021-03-24net: dsa: resolve forwarding path for dsa slave portsFelix Fietkau1-0/+16
2021-03-23net: dsa: sync up switchdev objects and port attributes when joining the bridgeVladimir Oltean1-2/+2
2021-03-23net: dsa: pass extack to dsa_port_{bridge,lag}_joinVladimir Oltean1-2/+5
2021-03-08net: dsa: fix switchdev objects on bridge master mistakenly being applied on ...Vladimir Oltean1-16/+43
2021-02-16net: dsa: add MRP supportHoratiu Vultur1-0/+22
2021-02-14net: dsa: propagate extack to .port_vlan_filteringVladimir Oltean1-1/+2
2021-02-14net: dsa: propagate extack to .port_vlan_addVladimir Oltean1-7/+18
2021-02-12net: dsa: act as passthrough for bridge port flagsVladimir Oltean1-3/+4
2021-02-12net: switchdev: propagate extack to port attributesVladimir Oltean1-1/+2
2021-02-11net: dsa: add support for offloading HSRGeorge McCollister1-0/+14
2021-02-06net: dsa: make assisted_learning_on_cpu_port bypass offloaded LAG interfacesVladimir Oltean1-0/+8
2021-02-06net: dsa: automatically bring user ports down when master goes downVladimir Oltean1-0/+24
2021-02-06net: dsa: automatically bring up DSA master when opening user portVladimir Oltean1-2/+5
2021-01-29net: dsa: allow changing the tag protocol via the "tagging" device attributeVladimir Oltean1-12/+23
2021-01-15net: dsa: set configure_vlan_while_not_filtering to true by defaultVladimir Oltean1-3/+6
2021-01-14net: dsa: Link aggregation supportTobias Waldekranz1-7/+63
2021-01-14net: dsa: Don't offload port attributes on standalone portsTobias Waldekranz1-0/+3
2021-01-12net: dsa: add optional stats64 supportOleksij Rempel1-1/+13
2021-01-11net: dsa: remove obsolete comments about switchdev transactionsVladimir Oltean1-5/+0
2021-01-11net: switchdev: remove the transaction structure from port attributesVladimir Oltean1-10/+7
2021-01-11net: switchdev: remove the transaction structure from port object notifiersVladimir Oltean1-25/+9
2021-01-11net: switchdev: remove vid_begin -> vid_end range from VLAN objectsVladimir Oltean1-16/+7
2021-01-09net: dsa: dsa_legacy_fdb_{add,del} can be staticVladimir Oltean1-8/+8
2021-01-07net: dsa: remove the DSA specific notifiersVladimir Oltean1-17/+0
2021-01-07net: dsa: export dsa_slave_dev_checkVladimir Oltean1-0/+1
2021-01-07net: dsa: listen for SWITCHDEV_{FDB,DEL}_ADD_TO_DEVICE on foreign bridge neig...Vladimir Oltean1-11/+55
2021-01-07net: dsa: exit early in dsa_slave_switchdev_event if we can't program the FDBVladimir Oltean1-0/+3
2021-01-07net: dsa: move switchdev event implementation under the same switch/case stat...Vladimir Oltean1-19/+16
2021-01-07net: dsa: don't use switchdev_notifier_fdb_info in dsa_switchdev_event_workVladimir Oltean1-53/+53
2021-01-07net: dsa: be louder when a non-legacy FDB operation failsVladimir Oltean1-3/+7
2020-12-08net: dsa: print the MTU value that could not be setRasmus Villemoes1-2/+2
2020-11-20net: dsa: avoid potential use-after-free errorChristian Eggers1-3/+3
2020-11-09net: dsa: use net core stats64 handlingHeiner Kallweit1-22/+7
2020-11-05net: dsa: Give drivers the chance to veto certain upper devicesVladimir Oltean1-0/+12
2020-11-02net: dsa: implement a central TX reallocation procedureVladimir Oltean1-0/+45
2020-10-13net: dsa: use new function dev_fetch_sw_netstatsHeiner Kallweit1-20/+1
2020-09-22Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+16
2020-09-20net: dsa: install VLANs into the master's RX filter tooVladimir Oltean1-4/+32
2020-09-20net: dsa: allow 8021q uppers while the bridge has vlan_filtering=0Vladimir Oltean1-2/+2
2020-09-20net: dsa: convert denying bridge VLAN with existing 8021q upper to PRECHANGEU...Vladimir Oltean1-0/+33
2020-09-20net: dsa: convert check for 802.1Q upper when bridged into PRECHANGEUPPERVladimir Oltean1-36/+38
2020-09-20net: dsa: rename dsa_slave_upper_vlan_check to something more suggestiveVladimir Oltean1-4/+4
2020-09-20net: dsa: deny enslaving 802.1Q upper to VLAN-aware bridge from PRECHANGEUPPERVladimir Oltean1-1/+6
2020-09-11Revert "net: dsa: Add more convenient functions for installing port VLANs"Vladimir Oltean1-3/+31
2020-09-08net: dsa: link interfaces with the DSA master to get rid of lockdep warningsVladimir Oltean1-2/+16
2020-09-07net: dsa: don't print non-fatal MTU error if not supportedVladimir Oltean1-1/+1
2020-09-07net: dsa: change PHY error message againVladimir Oltean1-2/+3
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-20net: dsa: use the ETH_MIN_MTU and ETH_DATA_LEN default valuesVladimir Oltean1-3/+0
2020-06-30net: dsa: Improve subordinate PHY error messageFlorian Fainelli1-1/+2
2020-05-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+1
2020-05-27net: dsa: declare lockless TX feature for slave portsVladimir Oltean1-0/+1
2020-05-12net: dsa: provide an option for drivers to always receive bridge VLANsRussell King1-4/+4
2020-05-07netpoll: accept NULL np argument in netpoll_send_skb()Eric Dumazet1-3/+2
2020-05-07net: remove newlines in NL_SET_ERR_MSG_MODJacob Keller1-3/+3
2020-05-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+3
2020-05-06net: dsa: remove duplicate assignment in dsa_slave_add_cls_matchall_mirredVladimir Oltean1-5/+3
2020-05-04net: partially revert dynamic lockdep key changesCong Wang1-0/+12
2020-04-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-5/+3
2020-04-24net: phylink, dsa: eliminate phylink_fixed_state_cb()Russell King1-9/+11
2020-04-23net: dsa: add GRO support via gro_cellsAlexander Lobakin1-1/+9
2020-04-22net: dsa: don't fail to probe if we couldn't set the MTUVladimir Oltean1-5/+3
2020-04-02net: dsa: dsa_bridge_mtu_normalization() can be statickbuild test robot1-1/+1
2020-03-31net: dsa: fix oops while probing Marvell DSA switchesRussell King1-1/+2
2020-03-30net: dsa: add port policersVladimir Oltean1-6/+73
2020-03-30net: dsa: refactor matchall mirred action to separate functionVladimir Oltean1-30/+40
2020-03-27net: dsa: implement auto-normalization of MTU for bridge hardware datapathVladimir Oltean1-0/+114
2020-03-27net: dsa: configure the MTU for switch portsVladimir Oltean1-1/+104
2020-03-17net: rename flow_action_hw_stats_types* -> flow_action_hw_stats*Jakub Kicinski1-2/+2
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-6/+2
2020-03-08flow_offload: check for basic action hw stats typeJiri Pirko1-0/+4
2020-03-03net: dsa: Add bypass operations for the flower classifier-action filterVladimir Oltean1-0/+60
2020-03-03net: dsa: fix phylink_start()/phylink_stop() callsRussell King1-6/+2
2020-01-08net: dsa: Get information about stacked DSA protocolFlorian Fainelli1-3/+1
2020-01-05net: dsa: Make deferred_xmit private to sja1105Vladimir Oltean1-36/+1
2019-11-04net: of_get_phy_mode: Change API to solve int/unit warningsAndrew Lunn1-3/+4