Acked-by: Sairam Venugopal <vsai...@vmware.com>

On 12/2/15, 9:50 AM, "Alin Serdean" <aserd...@cloudbasesolutions.com>
wrote:

>Remove double include for Flow.h and sort the includes alphabetically.
>Also remove tabs.
>
>Found by inspection.
>
>Signed-off-by: Alin Gabriel Serdean <aserd...@cloudbasesolutions.com>
>---
> datapath-windows/ovsext/Stt.c | 44
>+++++++++++++++++++++----------------------
> 1 file changed, 22 insertions(+), 22 deletions(-)
>
>diff --git a/datapath-windows/ovsext/Stt.c b/datapath-windows/ovsext/Stt.c
>index dc2910f..1580cf1 100644
>--- a/datapath-windows/ovsext/Stt.c
>+++ b/datapath-windows/ovsext/Stt.c
>@@ -15,19 +15,19 @@
>  */
> 
> #include "precomp.h"
>-#include "NetProto.h"
>-#include "Switch.h"
>-#include "Vport.h"
>+
>+#include "Atomic.h"
>+#include "Checksum.h"
> #include "Flow.h"
>-#include "Stt.h"
> #include "IpHelper.h"
>-#include "Checksum.h"
>-#include "User.h"
>+#include "NetProto.h"
> #include "PacketIO.h"
>-#include "Flow.h"
> #include "PacketParser.h"
>-#include "Atomic.h"
>+#include "Stt.h"
>+#include "Switch.h"
>+#include "User.h"
> #include "Util.h"
>+#include "Vport.h"
> 
> #ifdef OVS_DBG_MOD
> #undef OVS_DBG_MOD
>@@ -698,23 +698,23 @@ OvsDecapSetOffloads(PNET_BUFFER_LIST curNbl, SttHdr
>*sttHdr)
>     switch (protoType) {
>         case (STT_PROTO_IPV4 | STT_PROTO_TCP):
>             /* TCP/IPv4 */
>-              csumInfo.Transmit.IsIPv4 = 1;
>-              csumInfo.Transmit.TcpChecksum = 1;
>-              break;
>+            csumInfo.Transmit.IsIPv4 = 1;
>+            csumInfo.Transmit.TcpChecksum = 1;
>+            break;
>         case STT_PROTO_TCP:
>-              /* TCP/IPv6 */
>-              csumInfo.Transmit.IsIPv6 = 1;
>-              csumInfo.Transmit.TcpChecksum = 1;
>-              break;
>+            /* TCP/IPv6 */
>+            csumInfo.Transmit.IsIPv6 = 1;
>+            csumInfo.Transmit.TcpChecksum = 1;
>+            break;
>         case STT_PROTO_IPV4:
>-              /* UDP/IPv4 */
>-              csumInfo.Transmit.IsIPv4 = 1;
>-              csumInfo.Transmit.UdpChecksum = 1;
>-              break;
>+            /* UDP/IPv4 */
>+            csumInfo.Transmit.IsIPv4 = 1;
>+            csumInfo.Transmit.UdpChecksum = 1;
>+            break;
>         default:
>-              /* UDP/IPv6 */
>-              csumInfo.Transmit.IsIPv6 = 1;
>-              csumInfo.Transmit.UdpChecksum = 1;
>+            /* UDP/IPv6 */
>+            csumInfo.Transmit.IsIPv6 = 1;
>+            csumInfo.Transmit.UdpChecksum = 1;
>     }
>     NET_BUFFER_LIST_INFO(curNbl,
>                          TcpIpChecksumNetBufferListInfo) =
>csumInfo.Value;
>-- 
>1.9.5.msysgit.0
>_______________________________________________
>dev mailing list
>dev@openvswitch.org
>https://urldefense.proofpoint.com/v2/url?u=http-3A__openvswitch.org_mailma
>n_listinfo_dev&d=BQIGaQ&c=Sqcl0Ez6M0X8aeM67LKIiDJAXVeAw-YihVMNtXt-uEs&r=Dc
>ruz40PROJ40ROzSpxyQSLw6fcrOWpJgEcEmNR3JEQ&m=xx4JfW2GBR9rwX_dy5syecYQg8gK2R
>EaYhoGUrjfAqc&s=jczXdhW6xnUVzKcOe-uGE4TQxrooQegpf6bXUdt3lUU&e= 

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to