Thread (66 messages) 66 messages, 16 authors, 2021-07-23

Re: [PATCH 00/17] Rust support, NVMe

From: Finn Behrens <hidden>
Date: 2021-07-08 08:30:05
Also in: lkml

On 8. Jul 2021, at 08:39, Geert Stappers [off-list ref] wrote:

On Thu, Jul 08, 2021 at 01:58:32AM +0100, Matthew Wilcox wrote:
quoted
On Wed, Jul 07, 2021 at 10:56:57PM +0200, Finn Behrens wrote:
quoted
There is a more general use driver (network dummy) still in the
making, It is fully operational, just the documentation of the rust
bindings are not finished yet, so it is not merged into the rust
tree yet, also I have to rebase it.
Why are you so resistant to writing a real driver that deals with actual hardware?
} Why are we so resistant to writing a real driver that deals with actual hardware?

It is not dodging hardware, it is universal available.

quoted
A simple NVMe driver is less than a thousand lines of C.
I know the one in the kernel now is ridiculously complicated and has
been thoroughly messed up with abstractions to support NVMeoF instead
of having a separate driver, but it's really a simple interface at heart.
Summary of https://qemu.readthedocs.io/en/latest/system/nvme.html

 NVMe hardware is universal available.
I actually don’t have a clue how nvme works, that is my reason to not write a nvme driver. But, I’m currently writing a rust version of e1000. This is also available in qemu and is real hardware. This is sadly taking quite some time, as I don’t have a good linux kernel development setup currently.


Groeten
Geert Stappers
-- 
Silence is hard to parse
CU,
Finn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help