netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH next-next v4 0/2] MPLS: Add limited GSO support
@ 2013-05-24  6:51 Simon Horman
  2013-05-24  6:51 ` [PATCH net-next v5 1/2] net: Use 16bits for *_headers fields of struct skbuff Simon Horman
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Simon Horman @ 2013-05-24  6:51 UTC (permalink / raw)
  To: dev-yBygre7rU0TnMu66kgdUjQ, netdev-u79uwXL29TY76Z2rM5mHXA
  Cc: Eric Dumazet, Maciej Żenczykowski

In the case where a non-MPLS packet is received and an MPLS stack is
added it may well be the case that the original skb is GSO but the
NIC used for transmit does not support GSO of MPLS packets.

The aim of this short series is to provide GSO in software for MPLS packets
whose skbs are GSO.

Change since v4:

Update first patch of the series to use 16 bits for all *_headers
rather than just inner_*_headers

Simon Horman (2):
  net: Use 16bits for *_headers fields of struct skbuff
  MPLS: Add limited GSO support

 include/linux/netdev_features.h |   4 +-
 include/linux/netdevice.h       |   2 +
 include/linux/skbuff.h          | 123 ++++------------------------------------
 net/Kconfig                     |   1 +
 net/Makefile                    |   1 +
 net/core/dev.c                  |   4 ++
 net/core/ethtool.c              |   1 +
 net/ipv4/af_inet.c              |   1 +
 net/ipv4/tcp.c                  |   1 +
 net/ipv4/udp.c                  |   2 +-
 net/ipv6/ip6_offload.c          |   1 +
 net/ipv6/udp_offload.c          |   3 +-
 net/mpls/Kconfig                |   9 +++
 net/mpls/Makefile               |   4 ++
 net/mpls/mpls_gso.c             | 108 +++++++++++++++++++++++++++++++++++
 15 files changed, 149 insertions(+), 116 deletions(-)
 create mode 100644 net/mpls/Kconfig
 create mode 100644 net/mpls/Makefile
 create mode 100644 net/mpls/mpls_gso.c

-- 
1.8.2.1

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH next-next v4 0/2] MPLS: Add limited GSO support
@ 2013-05-22  6:57 Simon Horman
  0 siblings, 0 replies; 12+ messages in thread
From: Simon Horman @ 2013-05-22  6:57 UTC (permalink / raw)
  To: dev, netdev
  Cc: Jesse Gross, Pravin B Shelar, jarno.rajahalme, Eric Dumazet,
	Maciej Żenczykowski, Simon Horman

In the case where a non-MPLS packet is received and an MPLS stack is
added it may well be the case that the original skb is GSO but the
NIC used for transmit does not support GSO of MPLS packets.

The aim of this short series is to provide GSO in software for MPLS packets
whose skbs are GSO.

Simon Horman (2):
  net: Use 16bits for inner_*_headers fields of struct skbuff
  MPLS: Add limited GSO support

 include/linux/netdev_features.h |   4 +-
 include/linux/netdevice.h       |   2 +
 include/linux/skbuff.h          |  67 +++++-------------------
 net/Kconfig                     |   1 +
 net/Makefile                    |   1 +
 net/core/dev.c                  |   4 ++
 net/core/ethtool.c              |   1 +
 net/ipv4/af_inet.c              |   1 +
 net/ipv4/tcp.c                  |   1 +
 net/ipv4/udp.c                  |   2 +-
 net/ipv6/ip6_offload.c          |   1 +
 net/ipv6/udp_offload.c          |   3 +-
 net/mpls/Kconfig                |   9 ++++
 net/mpls/Makefile               |   4 ++
 net/mpls/mpls_gso.c             | 109 ++++++++++++++++++++++++++++++++++++++++
 15 files changed, 152 insertions(+), 58 deletions(-)
 create mode 100644 net/mpls/Kconfig
 create mode 100644 net/mpls/Makefile
 create mode 100644 net/mpls/mpls_gso.c

-- 
1.8.2.1

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-05-30  3:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-24  6:51 [PATCH next-next v4 0/2] MPLS: Add limited GSO support Simon Horman
2013-05-24  6:51 ` [PATCH net-next v5 1/2] net: Use 16bits for *_headers fields of struct skbuff Simon Horman
2013-05-29 21:21   ` Olof Johansson
     [not found]     ` <CAOesGMg2-CgJeqFM7K1QBAhG+xOc33t0vV1xR1J_4-iJJ58r8A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-05-29 21:46       ` Olof Johansson
2013-05-29 22:54         ` Simon Horman
2013-05-29 23:02           ` Olof Johansson
2013-05-30  3:00             ` Simon Horman
2013-05-24  6:51 ` [PATCH net-next v5 2/2] MPLS: Add limited GSO support Simon Horman
2013-05-24  7:01 ` [PATCH next-next v4 0/2] " Simon Horman
2013-05-24  7:12 ` Zhi Yong Wu
2013-05-25  0:02   ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2013-05-22  6:57 Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).