[ovs-dev] [PATCH v9] ovs-ofctl:Implementation of eviction on the basis of Importance
Ben Pfaff
blp at nicira.com
Mon Jun 22 15:39:58 UTC 2015
On Mon, Jun 08, 2015 at 05:44:37PM +0530, Saloni Jain wrote:
> Hi Ben,
>
> Thanks for your inputs. We will share the updated patch.
> Kindly suggest for the below point..
>
> >This adds abstracted OFPUTIL_TABLE_CONFIG_* but it doesn't do any
> >translation between them and OFPTC14_*.
>
> As per the openflow specs. 1.4, OFPTC14_* values are defined only for eviction and vacancy events (as OFPTC14_EVICTION and OFPTC14_VACANCY_EVENTS), but there is no OFPTC14_* value defined for "no-evict" feature.
> Please suggest can we use OFPTC11_TABLE_MISS_* values for the same, as the comment in the definition of ofp_table_config for OFPTC11_TABLE_MISS_* values, in openflow-common.h suggest that
> " /* OpenFlow 1.1 and 1.2 defined this field as shown.
> * OpenFlow 1.3 and later mark this field as deprecated, but have not
> * reused it for any new purpose. */"
>
> So when "no-evict" is set through mod-table command (for OF1.4 or greater) to disable eviction , can any one of OFPTC11_TABLE_MISS_* values be used?
I'm not sure I understand the question. OFPTC14_EVICTION enables
eviction through OF1.4 mechanisms; if it is not set, then eviction is
not enabled through OF1.4 mechanisms. What does the table miss setting
to do with this?
More information about the dev
mailing list