X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fdatapath.h;h=879a8309c288c057b8873429f719f4e1fac30253;hb=4fa72a95722f74ebee61254f06bb171e9207f9c1;hp=64920de9b309936546c442e02877f65e86ebf731;hpb=f4faf4baf7a22316d5a083af57557a97f9c93775;p=sliver-openvswitch.git diff --git a/datapath/datapath.h b/datapath/datapath.h index 64920de9b..879a8309c 100644 --- a/datapath/datapath.h +++ b/datapath/datapath.h @@ -48,11 +48,15 @@ * @n_lost: Number of received packets that had no matching flow in the flow * table that could not be sent to userspace (normally due to an overflow in * one of the datapath's queues). + * @n_mask_hit: Number of masks looked up for flow match. + * @n_mask_hit / (@n_hit + @n_missed) will be the average masks looked + * up per packet. */ struct dp_stats_percpu { u64 n_hit; u64 n_missed; u64 n_lost; + u64 n_mask_hit; struct u64_stats_sync sync; };