[ovs-dev] [PATCH] include/linux/openvswitch.h: Make OVSP_LOCAL 32-bit.

Jarno Rajahalme jarno.rajahalme at nsn.com
Mon Jan 7 10:45:27 UTC 2013


Signed-off-by: Jarno Rajahalme <jarno.rajahalme at nsn.com>
---
ODP ports are now 32-bit, so OVSP_LOCAL should be too.
(Internally, kernel module still keeps port numbers 16-bit, though.)
---
 include/linux/openvswitch.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h
index 56b9785..5e32965 100644
--- a/include/linux/openvswitch.h
+++ b/include/linux/openvswitch.h
@@ -115,7 +115,7 @@ struct ovs_vport_stats {
 };
 
 /* Fixed logical ports. */
-#define OVSP_LOCAL      ((__u16)0)
+#define OVSP_LOCAL      ((__u32)0)
 
 /* Packet transfer. */
 
-- 
1.7.10.4




More information about the dev mailing list