Skip to content

Commit

Permalink
intel_avf: add rxdrop()/txdrop() methods (used by loadtest)
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Nov 3, 2019
1 parent ac97998 commit e231faa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apps/intel_avf/intel_avf.lua
Expand Up @@ -488,6 +488,9 @@ function Intel_avf:flush_stats ()
self:mbox_r_stats()
end

function Intel_avf:rxdrop () return counter.read(self.shm.rxdrop) end
function Intel_avf:txdrop () return counter.read(self.shm.txdrop) end

function Intel_avf:mbox_setup()
local dlen = 4096
self.mbox = {
Expand Down

0 comments on commit e231faa

Please sign in to comment.