Skip to content

Commit

Permalink
Register ConnectX5 device in lib.hardware.pci
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandergall committed Jul 19, 2018
1 parent 1b9cf2b commit 8332671
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/hardware/pci.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,16 @@ local cards = {
["0x0903"] = {model = 'SFN7122F', driver = 'apps.solarflare.solarflare'}
},
["0x15b3"] = {
["0x1013" ] = {model = 'MT27700', driver = 'apps.mellanox.connectx4'}
["0x1013" ] = {model = 'MT27700', driver = 'apps.mellanox.connectx4'},
["0x1017" ] = {model = 'MT27800', driver = 'apps.mellanox.connectx4'},
},
}

local link_names = {
['apps.solarflare.solarflare'] = { "rx", "tx" },
['apps.intel_mp.intel_mp'] = { "input", "output" },
['apps.intel.intel_app'] = { "rx", "tx" }
['apps.intel.intel_app'] = { "rx", "tx" },
['apps.mellanox.connectx4'] = { "input", "output" },
}

-- Return the name of the Lua module that implements support for this device.
Expand Down

0 comments on commit 8332671

Please sign in to comment.