Skip to content

Commit

Permalink
Fix regression introduced with 27c1091
Browse files Browse the repository at this point in the history
Inherit mtu and snmp fields in new_vf().
  • Loading branch information
alexandergall committed Apr 13, 2015
1 parent 628ee50 commit 323a22a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/apps/intel/intel10g.lua
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,8 @@ function M_pf:new_vf (poolnum)
-- some things are shared with the main device...
base = self.base, -- mmap()ed register file
s = self.s, -- Statistics registers
mtu = self.mtu,
snmp = self.snmp,
-- and others are our own
r = {}, -- Configuration registers
poolnum = poolnum,
Expand Down

0 comments on commit 323a22a

Please sign in to comment.