Skip to content
Snippets Groups Projects
Commit 8d66fd68 authored by Gregor Maier's avatar Gregor Maier
Browse files

Merge remote-tracking branch 'bigswitch/master' into misc

parents 08aa4f48 bdbd8a54
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,7 @@ public abstract class OFSwitchBase implements IOFSwitch {
private boolean debugCountersRegistered;
@SuppressWarnings("unused")
private IDebugCounter ctrSwitch, ctrSwitchPktin, ctrSwitchWrite;
private IDebugCounter ctrSwithPktinDrops, ctrSwitchWriteDrops;
private IDebugCounter ctrSwitchPktinDrops, ctrSwitchWriteDrops;
protected final static ThreadLocal<Map<IOFSwitch,List<OFMessage>>> local_msg_buffer =
......@@ -1337,7 +1337,7 @@ public abstract class OFSwitchBase implements IOFSwitch {
OFMatch match = new OFMatch();
match.loadFromPacket(pin.getPacketData(), pin.getInPort());
if (ofMatchCache.update(match)) {
ctrSwithPktinDrops.updateCounterNoFlush();
ctrSwitchPktinDrops.updateCounterNoFlush();
return true;
}
......@@ -1411,7 +1411,7 @@ public abstract class OFSwitchBase implements IOFSwitch {
"switch", stringId + "/write",
"Write counter for this switch",
CounterType.ALWAYS_COUNT);
ctrSwithPktinDrops = debugCounters.registerCounter(
ctrSwitchPktinDrops = debugCounters.registerCounter(
"switch", stringId + "/pktin/drops",
"Packet in throttle drop count",
CounterType.ALWAYS_COUNT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment