openvswitch / ovs-issues

Issue tracker repo for Open vSwitch
10 stars 3 forks source link

How to dump "dp_hash" in ofproto-dpif-xlate.c #224

Open joe820912boy opened 3 years ago

joe820912boy commented 3 years ago

I saw this issue before about "select" group https://github.com/openvswitch/ovs-issues/issues/178

Now I tried to use "select" group for load balancing in link. But it seemed that it didn't solve the problem, and I tried to dump dp_hash in here https://github.com/openvswitch/ovs/blob/bfee9f6c011518c7690d3ce3b290a2b7189a377d/ofproto/ofproto-dpif-xlate.c#L4613, e.g. printf or store in a file after I rebuilt ovs, and found it couldn't be compiled by mininet. Does it have other methods to show dp_hash in ovs?