Unless I'm missing something, it looks to me like the only interface, is the dump() method. There doesn't appear to be a doit()?
dump() seems to me that is only suitable for getting information from the kernel.
In our case, we need to get parameters from user space to the kernel.
There are other alternatives, like configfs that seem more suitable.
Again, the key requirement is that the more flexible configuration must be available at module load as does the current module parameter patch. If we enlist a user space helper to assist in passing the more flexible parameter, the lack of the helper cannot prevent the load of a module.
Mike
-----Original Message-----
From: <redacted> [mailto:linux-rdma-
owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org] On Behalf Of Marciniszyn, Mike
Sent: Friday, July 20, 2012 12:11 PM
To: Or Gerlitz
Cc: Roland Dreier; <redacted>
Subject: RE: [PATCH 3/5] IB/qib: Add support for per-device/per-port
parameters
As I mentioned in my prior email, the issue is that the parameters need to
be present to init each HCA/port differently when the driver loads.
That is the key requirement for any scheme.
Mike
quoted
-----Original Message-----
From: Or Gerlitz [mailto:<redacted>]
Sent: Friday, July 20, 2012 12:00 PM
To: Marciniszyn, Mike
Cc: Roland Dreier; <redacted>
Subject: Re: [PATCH 3/5] IB/qib: Add support for per-device/per-port
parameters
On Fri, Jul 20, 2012 at 2:40 PM, Marciniszyn, Mike
[off-list ref]
quoted
If you could give me some code to look at?
include/rdma/rdma_netlink.h
drivers/infiniband/core/netlink.c
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the
body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at
http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html