[ovs-git] [openvswitch/ovs] 36be51: ofp-util: Use OFPGMFC_OUT_OF_BUCKETS for indirect ...

GitHub noreply at github.com
Fri May 8 18:34:03 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 36be51c5b09c97a62c342e8ff0bb2d1a33ea2b68
      https://github.com/openvswitch/ovs/commit/36be51c5b09c97a62c342e8ff0bb2d1a33ea2b68
  Author: Ben Pfaff <blp at nicira.com>
  Date:   2015-05-08 (Fri, 08 May 2015)

  Changed paths:
    M AUTHORS
    M lib/ofp-util.c

  Log Message:
  -----------
  ofp-util: Use OFPGMFC_OUT_OF_BUCKETS for indirect groups with !=1 buckets.

OpenFlow 1.3 says:

    If a switch cannot add the incoming group entry due to restrictions
    (hardware or otherwise) limiting the number of group buckets, it must
    refuse to add the group entry and must send an ofp_error_msg with
    OFPET_GROUP_MOD_FAILED type and OFPGMFC_OUT_OF_BUCKETS code.

This indicates that OFPGMFC_OUT_OF_BUCKETS is appropriate for an indirect
group with the wrong number of buckets, but OVS was using a different
error.  This fixes the problem.

ONF-JIRA: EXT-546
Reported-by: Mrinmoy Das <mrdas at ixiacom.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Justin Pettit <jpettit at nicira.com>




More information about the git mailing list