lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 27 Apr 2021 12:21:56 +0800 From: Yangbo Lu <yangbo.lu@....com> To: netdev@...r.kernel.org Cc: Yangbo Lu <yangbo.lu@....com>, Richard Cochran <richardcochran@...il.com>, Vladimir Oltean <vladimir.oltean@....com>, "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Jonathan Corbet <corbet@....net>, Kurt Kanzenbach <kurt@...utronix.de>, Andrew Lunn <andrew@...n.ch>, Vivien Didelot <vivien.didelot@...il.com>, Florian Fainelli <f.fainelli@...il.com>, Claudiu Manoil <claudiu.manoil@....com>, Alexandre Belloni <alexandre.belloni@...tlin.com>, UNGLinuxDriver@...rochip.com, linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [net-next, v3, 0/7] Support Ocelot PTP Sync one-step timestamping This patch-set is to support Ocelot PTP Sync one-step timestamping. Actually before that, this patch-set cleans up and optimizes the DSA slave tx timestamp request handling process. Changes for v2: - Split tx timestamp optimization patch. - Updated doc patch. - Freed skb->cb usage in dsa core driver, and moved to device drivers. - Other minor fixes. Changes for v3: - Switched sequence of patch #3 and #4 with rebasing to fix build. - Replaced hard coded 48 of memset(skb->cb, 0, 48) with sizeof(). Yangbo Lu (7): net: dsa: check tx timestamp request in core driver net: dsa: no longer identify PTP packet in core driver net: dsa: no longer clone skb in core driver net: dsa: free skb->cb usage in core driver docs: networking: timestamping: update for DSA switches net: mscc: ocelot: convert to ocelot_port_txtstamp_request() net: mscc: ocelot: support PTP Sync one-step timestamping Documentation/networking/timestamping.rst | 63 ++++++++------ .../net/dsa/hirschmann/hellcreek_hwtstamp.c | 28 ++++--- .../net/dsa/hirschmann/hellcreek_hwtstamp.h | 4 +- drivers/net/dsa/mv88e6xxx/hwtstamp.c | 26 ++++-- drivers/net/dsa/mv88e6xxx/hwtstamp.h | 10 +-- drivers/net/dsa/ocelot/felix.c | 19 +++-- drivers/net/dsa/sja1105/sja1105_main.c | 2 +- drivers/net/dsa/sja1105/sja1105_ptp.c | 16 ++-- drivers/net/dsa/sja1105/sja1105_ptp.h | 4 +- drivers/net/ethernet/mscc/ocelot.c | 83 +++++++++++++++++-- drivers/net/ethernet/mscc/ocelot_net.c | 20 ++--- include/linux/dsa/sja1105.h | 3 +- include/net/dsa.h | 18 +--- include/soc/mscc/ocelot.h | 21 ++++- net/dsa/Kconfig | 2 + net/dsa/slave.c | 23 +---- net/dsa/tag_ocelot.c | 27 +----- net/dsa/tag_ocelot_8021q.c | 41 +++------ 18 files changed, 230 insertions(+), 180 deletions(-) base-commit: 6d72e7c767acbbdd44ebc7d89c6690b405b32b57 -- 2.25.1
Powered by blists - more mailing lists