Thread (61 messages) 61 messages, 8 authors, 2022-12-05

Re: [RFC PATCH net-next 10/19] pds_core: devlink params for enabling VIF support

From: Shannon Nelson <hidden>
Date: 2022-11-28 23:07:17

On 11/28/22 2:57 PM, Andrew Lunn wrote:
On Mon, Nov 28, 2022 at 02:26:26PM -0800, Shannon Nelson wrote:
quoted
On 11/28/22 10:29 AM, Jakub Kicinski wrote:
quoted
On Fri, 18 Nov 2022 14:56:47 -0800 Shannon Nelson wrote:
quoted
+     DEVLINK_PARAM_DRIVER(PDSC_DEVLINK_PARAM_ID_LM,
+                          "enable_lm",
+                          DEVLINK_PARAM_TYPE_BOOL,
+                          BIT(DEVLINK_PARAM_CMODE_RUNTIME),
+                          pdsc_dl_enable_get,
+                          pdsc_dl_enable_set,
+                          pdsc_dl_enable_validate),
Terrible name, not vendor specific.
... but useful for starting a conversation.

How about we add
       DEVLINK_PARAM_GENERIC_ID_ENABLE_LM,
I know we are running short of short acronyms and we have to recycle
them, rfc5513 and all, so could you actually use
DEVLINK_PARAM_GENERIC_ID_ENABLE_LIST_MANAGER making it clear your
Smart NIC is running majordomo and will soon replace vger.

       Andrew
Oh, hush, someone might hear you speak of our plan to take over the 
email world!  You never know who might be listening...

On the other hand, "LM" could be expanded to "LIVE_MIGRATION", but that 
is soooo many letters to type... perhaps I'll need to set up some 
additional vim macros.

How about:
	DEVLINK_PARAM_GENERIC_ID_ENABLE_LIVE_MIGRATION

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