Re: [PATCH V4 0/5] mlx5 ConnectX control misc driver

From: David Ahern
Date: Thu Feb 15 2024 - 23:20:13 EST


On 2/15/24 6:10 PM, Jakub Kicinski wrote:
>>> and given Jason's and co. inability to understand that good fences
>>> make good neighbors it will soon start getting into the netdev stack :|
>>
>> I seem to recall you saying RDMA shouldn't call any netdev APIs at
>> all. We were unable to agree on where to build the fence for this
>> reason.
>
> Last time you were calling into the IPsec stack right? It's not just
> a basic API. IDK how to draw a line, definitely open to suggestions!
>

In general, each subsystem should focus on proper APIs that other
subsystems can leverage and not worry about how people wire them up.
That NVME, RDMA/IB and io_uring want to re-use the Linux networking
stack is a good thing.