Great. So, its an ingress counter then. So how do i verify if the packet got dropped at the egress. In my case the output is a single port. My counter increments, which means OVS will now send the packet to the egress port. If the interface stats for the output port show zero drops then can i assume that the packet was successfully sent out?
Under what scenario can OVS drop packets in the egress pipeline? Assume that the nexthop that the flow is pointing to is all correct, the nexthop MAC is there, etc. Just line or two if you could tell me under what circumstance can OVS drop a packet .. Thanks, Abhishek On Fri, Jul 31, 2015 at 5:50 AM, Ben Pfaff <b...@nicira.com> wrote: > On Fri, Jul 31, 2015 at 05:38:12AM +0530, Abhishek Verma wrote: > > When i add a flow rule which matches on some source IP, dest IP and i > give > > a output port as an action, then if i see the packet counter incrementing > > then can i be sure that the packet was successfully sent out by OVS? > > > > Is the counter incremented in the ingress pipeline or the egress? That > is, > > is it possible that the counter was incremented, and then OVS later > dropped > > it because of some reason? > > Flow counters means that the flow processed the packet, but that doesn't > guarantee that every action taken by the flow succeeded. If the flow > outputs to 100 different ports, the counter will be incremented whether > 0 or 100 or any other number of those outputs were successful. >
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss