Skip to content

Commit

Permalink
Replace intel1g with intel_mp in comments and strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola 'tekNico' Larosa authored and takikawa committed Aug 16, 2017
1 parent 07baa18 commit 4138072
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apps/intel_mp/intel_mp.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- intel1g: Device driver app for Intel 1G and 10G network cards
-- intel_mp: Device driver app for Intel 1G and 10G network cards
-- It supports
-- - Intel1G i210 and i350 based 1G network cards
-- - Intel82599 82599 based 10G network cards
Expand Down Expand Up @@ -580,7 +580,7 @@ end
function Intel:push ()
if not self.txq then return end
local li = self.input["input"]
assert(li, "intel1g:push: no input link")
assert(li, "intel_mp:push: no input link")

while not link.empty(li) and self:ringnext(self.tdt) ~= self.tdh do
local p = link.receive(li)
Expand Down Expand Up @@ -617,7 +617,7 @@ end
function Intel:pull ()
if not self.rxq then return end
local lo = self.output["output"]
assert(lo, "intel1g: output link required")
assert(lo, "intel_mp:pull: output link required")

local pkts = 0
while band(self.rxdesc[self.rdt].status, 0x01) == 1 and pkts < engine.pull_npackets do
Expand Down

0 comments on commit 4138072

Please sign in to comment.