From be86ea7aa98b87079e266c91d139612fa8543edd Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 9 Aug 2011 13:46:51 -0700 Subject: [PATCH] nicira-ext: Fix NXM example. The code and the specification say that nxm_length includes both value and mask, but this example showed nxm_length only including the value. This commit fixes it. Reported-by: Justin Pettit --- include/openflow/nicira-ext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index 776ec391..bbe96b35 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -918,7 +918,7 @@ enum nx_bd_algorithm { * numbers and byte indexes. * * - * 8-bit nxm_value, nxm_hasmask=1, nxm_length=1: + * 8-bit nxm_value, nxm_hasmask=1, nxm_length=2: * * 0 3 4 5 * +------------+---+---+ -- 2.30.2