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

Jesse Gross jesse at nicira.com
Mon Jan 7 17:50:35 UTC 2013


On Mon, Jan 7, 2013 at 2:45 AM, Jarno Rajahalme <jarno.rajahalme at nsn.com> wrote:
>
> 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.)

Justin, I see two direct uses of OVSP_LOCAL in the ofproto directory.
I didn't check them carefully but at first glance they doesn't seem
right after the single datapath changes:
in-band.c:                && nl_attr_get_u32(a) == OVSP_LOCAL) {
ofproto-dpif.c:    if (!error && ofport->odp_port == OVSP_LOCAL) {



More information about the dev mailing list