[ovs-dev] [PATCH V3] ofproto-dpif.c: Modify vsp_realdev_to_vlandev() function

Alex Wang alexw at nicira.com
Thu May 30 23:29:59 UTC 2013


Sure,


On Thu, May 30, 2013 at 4:26 PM, Ben Pfaff <blp at nicira.com> wrote:

> On Thu, May 30, 2013 at 03:50:46PM -0700, Alex Wang wrote:
> > Commit 52a90c29 (Implement new "VLAN splinters" feature) passed in
> OpenFlow
> > port number to vsp_realdev_to_vlandev() function which asks for datapath
> port
> > number.
> >
> > This patch fixes this bug by making the vsp_realdev_to_vlandev() function
> > take in and return OpenFlow port number.
> >
> > Signed-off-by: Alex Wang <alexw at nicira.com>
>
> I was ready to apply this but there's a patch reject against current
> master:
>
> Applying: ofproto-dpif.c: Modify vsp_realdev_to_vlandev() function
> Checking patch ofproto/ofproto-dpif.c...
> error: while searching for:
>                                  ctx->odp_actions);
>         ctx->flow.tunnel = flow_tnl; /* Restore tunnel metadata */
>     } else {
>         odp_port = ofport->odp_port;
>         out_port = vsp_realdev_to_vlandev(ctx->ofproto, odp_port,
>                                           ctx->flow.vlan_tci);
>         if (out_port != odp_port) {
>             ctx->flow.vlan_tci = htons(0);
>         }
>         ctx->flow.skb_mark &= ~IPSEC_MARK;
>
> error: patch failed: ofproto/ofproto-dpif.c:6182
> Applying patch ofproto/ofproto-dpif.c with 1 rejects...
> Hunk #1 applied cleanly.
> Rejected hunk #2.
> Hunk #3 applied cleanly.
> Patch failed at 0001 ofproto-dpif.c: Modify vsp_realdev_to_vlandev()
> function
> When you have resolved this problem run "git am --resolved".
> If you would prefer to skip this patch, instead run "git am --skip".
> To restore the original branch and stop patching run "git am --abort".
>
> Can you update the patch?
>
> Thanks,
>
> Ben.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130530/e528385d/attachment-0003.html>


More information about the dev mailing list