Skip to content

Commit

Permalink
intel_app: fix wrong “speed” counter value.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Jul 4, 2016
1 parent b3abaa0 commit b418f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/intel/intel_app.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function Intel82599:new (arg)
counter.set(self.stats.counters.type, 0x1000) -- Hardware interface
counter.set(self.stats.counters.dtime, C.get_unix_time())
counter.set(self.stats.counters.mtu, self.dev.mtu)
counter.set(self.stats.counters.speed, 10000000) -- 10 Gbits
counter.set(self.stats.counters.speed, 10000000000) -- 10 Gbits
counter.set(self.stats.counters.status, 2) -- down
if not conf.vmdq and conf.macaddr then
counter.set(self.stats.counters.macaddr,
Expand Down

0 comments on commit b418f8f

Please sign in to comment.