Hi All,

I am trying to understand how selection method dp_hash is used in recirc
action in datapath. With dp_hash in use, ovs action OVS_ACTION_ATTR_HASH is
triggered which invokes execute_hash(...) to calculate ovs flow hash based
on the hash basis received as netlink attribute and populates
key->ovs_flow_hash.

But during subsequent calls to
execute_recirc(...)->clone_execute(...)->ovs_dp_process_packet(...)->ovs_flow_tbl_lookup_stats(...),
skb_hash is used instead of DP populated hash in key->ovs_flow_hash to look
up the flow in ovs_flow_tbl_lookup_stats(...).

If someone can help me understand why hash in key->ovs_flow_hash is not
used here if it is available and is non zero that will be great help.

Thanks,
Jai
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to