Original Message-
From: Ben Pfaff [mailto:b...@ovn.org]
Sent: Thursday, August 10, 2017 4:54 AM
To: Yang, Yi Y
Cc: Jan Scheurich ; d...@openvswitch.org;
netdev@vger.kernel.org; Jiri Benc ; da...@davemloft.net;
Zoltán Balogh
Subject: Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support
: Thursday, August 10, 2017 2:09 AM
> To: Yang, Yi Y
> Cc: Jan Scheurich ; d...@openvswitch.org;
> netdev@vger.kernel.org; Jiri Benc ; da...@davemloft.net;
> Zoltán Balogh
> Subject: Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support
>
> On Wed, Aug 09, 2017 at 09:
...@openvswitch.org;
netdev@vger.kernel.org; Jiri Benc ; da...@davemloft.net;
Zoltán Balogh
Subject: Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support
On Wed, Aug 09, 2017 at 09:41:51AM +, Yang, Yi Y wrote:
> Hi, Jan
>
> I have worked out a patch, will send it quickly for Ben. In
On Wed, Aug 09, 2017 at 09:41:51AM +, Yang, Yi Y wrote:
> Hi, Jan
>
> I have worked out a patch, will send it quickly for Ben. In addition, I also
> will send out a patch to change encap_nsh &decap_nsh to push_nsh and pop_nsh.
> Per comments from all the people, we all agreed to do so :-)
>
- encap_nsh->mdlen;
+if (pad_len > 0) {
+ memset(encap_nsh->metadata + encap_nsh->mdlen, 0, pad_len);
+}
+nl_msg_put_unspec(odp_actions, OVS_ACTION_ATTR_ENCAP_NSH, encap_nsh, size);
+free(encap_nsh);
}
static void
-Original Message-
From
et
> Subject: Re: [ovs-dev] [PATCH net-next] openvswitch: add NSH support
>
> To be clear, the OVS implementation is a placeholder. It will get
> replaced by whatever netdev implements, and that's OK. I didn't focus
> on making it perfect because I knew that. Instead, I
To be clear, the OVS implementation is a placeholder. It will get
replaced by whatever netdev implements, and that's OK. I didn't focus
on making it perfect because I knew that. Instead, I just made sure it
was good enough for an internal OVS implementation that doesn't fix any
ABI or API. OVS