]> xenbits.xensource.com Git - people/liuw/xen.git/commitdiff
public/io/netif.h: fix typos
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 10 Feb 2016 16:49:25 +0000 (16:49 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 11 Feb 2016 15:06:58 +0000 (15:06 +0000)
Unfortunately my patch 162a81ab "document control ring and toeplitz
hashing" contained a couple of typos. This patch fixes them.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Jan Beulich <jbeulich@suse.com>
Cc: Keir Fraser <keir@xen.org>
Cc: Tim Deegan <tim@xen.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/public/io/netif.h

index 8816e0ff8b87a781000f134c9230efb7ac86eed2..8d82625cbe0be19fc958f5e5476906dd4ea7684a 100644 (file)
  * Result = ToeplitzHash(Buffer, 32)
  */
 #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6     2
-#define NETIF_CTRL_TOEPLITZ_HASH_IPV6      (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4)
+#define NETIF_CTRL_TOEPLITZ_HASH_IPV6      (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6)
 
 /*
  * A hash calculated over an IP version 6 header and TCP header as
  * Result = ToeplitzHash(Buffer, 36)
  */
 #define _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP 3
-#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP  (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV4_TCP)
+#define NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP  (1 << _NETIF_CTRL_TOEPLITZ_HASH_IPV6_TCP)
 
 /*
  * Control requests (netif_ctrl_request_t)