On Wed, Mar 22, 2017 at 09:30:36PM +0530, [email protected] wrote:
> From: Numan Siddique <[email protected]>
> 
> When ovs-vswitchd sends the NX_PACKET_IN2 message, it may not
> encode ETH_TYPE of the packet. And with the commit daf4d3c18da
> ("odp: Support conntrack orig tuple key."), the conntrack fields
> are encoded, if set. After the commit 7befb20d0f70
> ("nx-match: Fix oxm decode."), ovs-vswitchd is sending OFPBMC_BAD_PREREQ
> message to the controller for the resumed packets (having conntract
> fields).
> 
> With the loose match criteria set to false when
> ofputil_decode_packet_in_private() is called, the prerequisite check
> for the mf field "ct_nw_src" is failing as ETH_TYPE is not set.

The original design for NXT_RESUME was that the switch would only be
decoding a flow that it had itself decoded and therefore any failure to
decode is a bug.  I don't think this design has changed (although I'm
happy to be corrected) so you may be pointing out a bug that we should
fix by fixing the flow encoder or decoder.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to