[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140904161314.6883.22217.stgit@ahduyck-bv4.jf.intel.com>
Date: Thu, 04 Sep 2014 12:20:04 -0400
From: Alexander Duyck <alexander.h.duyck@...el.com>
To: netdev@...r.kernel.org
Cc: richardcochran@...il.com, davem@...emloft.net, willemb@...gle.com
Subject: [PATCH net-next v3 0/2] Combine standard and phy timestamping logic
This change makes it so that the core path for the phy timestamping logic
is shared between skb_tx_tstamp and skb_complete_tx_timestamp. In addition
it provides a means of using the same skb clone type path in non phy
timestamping drivers.
The main motivation for this is to enable non-phy drivers to be able to
manipulate tx timestamp skbs for such things as putting them in lists or
setting aside buffer in the context block.
---
v2: Incorporated suggested changes from Willem de Bruijn and Eric Dumazet
dropped uneeded comment
restored order of hwtstamp vs swtstamp
added destructor for skb
Dropped usage of skb_complete_tx_timestamp as a kfree_skb w/ destructor
v3: Updated destructor handling and dealt with socket reference counting issues
Alexander Duyck (2):
net-timestamp: Merge shared code between phy and regular timestamping
net-timestamp: Make the clone operation stand-alone from phy timestamping
drivers/net/phy/dp83640.c | 6 ++-
include/linux/skbuff.h | 2 +
include/net/sock.h | 5 +++
net/core/skbuff.c | 79 +++++++++++++++++++++++++++++++++------------
net/core/sock.c | 10 +++++-
net/core/timestamping.c | 43 ++----------------------
net/ipv4/udp.c | 2 +
7 files changed, 80 insertions(+), 67 deletions(-)
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists