aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mscc
AgeCommit message (Expand)AuthorFilesLines
2025-10-06net: mscc: ocelot: Fix use-after-free caused by cyclic delayed workDuoming Zhou1-1/+1
2025-05-09net: dsa: convert to ndo_hwtstamp_get() and ndo_hwtstamp_set()Vladimir Oltean2-42/+34
2025-05-01Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+6
2025-04-25net: mscc: ocelot: delete PVID VLAN when readding it as non-PVIDVladimir Oltean1-0/+6
2025-04-15net: ptp: introduce .supported_perout_flags to ptp_clock_infoJacob Keller2-5/+2
2025-01-17net: mscc: ocelot: add TX timestamping statisticsVladimir Oltean3-11/+90
2024-12-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2024-12-15net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()Vladimir Oltean1-1/+1
2024-12-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-80/+129
2024-12-10rtnetlink: add ndo_fdb_dump_contextEric Dumazet1-1/+2
2024-12-07net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set()Vladimir Oltean1-17/+42
2024-12-07net: mscc: ocelot: be resilient to loss of PTP packets during transmissionVladimir Oltean1-55/+79
2024-12-07net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safeVladimir Oltean1-8/+6
2024-12-07net: mscc: ocelot: improve handling of TX timestamp for unknown skbVladimir Oltean1-2/+2
2024-12-07net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb()Vladimir Oltean1-1/+3
2024-11-15ndo_fdb_del: Add a parameter to report whether notification was sentPetr Machata1-1/+1
2024-11-15ndo_fdb_add: Add a parameter to report whether notification was sentPetr Machata1-1/+1
2024-10-30net: mscc: ocelot: allow tc-flower mirred action towards foreign interfacesVladimir Oltean1-12/+42
2024-10-04net: ethernet: Switch back to struct platform_driver::remove()Uwe Kleine-König1-1/+1
2024-09-09net: mscc: ocelot: Remove setting of RX software timestampGal Pressman1-8/+4
2024-08-16net: mscc: ocelot: treat 802.1ad tagged traffic as 802.1Q-untaggedVladimir Oltean2-11/+178
2024-08-16net: mscc: ocelot: serialize access to the injection/extraction groupsVladimir Oltean2-0/+56
2024-08-16net: mscc: ocelot: fix QoS class for injected packets with "ocelot-8021q"Vladimir Oltean2-2/+9
2024-08-16net: mscc: ocelot: use ocelot_xmit_get_vlan_info() also for FDMA and register...Vladimir Oltean2-7/+24
2024-07-15net: Add struct kernel_ethtool_ts_infoKory Maincent2-2/+2
2024-04-18net: mscc: ocelot: flower: validate control flagsAsbjørn Sloth Tønnesen1-5/+2
2024-02-05net: ocelot: update the MODULE_DESCRIPTION()Breno Leitao1-1/+1
2024-01-29net: fill in MODULE_DESCRIPTION()s for ocelotBreno Leitao1-0/+1
2023-12-14net: mscc: ocelot: fix pMAC TX RMON stats for bucket 256-511 and aboveVladimir Oltean1-4/+4
2023-12-14net: mscc: ocelot: fix eMAC TX RMON stats for bucket 256-511 and aboveVladimir Oltean1-4/+4
2023-09-20net: ethernet: mscc: Convert to platform remove callback returning voidUwe Kleine-König1-4/+2
2023-08-22net: mscc: ocelot: Remove unused declarationsYue Haibing2-3/+0
2023-07-31net: flow_dissector: Use 64bits for used_keysRatheesh Kannoth1-14/+14
2023-07-27net: Explicitly include correct DT includesRob Herring2-2/+2
2023-07-19drivers:net: fix return value check in ocelot_fdma_receive_skbYuanjun Gong1-1/+2
2023-07-06net: mscc: ocelot: fix oversize frame dropping for preemptible TCsVladimir Oltean1-2/+5
2023-07-06net: mscc: ocelot: extend ocelot->fwd_domain_lock to cover ocelot->tas_lockVladimir Oltean2-6/+2
2023-06-29net: mscc: ocelot: don't keep PTP configuration of all ports in single structureVladimir Oltean2-21/+41
2023-06-29net: mscc: ocelot: don't report that RX timestamping is enabled by defaultVladimir Oltean1-5/+0
2023-05-30flow_offload: Reject matching on layer 2 missIdo Schimmel1-0/+10
2023-05-10net: mscc: ocelot: fix stat counter register valuesColin Foster1-9/+9
2023-04-18net: mscc: ocelot: remove incompatible prototypesArnd Bergmann1-3/+0
2023-04-17net: mscc: ocelot: add support for preemptible traffic classesVladimir Oltean3-1/+66
2023-04-17net: mscc: ocelot: add support for mqprio offloadVladimir Oltean1-0/+50
2023-04-17net: mscc: ocelot: don't rely on cached verify_status in ocelot_port_get_mm()Vladimir Oltean1-0/+1
2023-04-17net: mscc: ocelot: optimize ocelot_mm_irq()Vladimir Oltean1-2/+28
2023-04-17net: mscc: ocelot: remove struct ocelot_mm_state :: lockVladimir Oltean1-12/+8
2023-04-17net: mscc: ocelot: export a single ocelot_mm_irq()Vladimir Oltean1-2/+10
2023-04-13net: mscc: ocelot: fix ineffective WARN_ON() in ocelot_stats.cVladimir Oltean1-6/+11
2023-04-13net: mscc: ocelot: strengthen type of "int i" in ocelot_stats.cVladimir Oltean1-4/+5
2023-04-13net: mscc: ocelot: strengthen type of "u32 reg" and "u32 base" in ocelot_stats.cVladimir Oltean1-3/+3
2023-04-13net: mscc: ocelot: remove blank line at the end of ocelot_stats.cVladimir Oltean1-1/+0
2023-04-13net: mscc: ocelot: debugging print for statistics regionsVladimir Oltean1-0/+9
2023-04-13net: mscc: ocelot: refactor enum ocelot_reg decoding to helperVladimir Oltean2-14/+25
2023-04-13net: mscc: ocelot: strengthen type of "u32 reg" in I/O accessorsVladimir Oltean1-9/+11
2023-03-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-4/+7
2023-03-21net: mscc: ocelot: add TX_MM_HOLD to ocelot_mm_stats_layoutVladimir Oltean1-0/+1
2023-03-21net: mscc: ocelot: fix transfer from region->buf to ocelot->statsVladimir Oltean1-3/+4
2023-03-21net: mscc: ocelot: fix stats region batchingVladimir Oltean1-1/+2
2023-03-20net: mscc: ocelot: expose serdes configuration functionColin Foster2-26/+43
2023-03-20net: mscc: ocelot: expose generic phylink_mac_config routineColin Foster2-18/+29
2023-03-20net: mscc: ocelot: expose ocelot_pll5_init routineColin Foster2-30/+31
2023-02-10net: dsa: ocelot: add PTP dependency for NET_DSA_MSCC_OCELOT_EXTArnd Bergmann1-0/+1
2023-02-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-16/+16
2023-02-09net: mscc: ocelot: fix all IPv6 getting trapped to CPU when PTP timestamping ...Vladimir Oltean1-4/+4
2023-02-07net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q"Vladimir Oltean1-12/+12
2023-02-06net: mscc: ocelot: un-export unused regmap symbolsColin Foster1-28/+14
2023-01-30net: mscc: ocelot: expose vsc7514_regmap definitionColin Foster2-14/+15
2023-01-30net: mscc: ocelot: expose ocelot_reset routineColin Foster2-45/+47
2023-01-30net: mscc: ocelot: expose vcap_props structureColin Foster2-43/+44
2023-01-30net: mscc: ocelot: expose regfield definition to be used by other driversColin Foster2-59/+60
2023-01-30net: mscc: ocelot: expose ocelot wm functionsColin Foster2-28/+31
2023-01-26net: ethtool: provide shims for stats aggregation helpers when CONFIG_ETHTOOL...Vladimir Oltean1-0/+1
2023-01-24net: mscc: ocelot: fix incorrect verify_enabled reporting in ethtool get_mm()Vladimir Oltean1-0/+1
2023-01-23net: mscc: ocelot: add MAC Merge layer support for VSC9959Vladimir Oltean4-4/+231
2023-01-23net: mscc: ocelot: export ethtool MAC Merge stats for Felix VSC9959Vladimir Oltean1-10/+279
2023-01-23net: mscc: ocelot: hide access to ocelot_stats_layout behind a helperVladimir Oltean1-11/+29
2023-01-23net: mscc: ocelot: allow ocelot_stat_layout elements with no nameVladimir Oltean1-2/+2
2022-11-22net: mscc: ocelot: issue a warning if stats are incorrectly orderedColin Foster1-1/+7
2022-11-22net: mscc: ocelot: remove unnecessary exposure of stats structuresColin Foster1-0/+216
2022-11-22net: mscc: ocelot: remove redundant stats_layout pointersColin Foster2-13/+12
2022-11-15net: mscc: ocelot: drop workaround for forcing RX flow controlVladimir Oltean1-4/+2
2022-11-07net: remove explicit phylink_generic_validate() referencesRussell King (Oracle)1-1/+0
2022-11-03net: remove unused ndo_get_devlink_portJiri Pirko1-10/+0
2022-11-03net: make drivers to use SET_NETDEV_DEVLINK_PORT to set devlink_portJiri Pirko2-9/+1
2022-09-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+7
2022-09-28net: mscc: ocelot: fix tagged VLAN refusal while under a VLAN-unaware bridgeVladimir Oltean1-0/+7
2022-09-21net: mscc: ocelot: check return values of writes during resetColin Foster1-5/+11
2022-09-21net: mscc: ocelot: utilize readx_poll_timeout() for chip resetColin Foster1-9/+23
2022-09-20net: dsa: felix: add support for changing DSA masterVladimir Oltean1-1/+2
2022-09-20net: dsa: propagate extack to port_lag_joinVladimir Oltean2-6/+9
2022-09-09net: mscc: ocelot: share the common stat definitions between all driversVladimir Oltean1-93/+1
2022-09-09net: mscc: ocelot: minimize definitions for statsVladimir Oltean1-372/+93
2022-09-09net: mscc: ocelot: harmonize names of SYS_COUNT_TX_AGING and OCELOT_STAT_TX_AGEDVladimir Oltean2-2/+2
2022-09-09net: mscc: ocelot: add support for all sorts of standardized counters present...Vladimir Oltean1-17/+184
2022-09-09net: mscc: ocelot: exclude stats from bulk regions based on reg, not nameVladimir Oltean1-1/+1
2022-09-09net: dsa: felix: use ocelot's ndo_get_stats64 methodVladimir Oltean2-61/+67
2022-09-09net: mscc: ocelot: move more PTP code from the lib to ocelot_ptp.cVladimir Oltean2-478/+481
2022-09-09net: mscc: ocelot: unexport ocelot_port_fdb_do_dump from the common libVladimir Oltean3-53/+50
2022-09-09net: mscc: ocelot: move stats code to ocelot_stats.cVladimir Oltean4-207/+237
2022-09-09net: mscc: ocelot: sort Makefile files alphabeticallyVladimir Oltean1-5/+5
2022-09-09net: mscc: ocelot: report FIFO drop counters through stats->rx_droppedVladimir Oltean1-1/+26
2022-09-09net: dsa: felix: check the 32-bit PSFP stats against overflowVladimir Oltean1-0/+3
2022-09-09net: mscc: ocelot: make access to STAT_VIEW sleepable againVladimir Oltean1-11/+37
2022-09-09net: dsa: felix: add definitions for the stream filter countersVladimir Oltean1-1/+0
2022-08-23net: mscc: ocelot: adjust forwarding domain for CPU ports in a LAGVladimir Oltean1-0/+19
2022-08-23net: mscc: ocelot: set up tag_8021q CPU ports independent of user port affinityVladimir Oltean1-32/+32
2022-08-17net: mscc: ocelot: report ndo_get_stats64 from the wraparound-resistant ocelo...Vladimir Oltean1-27/+26
2022-08-17net: mscc: ocelot: keep ocelot_stat_layout by reg address, not offsetVladimir Oltean3-99/+156
2022-08-17net: mscc: ocelot: make struct ocelot_stat_layout array indexableVladimir Oltean2-108/+400
2022-08-17net: mscc: ocelot: fix race between ndo_get_stats64 and ocelot_check_stats_workVladimir Oltean1-0/+4
2022-08-17net: mscc: ocelot: turn stats_lock into a spinlockVladimir Oltean1-6/+5
2022-08-17net: mscc: ocelot: fix address of SYS_COUNT_TX_AGING counterVladimir Oltean1-1/+1
2022-08-17net: mscc: ocelot: fix incorrect ndo_get_stats64 packet countersVladimir Oltean2-13/+17
2022-07-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-9/+8
2022-07-07net: ocelot: fix wrong time_after usagePavel Skripkin1-9/+8
2022-06-19net: dsa: felix: update base time of time-aware shaper when adjusting PTP timeXiaoliang Yang2-0/+9
2022-05-23net: mscc: ocelot: switch from {,un}set to {,un}assign for tag_8021q CPU portsVladimir Oltean1-46/+74
2022-05-23net: dsa: felix: directly call ocelot_port_{set,unset}_dsa_8021q_cpuVladimir Oltean1-0/+8
2022-05-23net: dsa: felix: update bridge fwd mask from ocelot lib when changing tag_802...Vladimir Oltean1-2/+5
2022-05-23net: dsa: felix: move the updating of PGID_CPU to the ocelot libVladimir Oltean1-0/+31
2022-05-22net: mscc: ocelot: offload tc action "ok" using an empty action vectorVladimir Oltean1-0/+16
2022-05-20net: mscc: fix the alignment in ocelot_port_fdb_del()Alaa Mohamed1-1/+1
2022-05-12net: mscc: ocelot: move ocelot_port_private :: chip_port to ocelot_port :: indexVladimir Oltean2-39/+38
2022-05-12net: dsa: felix: bring the NPI port indirection for host flooding to surfaceVladimir Oltean1-3/+0
2022-05-12net: dsa: felix: bring the NPI port indirection for host MDBs to surfaceVladimir Oltean1-6/+0
2022-05-12net: dsa: felix: program host FDB entries towards PGID_CPU for tag_8021q tooVladimir Oltean1-6/+1
2022-05-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski3-14/+15
2022-05-09rtnetlink: add extack support in fdb del handlersAlaa Mohamed1-1/+2
2022-05-08eth: switch to netif_napi_add_weight()Jakub Kicinski1-2/+2
2022-05-06net: dsa: felix: perform MDB migration based on ocelot->multicast listVladimir Oltean1-0/+61
2022-05-05net: mscc: ocelot: avoid corrupting hardware counters when moving VCAP filtersVladimir Oltean1-0/+4
2022-05-05net: mscc: ocelot: restrict tc-trap actions to VCAP IS2 lookup 0Vladimir Oltean1-2/+3
2022-05-05net: mscc: ocelot: fix VCAP IS2 filters matching on both lookupsVladimir Oltean1-1/+0
2022-05-05net: mscc: ocelot: fix last VCAP IS1/IS2 filter persisting in hardware when d...Vladimir Oltean1-0/+4
2022-05-05net: mscc: ocelot: mark traps with a bool instead of keeping them in a listVladimir Oltean2-11/+4
2022-05-04net: mscc: ocelot: don't use magic numbers for OCELOT_POLICER_DISCARDVladimir Oltean1-11/+7
2022-05-04net: mscc: ocelot: drop port argument from qos_policer_conf_setVladimir Oltean3-14/+18
2022-05-04net: mscc: ocelot: use list_for_each_entry in ocelot_vcap_filter_add_to_blockVladimir Oltean1-9/+5
2022-05-04net: mscc: ocelot: add to tail of empty list in ocelot_vcap_filter_add_to_blockVladimir Oltean1-1/+1
2022-05-04net: mscc: ocelot: use list_add_tail in ocelot_vcap_filter_add_to_block()Vladimir Oltean1-1/+1
2022-04-30net: ethernet: ocelot: remove the need for num_stats initializerColin Foster2-1/+6
2022-04-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+12
2022-04-25net: mscc: ocelot: don't add VID 0 to ocelot->vlans when leaving VLAN-aware b...Vladimir Oltean1-2/+2
2022-04-25net: mscc: ocelot: ignore VID 0 added by 8021q moduleVladimir Oltean1-0/+10
2022-04-25net: mscc: ocelot: Remove useless codeHaowen Bai1-4/+0
2022-04-19net: mscc: ocelot: fix broken IP multicast floodingVladimir Oltean1-0/+2
2022-03-17net: mscc: ocelot: offload per-flow mirroring using tc-mirred and VCAP IS2Vladimir Oltean4-3/+40
2022-03-17net: mscc: ocelot: establish functions for handling VCAP aux resourcesVladimir Oltean1-11/+30
2022-03-17net: mscc: ocelot: add port mirroring support using tc-matchallVladimir Oltean3-2/+150
2022-03-17net: mscc: ocelot: refactor policer work out of ocelot_setup_tc_cls_matchallVladimir Oltean1-39/+71
2022-03-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+15
2022-03-17net: mscc: ocelot: fix backwards compatibility with single-chain tc-flower of...Vladimir Oltean1-1/+15
2022-03-15net: mscc: ocelot: fix build error due to missing IEEE_8021QAZ_MAX_TCSVladimir Oltean1-2/+2
2022-03-14net: dsa: felix: configure default-prio and dscp prioritiesVladimir Oltean1-0/+116
2022-03-04net: mscc: ocelot: use pretty names for IPPROTO_UDP and IPPROTO_TCPVladimir Oltean1-2/+2
2022-03-04net: mscc: ocelot: use list_for_each_entry in ocelot_vcap_block_remove_filterVladimir Oltean1-5/+3
2022-03-03net: mscc: ocelot: accept configuring bridge port flags on the NPI portVladimir Oltean1-0/+3
2022-02-28flow_offload: reject offload for all drivers with invalid police parametersJianbo Liu4-11/+59
2022-02-27net: mscc: ocelot: enforce FDB isolation when VLAN-unawareVladimir Oltean4-36/+243
2022-02-24net: dsa: felix: support FDB entries on offloaded LAG interfacesVladimir Oltean1-1/+127
2022-02-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+5
2022-02-17net: mscc: ocelot: annotate which traps need PTP timestampingVladimir Oltean3-8/+11
2022-02-17net: mscc: ocelot: keep traps in a listVladimir Oltean3-2/+12
2022-02-17net: mscc: ocelot: use a single VCAP filter for all MRP trapsVladimir Oltean3-30/+29
2022-02-17net: mscc: ocelot: delete OCELOT_MRP_CPUQVladimir Oltean1-1/+0
2022-02-17net: mscc: ocelot: consolidate cookie allocation for private VCAP rulesVladimir Oltean2-21/+19
2022-02-17net: mscc: ocelot: use a consistent cookie for MRP trapsVladimir Oltean1-1/+2
2022-02-15net: mscc: ocelot: fix use-after-free in ocelot_vlan_del()Vladimir Oltean1-1/+5
2022-02-14net: mscc: ocelot: use bulk reads for statsColin Foster1-15/+77
2022-02-14net: mscc: ocelot: add ability to perform bulk readsColin Foster1-0/+13
2022-02-14net: mscc: ocelot: remove unnecessary stat reading from ethtoolColin Foster1-17/+16
2022-02-10net: mscc: ocelot: fix mutex lock error during ethtool stats readColin Foster1-4/+7
2022-02-05net: mscc: ocelot: fix all IP traffic getting trapped to CPU with PTP over IPVladimir Oltean1-0/+8
2022-01-19net: mscc: ocelot: fix using match before it is setTom Rix1-7/+8
2022-01-17net: ocelot: Fix the call to switchdev_bridge_port_offloadHoratiu Vultur1-3/+3
2022-01-15net: mscc: ocelot: don't dereference NULL pointers with shared tc filtersVladimir Oltean1-1/+28
2022-01-13net: mscc: ocelot: don't let phylink re-enable TX PAUSE on the NPI portVladimir Oltean1-1/+4
2022-01-07net: dsa: felix: add port fast age supportVladimir Oltean1-0/+37
2022-01-07net: mscc: ocelot: fix incorrect balancing with down LAG portsVladimir Oltean1-15/+11
2021-12-19flow_offload: add index to flow_action_entry structureBaowen Zheng1-1/+1
2021-12-15net: ocelot: add support to get port mac from device-treeClément Léger1-1/+4
2021-12-14net_tstamp: add new flag HWTSTAMP_FLAG_BONDED_PHC_INDEXHangbin Liu1-4/+0
2021-12-13net: ocelot: use dma_unmap_addr to get tx buffer dma_addrClément Léger1-2/+2
2021-12-10net: ocelot: add FDMA supportClément Léger5-4/+1092
2021-12-10net: ocelot: add support for ndo_change_mtuClément Léger2-0/+16
2021-12-10net: ocelot: add and export ocelot_ptp_rx_timestamp()Clément Léger1-17/+24
2021-12-10net: ocelot: export ocelot_ifh_port_set() to setup IFHClément Léger1-5/+13
2021-12-07net: mscc: ocelot: split register definitions to a separate fileColin Foster3-510/+536
2021-11-30net: mscc: ocelot: fix mutex_lock not releasedLv Ruyi1-1/+3
2021-11-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-8/+260
2021-11-26net: mscc: ocelot: correctly report the timestamping RX filters in ethtoolVladimir Oltean1-1/+4
2021-11-26net: mscc: ocelot: set up traps for PTP packetsVladimir Oltean1-1/+240
2021-11-26net: mscc: ocelot: create a function that replaces an existing VCAP filterVladimir Oltean1-0/+16
2021-11-26net: mscc: ocelot: don't downgrade timestamping RX filters in SIOCSHWTSTAMPVladimir Oltean1-6/+0
2021-11-25net: dsa: felix: enable cut-through forwarding between ports by defaultVladimir Oltean1-8/+69
2021-11-25net: ocelot: remove "bridge" argument from ocelot_get_bridge_fwd_maskVladimir Oltean1-6/+8
2021-11-18net: dsa: felix: restrict psfp rules on ingress portXiaoliang Yang1-1/+1
2021-11-18net: mscc: ocelot: use index to set vcap policerXiaoliang Yang3-37/+88
2021-11-18net: mscc: ocelot: add gate and police action offload to PSFPXiaoliang Yang2-2/+53