search for: netif_f_v6_csum

Displaying 16 results from an estimated 16 matches for "netif_f_v6_csum".

Did you mean: netif_f_v4_csum
2014 Dec 17
1
[PATCH 01/10] core: Split out UFO6 support
...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. (If it works, it's out of date.) - Stafford Beer -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp...
2014 Dec 17
1
[PATCH 01/10] core: Split out UFO6 support
...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. (If it works, it's out of date.) - Stafford Beer -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp...
2014 Dec 17
2
[PATCH 01/10] core: Split out UFO6 support
...\ > - NETIF_F_TSO6 | NETIF_F_UFO) > + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) > > #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM > #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) > @@ -149,6 +151,7 @@ enum { > #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) > > #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) > +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) > > #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ > NETIF_F_FSO) > diff --git a/include/linux/netdevice.h b/incl...
2014 Dec 17
2
[PATCH 01/10] core: Split out UFO6 support
...\ > - NETIF_F_TSO6 | NETIF_F_UFO) > + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) > > #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM > #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) > @@ -149,6 +151,7 @@ enum { > #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) > > #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) > +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) > > #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ > NETIF_F_FSO) > diff --git a/include/linux/netdevice.h b/incl...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...RE (NETIF_F_TSO | NETIF_F_TSO_ECN | \ - NETIF_F_TSO6 | NETIF_F_UFO) + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) @@ -149,6 +151,7 @@ enum { #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ NETIF_F_FSO) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 74fd5d3...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...RE (NETIF_F_TSO | NETIF_F_TSO_ECN | \ - NETIF_F_TSO6 | NETIF_F_UFO) + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) @@ -149,6 +151,7 @@ enum { #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ NETIF_F_FSO) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 74fd5d3...
2014 Dec 18
2
[PATCH 01/10] core: Split out UFO6 support
...; + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) > >> > >> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM > >> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) > >> @@ -149,6 +151,7 @@ enum { > >> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) > >> > >> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) > >> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) > >> > >> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ > >> NETIF_F_F...
2014 Dec 18
2
[PATCH 01/10] core: Split out UFO6 support
...; + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) > >> > >> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM > >> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) > >> @@ -149,6 +151,7 @@ enum { > >> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) > >> > >> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) > >> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) > >> > >> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ > >> NETIF_F_F...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...O6 | NETIF_F_UFO) >> + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) >> >> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM >> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) >> @@ -149,6 +151,7 @@ enum { >> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) >> >> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) >> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) >> >> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ >> NETIF_F_FSO) >> diff --git a/incl...
2014 Dec 17
0
[PATCH 01/10] core: Split out UFO6 support
...O6 | NETIF_F_UFO) >> + NETIF_F_TSO6 | NETIF_F_UFO | NETIF_F_UFO6) >> >> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM >> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) >> @@ -149,6 +151,7 @@ enum { >> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) >> >> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) >> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) >> >> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ >> NETIF_F_FSO) >> diff --git a/incl...
2014 Dec 18
0
[PATCH 01/10] core: Split out UFO6 support
..._TSO6 | NETIF_F_UFO | NETIF_F_UFO6) >>>> >>>> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM >>>> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) >>>> @@ -149,6 +151,7 @@ enum { >>>> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) >>>> >>>> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) >>>> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) >>>> >>>> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ >>>&g...
2014 Dec 18
0
[PATCH 01/10] core: Split out UFO6 support
..._TSO6 | NETIF_F_UFO | NETIF_F_UFO6) >>>> >>>> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM >>>> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) >>>> @@ -149,6 +151,7 @@ enum { >>>> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) >>>> >>>> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) >>>> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) >>>> >>>> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FCOE_MTU | \ >>>&g...
2014 Dec 18
3
[PATCH 01/10] core: Split out UFO6 support
...IF_F_UFO6) > >>>> > >>>> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM > >>>> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) > >>>> @@ -149,6 +151,7 @@ enum { > >>>> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) > >>>> > >>>> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) > >>>> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) > >>>> > >>>> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FC...
2014 Dec 18
3
[PATCH 01/10] core: Split out UFO6 support
...IF_F_UFO6) > >>>> > >>>> #define NETIF_F_GEN_CSUM NETIF_F_HW_CSUM > >>>> #define NETIF_F_V4_CSUM (NETIF_F_GEN_CSUM | NETIF_F_IP_CSUM) > >>>> @@ -149,6 +151,7 @@ enum { > >>>> #define NETIF_F_ALL_CSUM (NETIF_F_V4_CSUM | NETIF_F_V6_CSUM) > >>>> > >>>> #define NETIF_F_ALL_TSO (NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN) > >>>> +#define NETIF_F_ALL_UFO (NETIF_F_UFO | NETIF_F_UFO6) > >>>> > >>>> #define NETIF_F_ALL_FCOE (NETIF_F_FCOE_CRC | NETIF_F_FC...
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
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