search for: netif_f_ufo6

Displaying 20 results from an estimated 26 matches for "netif_f_ufo6".

Did you mean: netif_f_ufo
2014 Dec 17
2
[PATCH 01/10] core: Split out UFO6 support
...etdev_features.h > +++ b/include/linux/netdev_features.h > @@ -48,8 +48,9 @@ enum { > NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ > NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ > NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ > + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ > /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ > - NETIF_F_GSO_MPLS_BIT, > + NETIF_F_UFO6_BIT, > > NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ > NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ > @@ -109,6 +110,7 @@ enum { &g...
2014 Dec 17
2
[PATCH 01/10] core: Split out UFO6 support
...etdev_features.h > +++ b/include/linux/netdev_features.h > @@ -48,8 +48,9 @@ enum { > NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ > NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ > NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ > + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ > /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ > - NETIF_F_GSO_MPLS_BIT, > + NETIF_F_UFO6_BIT, > > NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ > NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ > @@ -109,6 +110,7 @@ enum { &g...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...5 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h @@ -48,8 +48,9 @@ enum { NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ - NETIF_F_GSO_MPLS_BIT, + NETIF_F_UFO6_BIT, NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ @@ -109,6 +110,7 @@ enum { #define NETIF_F_TSO_ECN __NETIF_F(T...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...5 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h @@ -48,8 +48,9 @@ enum { NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ - NETIF_F_GSO_MPLS_BIT, + NETIF_F_UFO6_BIT, NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ @@ -109,6 +110,7 @@ enum { #define NETIF_F_TSO_ECN __NETIF_F(T...
2014 Dec 18
2
[PATCH 01/10] core: Split out UFO6 support
...dev_features.h > >> @@ -48,8 +48,9 @@ enum { > >> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ > >> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ > >> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ > >> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ > >> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ > >> - NETIF_F_GSO_MPLS_BIT, > >> + NETIF_F_UFO6_BIT, > >> > >> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ > >> NETIF_F_SCTP_CSUM_BIT, /* SCTP...
2014 Dec 18
2
[PATCH 01/10] core: Split out UFO6 support
...dev_features.h > >> @@ -48,8 +48,9 @@ enum { > >> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ > >> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ > >> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ > >> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ > >> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ > >> - NETIF_F_GSO_MPLS_BIT, > >> + NETIF_F_UFO6_BIT, > >> > >> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ > >> NETIF_F_SCTP_CSUM_BIT, /* SCTP...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...; +++ b/include/linux/netdev_features.h >> @@ -48,8 +48,9 @@ enum { >> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ >> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ >> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ >> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ >> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ >> - NETIF_F_GSO_MPLS_BIT, >> + NETIF_F_UFO6_BIT, >> >> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ >> NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ >> @...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...; +++ b/include/linux/netdev_features.h >> @@ -48,8 +48,9 @@ enum { >> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ >> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ >> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ >> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ >> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ >> - NETIF_F_GSO_MPLS_BIT, >> + NETIF_F_UFO6_BIT, >> >> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ >> NETIF_F_SCTP_CSUM_BIT, /* SCTP checksum offload */ >> @...
2014 Dec 18
0
[PATCH 01/10] core: Split out UFO6 support
...>>>> @@ -48,8 +48,9 @@ enum { >>>> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ >>>> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ >>>> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ >>>> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ >>>> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ >>>> - NETIF_F_GSO_MPLS_BIT, >>>> + NETIF_F_UFO6_BIT, >>>> >>>> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ >>>> NETIF_F_SCTP_C...
2014 Dec 18
0
[PATCH 01/10] core: Split out UFO6 support
...>>>> @@ -48,8 +48,9 @@ enum { >>>> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ >>>> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ >>>> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ >>>> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ >>>> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ >>>> - NETIF_F_GSO_MPLS_BIT, >>>> + NETIF_F_UFO6_BIT, >>>> >>>> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ >>>> NETIF_F_SCTP_C...
2014 Dec 18
3
[PATCH 01/10] core: Split out UFO6 support
...-48,8 +48,9 @@ enum { > >>>> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ > >>>> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ > >>>> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ > >>>> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ > >>>> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ > >>>> - NETIF_F_GSO_MPLS_BIT, > >>>> + NETIF_F_UFO6_BIT, > >>>> > >>>> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ > &gt...
2014 Dec 18
3
[PATCH 01/10] core: Split out UFO6 support
...-48,8 +48,9 @@ enum { > >>>> NETIF_F_GSO_UDP_TUNNEL_BIT, /* ... UDP TUNNEL with TSO */ > >>>> NETIF_F_GSO_UDP_TUNNEL_CSUM_BIT,/* ... UDP TUNNEL with TSO & CSUM */ > >>>> NETIF_F_GSO_MPLS_BIT, /* ... MPLS segmentation */ > >>>> + NETIF_F_UFO6_BIT, /* ... UDPv6 fragmentation */ > >>>> /**/NETIF_F_GSO_LAST = /* last bit, see GSO_MASK */ > >>>> - NETIF_F_GSO_MPLS_BIT, > >>>> + NETIF_F_UFO6_BIT, > >>>> > >>>> NETIF_F_FCOE_CRC_BIT, /* FCoE CRC32 */ > &gt...
2014 Dec 17
20
[PATCH 00/10] Split UFO into v4 and v6 versions.
UFO support in the kernel applies to both IPv4 and IPv6 protocols with the same device feature. However some devices may not be able to support one of the offloads. For this we split the UFO offload feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part and this series introduces NETIF_F_UFO6. As a result of this work, we can now re-enable NETIF_F_UFO on virtio_net devices and restore UDP over IPv4 performance for guests. We also continue to support legacy guests that assume that UFO6 support included into UFO(4). Without this work, migrating a guest to a 3.18 kernel fails. Vladislav...
2014 Dec 17
20
[PATCH 00/10] Split UFO into v4 and v6 versions.
UFO support in the kernel applies to both IPv4 and IPv6 protocols with the same device feature. However some devices may not be able to support one of the offloads. For this we split the UFO offload feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part and this series introduces NETIF_F_UFO6. As a result of this work, we can now re-enable NETIF_F_UFO on virtio_net devices and restore UDP over IPv4 performance for guests. We also continue to support legacy guests that assume that UFO6 support included into UFO(4). Without this work, migrating a guest to a 3.18 kernel fails. Vladislav...
2014 Dec 24
2
[PATCH 00/10] Split UFO into v4 and v6 versions.
...s to both IPv4 and IPv6 protocols > > with the same device feature. However some devices may not be able > > to support one of the offloads. For this we split the UFO offload > > feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part and > > this series introduces NETIF_F_UFO6. > > > > As a result of this work, we can now re-enable NETIF_F_UFO on > > virtio_net devices and restore UDP over IPv4 performance for guests. > > We also continue to support legacy guests that assume that UFO6 > > support included into UFO(4). > > > > W...
2014 Dec 24
2
[PATCH 00/10] Split UFO into v4 and v6 versions.
...s to both IPv4 and IPv6 protocols > > with the same device feature. However some devices may not be able > > to support one of the offloads. For this we split the UFO offload > > feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part and > > this series introduces NETIF_F_UFO6. > > > > As a result of this work, we can now re-enable NETIF_F_UFO on > > virtio_net devices and restore UDP over IPv4 performance for guests. > > We also continue to support legacy guests that assume that UFO6 > > support included into UFO(4). > > > > W...
2014 Dec 17
1
[PATCH 01/10] core: Split out UFO6 support
...!(features & NETIF_F_IP_CSUM)) { You can use !(features & NETIF_F_V4_CSUM) instead of the last two terms. > + netdev_dbg(dev, > + "Dropping NETIF_F_UFO since no checksum offload features.\n"); > + features &= ~NETIF_F_UFO; > + } > + if ((features & NETIF_F_UFO6) && !(features & NETIF_F_GEN_CSUM) && > + !(features & NETIF_F_IPV6_CSUM)) { [...] Similarly you can use !(features & NETIF_F_V6_CSUM) instead of the last two terms. Aside from those minor points, this looks fine. Ben. -- Ben Hutchings Absolutum obsoletum. (...
2014 Dec 17
1
[PATCH 01/10] core: Split out UFO6 support
...!(features & NETIF_F_IP_CSUM)) { You can use !(features & NETIF_F_V4_CSUM) instead of the last two terms. > + netdev_dbg(dev, > + "Dropping NETIF_F_UFO since no checksum offload features.\n"); > + features &= ~NETIF_F_UFO; > + } > + if ((features & NETIF_F_UFO6) && !(features & NETIF_F_GEN_CSUM) && > + !(features & NETIF_F_IPV6_CSUM)) { [...] Similarly you can use !(features & NETIF_F_V6_CSUM) instead of the last two terms. Aside from those minor points, this looks fine. Ben. -- Ben Hutchings Absolutum obsoletum. (...
2014 Dec 25
2
[PATCH 00/10] Split UFO into v4 and v6 versions.
...vice feature. However some devices may not be >> able >> > > to support one of the offloads. For this we split the UFO >> offload >> > > feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part >> and >> > > this series introduces NETIF_F_UFO6. >> > > >> > > As a result of this work, we can now re-enable NETIF_F_UFO on >> > > virtio_net devices and restore UDP over IPv4 performance for >> guests. >> > > We also continue to support legacy guests that assume that UFO6 >> &g...
2014 Dec 25
2
[PATCH 00/10] Split UFO into v4 and v6 versions.
...vice feature. However some devices may not be >> able >> > > to support one of the offloads. For this we split the UFO >> offload >> > > feature into 2 pieces. NETIF_F_UFO now controlls the IPv4 part >> and >> > > this series introduces NETIF_F_UFO6. >> > > >> > > As a result of this work, we can now re-enable NETIF_F_UFO on >> > > virtio_net devices and restore UDP over IPv4 performance for >> guests. >> > > We also continue to support legacy guests that assume that UFO6 >> &g...