Skip to content

Commit

Permalink
intel_app: do not call parse_app_arg in reconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Sep 9, 2016
1 parent 8593f8e commit 14656c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/apps/intel/intel_app.lua
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ function Intel82599:stop()
end


function Intel82599:reconfig(arg)
local conf = config.parse_app_arg(arg)
function Intel82599:reconfig (conf)
assert((not not self.dev.pf) == (not not conf.vmdq), "Can't reconfig from VMDQ to single-port or viceversa")

self.dev:reconfig(conf)
Expand Down

0 comments on commit 14656c8

Please sign in to comment.