Skip to content

Commit

Permalink
linux/openvswitch.h: Make OVSP_LOCAL 32-bit.
Browse files Browse the repository at this point in the history
OVS ports are now 32-bit, so OVSP_LOCAL should be too.
(Internally, kernel module still keeps port numbers 16-bit, though.)

Signed-off-by: Jarno Rajahalme <jarno.rajahalme@nsn.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
  • Loading branch information
Jarno Rajahalme authored and Jesse Gross committed Jan 7, 2013
1 parent 03599c9 commit 9807a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/openvswitch.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct ovs_vport_stats {
};

/* Fixed logical ports. */
#define OVSP_LOCAL ((__u16)0)
#define OVSP_LOCAL ((__u32)0)

/* Packet transfer. */

Expand Down

0 comments on commit 9807a54

Please sign in to comment.