Skip to content

Commit

Permalink
Merge pull request #1016 from Igalia/fix-lwaftr-numa-warnings
Browse files Browse the repository at this point in the history
Remove early lwAFTR NUMA affinity check
  • Loading branch information
wingo authored Feb 13, 2018
2 parents 3cd4de3 + b38ae3a commit 302581a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/program/lwaftr/setup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ local ipv6_reassemble = require("apps.ipv6.reassemble")
local ndp = require("apps.lwaftr.ndp")
local vlan = require("apps.vlan.vlan")
local pci = require("lib.hardware.pci")
local numa = require("lib.numa")
local cltable = require("lib.cltable")
local ipv4 = require("lib.protocol.ipv4")
local ethernet = require("lib.protocol.ethernet")
Expand Down Expand Up @@ -49,10 +48,8 @@ local function convert_ipv4(addr)
if addr ~= nil then return ipv4:pton(ipv4_ntop(addr)) end
end

-- Checks the existance and NUMA affinity of PCI devices
-- NB: "nil" can be passed in and will be siliently ignored.
-- Checks the existence of PCI devices.
local function validate_pci_devices(devices)
numa.check_affinity_for_pci_addresses(devices)
for _, address in pairs(devices) do
assert(lwutil.nic_exists(address),
("Could not locate PCI device '%s'"):format(address))
Expand Down

0 comments on commit 302581a

Please sign in to comment.