-
jbkhrm.. there's not an easy way to go from a disk that's an NVMe namespace and go back to the corresponding controller device, is there?
-
jbkaside from iterating all of the nvme controllers and enumerate all the namespaces and cache the results
-
jclulowjbk: That's basically what I did recently: gist.github.com/jclulow/ff8a4c8e256258e7f0ffbe2027479841
-
jbkhrm.. actually.. could you use libdevinfo and just look at the name of parent node of each blkdev device....
-
jbki think that's kinda what you're doing (with some additional considerations for your hw) if i'm reading that correctly.. but just using /devices
-
jbkgot to figure out what will be the least painful in go (unfortunately.. it's such an ill-fit for lower level stuff)
-
jclulowAh yeah, in my case I actually need to know the attachment point ID
-
jclulowa la libcfgadm/cfgadm
-
jclulowas well as /devices and /dev/dsk and nvmeN
-
jbkrmustacc: you started work on an ice (intel 810) driver, right?
-
jclulowThat sounds accurate
-
jbkit looks like a number of newer servers now come with those built-in, so might be looking to pick up that work (if no one else does)...
-
jbkfrom the datasheet, it seems fairly similar to i40e (complete with it's annoying DMA limitations for LSO)
-
jbkjust with rdma support now
-
alancoh, Intel has a new product called Intel 810, I guess it has been 25 years since they shipped Intel 810 graphics
-
alanc
-
jbkyeah, it's another NIC