Skip to content

Commit

Permalink
Fix to adapt to the latest NIC driver changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniofischetti committed Dec 13, 2015
1 parent adbb255 commit bffaccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/program/firehose/firehose.lua
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ int firehose_callback_v1(const char *pciaddr, char **packets, void *rxring,
nic.r.RDT(ring_size-1)

local index = 0 -- ring index of next packet
local rxring = nic.rxdesc._ptr
local rxring = nic.rxdesc
local run = function ()
index = so.firehose_callback_v1(pciaddr, packets, rxring, ring_size, index)
nic.r.RDT(index==0 and ring_size or index-1)
Expand Down

0 comments on commit bffaccd

Please sign in to comment.