Thread (9 messages) 9 messages, 4 authors, 2021-03-29

Re: [PATCH rdma-next v1 5/5] net/bnxt: Use direct API instead of useless indirection

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-03-29 14:17:03
Also in: linux-rdma

On Mon, Mar 29, 2021 at 07:01:44AM -0700, Michael Chan wrote:
On Mon, Mar 29, 2021 at 1:52 AM Leon Romanovsky [off-list ref] wrote:
quoted
From: Leon Romanovsky <leonro@nvidia.com>

There is no need in any indirection complexity for one ULP user,
remove all this complexity in favour of direct calls to the exported
symbols. This allows us to greatly simplify the code.
The goal is not to have a hard dependency between the RDMA driver and
the ethernet driver.  One day, there may be a newer ethernet driver
for newer devices.  The RDMA driver may be the same because it
operates at a higher level.  The hard dependency will require the
older ethernet driver to always be loaded even if it is not needed.
Then someday you will fix it. Today you do not have this, so it needs
to be deleted.

If you ever get to that point you will need to rework this driver to
use auxillary bus/etc, and it will look very different anyhow.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help