Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1733704 > unrolled thread

[PATCH RFC V1 net-next 2/6] net: skbuff: Add a field to support time based transmission.

Started byRichard Cochran <rcochran@linutronix.de>
First post2017-09-18 09:50 +0200
Last post2017-09-18 17:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH RFC V1 net-next 2/6] net: skbuff: Add a field to support time based transmission. Richard Cochran <rcochran@linutronix.de> - 2017-09-18 09:50 +0200
    Re: [PATCH RFC V1 net-next 2/6] net: skbuff: Add a field to support  time based transmission. Eric Dumazet <eric.dumazet@gmail.com> - 2017-09-18 17:20 +0200

#1733704 — [PATCH RFC V1 net-next 2/6] net: skbuff: Add a field to support time based transmission.

FromRichard Cochran <rcochran@linutronix.de>
Date2017-09-18 09:50 +0200
Subject[PATCH RFC V1 net-next 2/6] net: skbuff: Add a field to support time based transmission.
Message-ID<uqYYx-39L-3@gated-at.bofh.it>
Signed-off-by: Richard Cochran <rcochran@linutronix.de>
---
 include/linux/skbuff.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 72299ef00061..bc7f7dcbb413 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -635,6 +635,7 @@ typedef unsigned char *sk_buff_data_t;
  *	@dst_pending_confirm: need to confirm neighbour
   *	@napi_id: id of the NAPI struct this skb came from
  *	@secmark: security marking
+ *	@transmit_time: desired future transmission time in nanoseconds
  *	@mark: Generic packet mark
  *	@vlan_proto: vlan encapsulation protocol
  *	@vlan_tci: vlan tag control information
@@ -804,6 +805,7 @@ struct sk_buff {
 #ifdef CONFIG_NETWORK_SECMARK
 	__u32		secmark;
 #endif
+	__u64			transmit_time;
 
 	union {
 		__u32		mark;
-- 
2.11.0

[toc] | [next] | [standalone]


#1734218 — Re: [PATCH RFC V1 net-next 2/6] net: skbuff: Add a field to support time based transmission.

FromEric Dumazet <eric.dumazet@gmail.com>
Date2017-09-18 17:20 +0200
SubjectRe: [PATCH RFC V1 net-next 2/6] net: skbuff: Add a field to support time based transmission.
Message-ID<ur602-7Z6-31@gated-at.bofh.it>
In reply to#1733704
On Mon, 2017-09-18 at 09:41 +0200, Richard Cochran wrote:
> Signed-off-by: Richard Cochran <rcochran@linutronix.de>
> ---
>  include/linux/skbuff.h | 2 ++
>  1 file changed, 2 insertions(+)

Why skb->tstamp can not be used ?

AFAIK, fact that it might be overwritten by packet captures should not hurt.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web