Message ID | 20230119122705.73054-1-vladimir.oltean@nxp.com (mailing list archive) |
---|---|
Headers | show |
Series | ethtool support for IEEE 802.3 MAC Merge layer | expand |
On Thu, 19 Jan 2023 14:26:52 +0200 Vladimir Oltean wrote: > TL;DR: a MAC Merge layer as defined by IEEE 802.3-2018, clause 99 > (interspersing of express traffic). This is controlled through ethtool > netlink (ETHTOOL_MSG_MM_GET, ETHTOOL_MSG_MM_SET). The raw ethtool > commands are posted here: ethtool stuff LGTM FWIW.
Hello: This series was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Thu, 19 Jan 2023 14:26:52 +0200 you wrote: > Change log > ---------- > > v3->v4: > - add missing opening bracket in ocelot_port_mm_irq() > - moved cfg.verify_time range checking so that it actually takes place > for the updated rather than old value > v3 at: > https://patchwork.kernel.org/project/netdevbpf/cover/20230117085947.2176464-1-vladimir.oltean@nxp.com/ > > [...] Here is the summary with links: - [v4,net-next,01/12] net: ethtool: netlink: introduce ethnl_update_bool() https://git.kernel.org/netdev/net/c/7c494a7749a7 - [v4,net-next,02/12] net: ethtool: add support for MAC Merge layer (no matching commit) - [v4,net-next,03/12] docs: ethtool-netlink: document interface for MAC Merge layer (no matching commit) - [v4,net-next,04/12] net: ethtool: netlink: retrieve stats from multiple sources (eMAC, pMAC) (no matching commit) - [v4,net-next,05/12] docs: ethtool: document ETHTOOL_A_STATS_SRC and ETHTOOL_A_PAUSE_STATS_SRC (no matching commit) - [v4,net-next,06/12] net: ethtool: add helpers for aggregate statistics (no matching commit) - [v4,net-next,07/12] net: ethtool: add helpers for MM fragment size translation (no matching commit) - [v4,net-next,08/12] net: dsa: add plumbing for changing and getting MAC merge layer state (no matching commit) - [v4,net-next,09/12] net: mscc: ocelot: allow ocelot_stat_layout elements with no name (no matching commit) - [v4,net-next,10/12] net: mscc: ocelot: hide access to ocelot_stats_layout behind a helper (no matching commit) - [v4,net-next,11/12] net: mscc: ocelot: export ethtool MAC Merge stats for Felix VSC9959 (no matching commit) - [v4,net-next,12/12] net: mscc: ocelot: add MAC Merge layer support for VSC9959 (no matching commit) You are awesome, thank you!
Hello: This series was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Thu, 19 Jan 2023 14:26:52 +0200 you wrote: > Change log > ---------- > > v3->v4: > - add missing opening bracket in ocelot_port_mm_irq() > - moved cfg.verify_time range checking so that it actually takes place > for the updated rather than old value > v3 at: > https://patchwork.kernel.org/project/netdevbpf/cover/20230117085947.2176464-1-vladimir.oltean@nxp.com/ > > [...] Here is the summary with links: - [v4,net-next,01/12] net: ethtool: netlink: introduce ethnl_update_bool() (no matching commit) - [v4,net-next,02/12] net: ethtool: add support for MAC Merge layer https://git.kernel.org/netdev/net-next/c/2b30f8291a30 - [v4,net-next,03/12] docs: ethtool-netlink: document interface for MAC Merge layer https://git.kernel.org/netdev/net-next/c/3700000479f0 - [v4,net-next,04/12] net: ethtool: netlink: retrieve stats from multiple sources (eMAC, pMAC) https://git.kernel.org/netdev/net-next/c/04692c9020b7 - [v4,net-next,05/12] docs: ethtool: document ETHTOOL_A_STATS_SRC and ETHTOOL_A_PAUSE_STATS_SRC https://git.kernel.org/netdev/net-next/c/c319df10a4c8 - [v4,net-next,06/12] net: ethtool: add helpers for aggregate statistics https://git.kernel.org/netdev/net-next/c/449c5459641a - [v4,net-next,07/12] net: ethtool: add helpers for MM fragment size translation https://git.kernel.org/netdev/net-next/c/dd1c41645039 - [v4,net-next,08/12] net: dsa: add plumbing for changing and getting MAC merge layer state https://git.kernel.org/netdev/net-next/c/5f6c2d498ad9 - [v4,net-next,09/12] net: mscc: ocelot: allow ocelot_stat_layout elements with no name https://git.kernel.org/netdev/net-next/c/1a733bbddfad - [v4,net-next,10/12] net: mscc: ocelot: hide access to ocelot_stats_layout behind a helper https://git.kernel.org/netdev/net-next/c/497eea9f8ed5 - [v4,net-next,11/12] net: mscc: ocelot: export ethtool MAC Merge stats for Felix VSC9959 https://git.kernel.org/netdev/net-next/c/ab3f97a9610a - [v4,net-next,12/12] net: mscc: ocelot: add MAC Merge layer support for VSC9959 https://git.kernel.org/netdev/net-next/c/6505b6805655 You are awesome, thank you!
On Thu, Jan 19, 2023 at 02:26:52PM +0200, Vladimir Oltean wrote: > What is submitted here is sufficient for an LLDP daemon to do its job. > I've patched openlldp to advertise and configure frame preemption: > https://github.com/vladimiroltean/openlldp/tree/frame-preemption-v3 > > In case someone wants to try it out, here are some commands I've used. Just a heads up, I've sent a patch set for ethtool user space: https://patchwork.kernel.org/project/netdevbpf/cover/20230124142056.3778131-1-vladimir.oltean@nxp.com/ and a pull request for openlldp: https://github.com/intel/openlldp/pull/91 Waiting for these to get merged before I submit selftests for the kernel. Those who would like things to progress faster can help with some review there.