<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in cpsw_switchdev.h</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2025</copyright>
    <generator>Java</generator><item>
        <title>c95baf12f5077419db01313ab61c2aac007d40cd - Merge drm-intel-next-queued into gvt-next</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#c95baf12f5077419db01313ab61c2aac007d40cd</link>
        <description>Merge drm-intel-next-queued into gvt-nextBackmerge to pull inhttps://patchwork.freedesktop.org/patch/353621/?series=73544&amp;rev=1Signed-off-by: Zhenyu Wang &lt;zhenyuw@linux.intel.com&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Thu, 20 Feb 2020 08:23:37 +0000</pubDate>
        <dc:creator>Zhenyu Wang &lt;zhenyuw@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>b19efcabb587e5470a423ef778905f47e5a47f1a - Merge branch &apos;next&apos; into for-linus</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#b19efcabb587e5470a423ef778905f47e5a47f1a</link>
        <description>Merge branch &apos;next&apos; into for-linusPrepare input updates for 5.6 merge window.

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Sat, 01 Feb 2020 01:42:33 +0000</pubDate>
        <dc:creator>Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>1bdd3e05a0a3b4a97ea88bc46fef8fb265c8b94c - Merge tag &apos;v5.5-rc5&apos; into next</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#1bdd3e05a0a3b4a97ea88bc46fef8fb265c8b94c</link>
        <description>Merge tag &apos;v5.5-rc5&apos; into nextSync up with mainline to get SPI &quot;delay&quot; API changes.

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Fri, 10 Jan 2020 22:56:04 +0000</pubDate>
        <dc:creator>Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>22164fbe274c2dd96d2887fe121896d321000a61 - Merge drm/drm-next into drm-misc-next</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#22164fbe274c2dd96d2887fe121896d321000a61</link>
        <description>Merge drm/drm-next into drm-misc-nextRequested, and we need v5.5-rc1 backported as our current branch is still based on v5.4.Signed-off-by: Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Mon, 06 Jan 2020 09:35:33 +0000</pubDate>
        <dc:creator>Maarten Lankhorst &lt;maarten.lankhorst@linux.intel.com&gt;</dc:creator>
    </item>
<item>
        <title>28336be568bb473d16ba80db0801276fb4f1bbe5 - Merge tag &apos;v5.5-rc4&apos; into locking/kcsan, to resolve conflicts</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#28336be568bb473d16ba80db0801276fb4f1bbe5</link>
        <description>Merge tag &apos;v5.5-rc4&apos; into locking/kcsan, to resolve conflictsConflicts:	init/main.c	lib/Kconfig.debugSigned-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Mon, 30 Dec 2019 07:10:51 +0000</pubDate>
        <dc:creator>Ingo Molnar &lt;mingo@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>023265ed75d8792ca1d555430a8985511d3f8788 - Merge drm/drm-next into drm-intel-next-queued</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#023265ed75d8792ca1d555430a8985511d3f8788</link>
        <description>Merge drm/drm-next into drm-intel-next-queuedSync up with v5.5-rc1 to get the updated lock_release() API among otherthings. Fix the conflict reported by Stephen Rothwell [1].[1] http://lore.kernel.org/r/20191210093957.5120f717@canb.auug.org.auSigned-off-by: Jani Nikula &lt;jani.nikula@intel.com&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Wed, 11 Dec 2019 08:35:37 +0000</pubDate>
        <dc:creator>Jani Nikula &lt;jani.nikula@intel.com&gt;</dc:creator>
    </item>
<item>
        <title>942e6f8a8314e5550e254519dfba4ccd5170421d - Merge mainline/master into arm/fixes</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#942e6f8a8314e5550e254519dfba4ccd5170421d</link>
        <description>Merge mainline/master into arm/fixesThis brings in the mainline tree right after armsoc contents was mergedthis release cycle, so that we can re-run savedefconfig, etc.Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Thu, 05 Dec 2019 21:16:58 +0000</pubDate>
        <dc:creator>Olof Johansson &lt;olof@lixom.net&gt;</dc:creator>
    </item>
<item>
        <title>2ea352d5960ad469f5712cf3e293db97beac4e01 - Merge remote-tracking branch &apos;torvalds/master&apos; into perf/core</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#2ea352d5960ad469f5712cf3e293db97beac4e01</link>
        <description>Merge remote-tracking branch &apos;torvalds/master&apos; into perf/coreTo pick up BPF changes we&apos;ll need.Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Tue, 26 Nov 2019 14:06:19 +0000</pubDate>
        <dc:creator>Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;</dc:creator>
    </item>
<item>
        <title>386403a115f95997c2715691226e11a7b5cffcfd - Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#386403a115f95997c2715691226e11a7b5cffcfd</link>
        <description>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-nextPull networking updates from David Miller: &quot;Another merge window, another pull full of stuff:   1) Support alternative names for network devices, from Jiri Pirko.   2) Introduce per-netns netdev notifiers, also from Jiri Pirko.   3) Support MSG_PEEK in vsock/virtio, from Matias Ezequiel Vara      Larsen.   4) Allow compiling out the TLS TOE code, from Jakub Kicinski.   5) Add several new tracepoints to the kTLS code, also from Jakub.   6) Support set channels ethtool callback in ena driver, from Sameeh      Jubran.   7) New SCTP events SCTP_ADDR_ADDED, SCTP_ADDR_REMOVED,      SCTP_ADDR_MADE_PRIM, and SCTP_SEND_FAILED_EVENT. From Xin Long.   8) Add XDP support to mvneta driver, from Lorenzo Bianconi.   9) Lots of netfilter hw offload fixes, cleanups and enhancements,      from Pablo Neira Ayuso.  10) PTP support for aquantia chips, from Egor Pomozov.  11) Add UDP segmentation offload support to igb, ixgbe, and i40e. From      Josh Hunt.  12) Add smart nagle to tipc, from Jon Maloy.  13) Support L2 field rewrite by TC offloads in bnxt_en, from Venkat      Duvvuru.  14) Add a flow mask cache to OVS, from Tonghao Zhang.  15) Add XDP support to ice driver, from Maciej Fijalkowski.  16) Add AF_XDP support to ice driver, from Krzysztof Kazimierczak.  17) Support UDP GSO offload in atlantic driver, from Igor Russkikh.  18) Support it in stmmac driver too, from Jose Abreu.  19) Support TIPC encryption and auth, from Tuong Lien.  20) Introduce BPF trampolines, from Alexei Starovoitov.  21) Make page_pool API more numa friendly, from Saeed Mahameed.  22) Introduce route hints to ipv4 and ipv6, from Paolo Abeni.  23) Add UDP segmentation offload to cxgb4, Rahul Lakkireddy&quot;* git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1857 commits)  libbpf: Fix usage of u32 in userspace code  mm: Implement no-MMU variant of vmalloc_user_node_flags  slip: Fix use-after-free Read in slip_open  net: dsa: sja1105: fix sja1105_parse_rgmii_delays()  macvlan: schedule bc_work even if error  enetc: add support Credit Based Shaper(CBS) for hardware offload  net: phy: add helpers phy_(un)lock_mdio_bus  mdio_bus: don&apos;t use managed reset-controller  ax88179_178a: add ethtool_op_get_ts_info()  mlxsw: spectrum_router: Fix use of uninitialized adjacency index  mlxsw: spectrum_router: After underlay moves, demote conflicting tunnels  bpf: Simplify __bpf_arch_text_poke poke type handling  bpf: Introduce BPF_TRACE_x helper for the tracing tests  bpf: Add bpf_jit_blinding_enabled for !CONFIG_BPF_JIT  bpf, testing: Add various tail call test cases  bpf, x86: Emit patchable direct jump as tail call  bpf: Constant map key tracking for prog array pokes  bpf: Add poke dependency tracking for prog array maps  bpf: Add initial poke descriptor table for jit images  bpf: Move owner type, jited info into array auxiliary data  ...

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Tue, 26 Nov 2019 04:02:57 +0000</pubDate>
        <dc:creator>Linus Torvalds &lt;torvalds@linux-foundation.org&gt;</dc:creator>
    </item>
<item>
        <title>1f12177b322dd7e7555537211778d308bdc31dab - Merge branch &apos;cpsw-switchdev&apos;</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#1f12177b322dd7e7555537211778d308bdc31dab</link>
        <description>Merge branch &apos;cpsw-switchdev&apos;Grygorii Strashko says:====================net: ethernet: ti: introduce new cpsw switchdev based driverThank you All for review of v6.There are no significant changes in this version, just fixed comments to v6.--- v6The major change in this version is DT bindings conversation to json-schema, andfixed other comments to v5. Also added patch to clean up ALE on init and netifrestart.--- v5The major part of work done in this iteration is rebasing on top of net-nextwith XDP series from Ivan Khoronzhuk [3], and enable XDP support in the newCPSW switchdev driver (it was little bit painful ;(). There are mostly nofunctional changes in new CPSW driver, just few fixes, sync with old driverand cleanups/optimizations. So, I&apos;ve kept rest of cover letter unchanged.---This series originally based on work [1][2] done byIlias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;.This the RFC v5 which introduces new CPSW switchdev based driver which isoperating in dual-emac mode by default, thus working as 2 individualnetwork interfaces. The Switch mode can be enabled by configuring devlink driverparameter &quot;switch_mode&quot; to 1/true:	devlink dev param set platform/48484000.switch \	name switch_mode value 1 cmode runtimeThis can be done regardless of the state of Port&apos;s netdev devices - UP/DOWN, butPort&apos;s netdev devices have to be in UP before joining the bridge to avoidoverwriting of bridge configuration as CPSW switch driver completely reloads itsconfiguration when first Port changes its state to UP.When the both interfaces joined the bridge - CPSW switch driver will startmarking packets with offload_fwd_mark flag unless &quot;ale_bypass=0&quot;.All configuration is implemented via switchdev API.The previous solution of tracking both Ports joined the bridge(from netdevice_notifier) proved to be not correct as changing CPSW switchdriver mode required cleanup of ALE table and CPSW settings which happenswhile second Port is joined bridge and as result configuration loadedby bridge for the first Port became corrupted.The introduction of the new CPSW switchdev based driver (cpsw_new.c) is spliton two parts: Part 1 - basic dual-emac driver; Part 2 switchdev support.Such approach has simplified code development and testing alot. And, I hope,it will help with better review.patches #1 - 5: preparation patches which also moves common code to cpsw_priv.cpatches #6 - 9: Introduce TI CPSW switch driver based on switchdev and new DT bindingspatch #10: new CPSW switchdev driver documentationpatch #11: adds DT nodes for new CPSW switchdev driver added for DRA7 SoCpatch #12: adds DT nodes for new cpsw switchdev driver for am571x-idk boardpatch #13: enables build of TI CPSW driverMost of the contents of the previous cover-letter have been added innew driver documentation, so please refer to that for configuration,testing and future work.These patches can be found at (branch contains some additional patches requiredfor testing on top of net-next): https://github.com/grygoriyS/linux.git branch: lkml-5.4-switch-tbd-v7changes in v7: - patch 2: added check for devm_kmalloc_array() return value - patch 6: fixed commentschanges in v6: https://lkml.org/lkml/2019/11/9/108 - DT bindings converted to json-schema - netdev initialization is split on creation and registration.   The netdevs registration happens now at the end of the pobe. - reworked cpsw_set_pauseparam() to use PHYlib APIs. - other comments for v5 fixedv5: https://patchwork.kernel.org/cover/11208785/ - rebase on top of net-next with XDP series from Ivan Khoronzhuk [3],   and enable XDP support in the new CPSW switchdev driver   cpsw driver (tested XDP_DROP only) - sync with old cpsw driver - implement comments from  Ivan Khoronzhuk and Rob Herring - fixed &quot;NETDEV WATCHDOG: ..&quot; warning after interface after interface UP/DOWN,   missed TX wake in cpsw_adjust_link()v4: https://patchwork.kernel.org/cover/11010523/ - finished split of common CPSW code - added devlink support - changed CPSW mode configuration approach: from netdevice_notifier to devlink   parameter - refactor and clean up ALE changes which allows to modify VLANs/MDBs entries - added missed support for port QDISC_CBS and QDISC_MQPRIO - the CPSW is split on two parts: basic dual_mac driver and switchdev support - added missed callback .ndo_get_port_parent_id() - reworked ingress frames marking in switch mode (offload_fwd_mark) - applied comments from Andrew Lunnv3: https://lwn.net/Articles/786677/Changes in v3:- alot of work done to split properly common code between legacy and switchdev  CPSW drivers and clean up code- CPSW switchdev interface updated to the current LKML switchdev interface- actually new CPSW switchdev based driver introduced- optimized dual_mac mode in new driver. Main change is that in promiscuousmode P0_UNI_FLOOD (both ports) is enabled in addition to ALLMULTI (currentport) instead of ALE_BYPASS.  So, port in non promiscuous mode will keeppossibility of mcast and vlan filtering.- changed bridge join sequnce: now switch mode will be enabled only whenboth ports joined the bridge. CPSW will be switched to dual_mac mode if anyport leave bridge. ALE table is completly cleared and then refiled whileswitching to switch mode - this simplidies code a lot, but introduces somelimitation to bridge setup sequence: ip link add name br0 type bridge ip link set dev br0 type bridge ageing_time 1000 ip link set dev br0 type bridge vlan_filtering 0 &lt;- disable echo 0 &gt; /sys/class/net/br0/bridge/default_vlan ip link set dev sw0p1 up &lt;- add ports ip link set dev sw0p2 up ip link set dev sw0p1 master br0 ip link set dev sw0p2 master br0 echo 1 &gt; /sys/class/net/br0/bridge/default_vlan &lt;- enable ip link set dev br0 type bridge vlan_filtering 1 bridge vlan add dev br0 vid 1 pvid untagged self- STP tested with vlan_filtering 1/0. To make STP work I&apos;ve had to set  NO_SA_UPDATE for all slave ports (see comment in code). It also required to  statically register STP mcast address {0x01, 0x80, 0xc2, 0x0, 0x0, 0x0};- allowed build both TI_CPSW and TI_CPSW_SWITCHDEV drivers- PTP can be enabled on both ports in dual_mac mode[1] https://patchwork.ozlabs.org/cover/929367/[2] https://patches.linaro.org/cover/136709/[3] https://patchwork.kernel.org/cover/11035813/====================Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Wed, 20 Nov 2019 19:25:24 +0000</pubDate>
        <dc:creator>David S. Miller &lt;davem@davemloft.net&gt;</dc:creator>
    </item>
<item>
        <title>111cf1ab4da393416b8b79c2a7598378bfaf07e4 - net: ethernet: ti: introduce cpsw switchdev based driver part 2 - switch</title>
        <link>http://opengrok.net:8080/history/linux/drivers/net/ethernet/ti/cpsw_switchdev.h#111cf1ab4da393416b8b79c2a7598378bfaf07e4</link>
        <description>net: ethernet: ti: introduce cpsw switchdev based driver part 2 - switchCPSW switchdev based driver which is operating in dual-emac mode bydefault, thus working as 2 individual network interfaces. The Switch modecan be enabled by configuring devlink driver parameter &quot;switch_mode&quot; to 1:	devlink dev param set platform/48484000.switch \	name switch_mode value 1 cmode runtimeThis can be done regardless of the state of Port&apos;s netdevs - UP/DOWN, butPort&apos;s netdev devices have to be UP before joining the bridge to avoidoverwriting of bridge configuration as CPSW switch driver completelyreloads its configuration when first Port changes its state to UP.When the both interfaces joined the bridge - CPSW switch driver will startmarking packets with offload_fwd_mark flag unless &quot;ale_bypass=0&quot;.All configuration is implemented via switchdev API and notifiers.Supported: - SWITCHDEV_ATTR_ID_PORT_PRE_BRIDGE_FLAGS - SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS: BR_MCAST_FLOOD - SWITCHDEV_ATTR_ID_PORT_STP_STATE - SWITCHDEV_OBJ_ID_PORT_VLAN - SWITCHDEV_OBJ_ID_PORT_MDB - SWITCHDEV_OBJ_ID_HOST_MDBHence CPSW switchdev driver supports:- FDB offloading- MDB offloading- VLAN filtering and offloading- STPSigned-off-by: Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;Signed-off-by: Grygorii Strashko &lt;grygorii.strashko@ti.com&gt;Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;

            List of files:
            /linux/drivers/net/ethernet/ti/cpsw_switchdev.h</description>
        <pubDate>Tue, 19 Nov 2019 22:19:20 +0000</pubDate>
        <dc:creator>Ilias Apalodimas &lt;ilias.apalodimas@linaro.org&gt;</dc:creator>
    </item>
</channel>
</rss>
