Skip to content

Conversation

@ikegami-t
Copy link
Contributor

No description provided.

The wrap API supported for MI interface.

Signed-off-by: Tokunori Ikegami <[email protected]>
This is for the OCP requirement fields and bits definitions.

Signed-off-by: Tokunori Ikegami <[email protected]>
.args_size = sizeof(args),
.fd = dev_fd(dev),
.timeout = NVME_DEFAULT_IOCTL_TIMEOUT,
.cdw11 = OCP_SET(argconfig_parse_seen(opts, "enable"), ENABLE_IEEE1667_SILO),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a variable for the OCP(...) part. This is a bit too much in one line.

#define OCP_PLUGIN_VERSION "2.9.3"
#include "cmd.h"

#define ENABLE_IEEE1667_SILO "enable IEEE1667 silo"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would use the string directly in the command list macro. Just to keep it consistent with the rest.

The command sets enable IEEE1667 silo.

Signed-off-by: Tokunori Ikegami <[email protected]>
@ikegami-t
Copy link
Contributor Author

Just fixed for the review comments. Thank you.

@igaw igaw merged commit 7d6cf87 into linux-nvme:master Dec 16, 2024
16 of 17 checks passed
@igaw
Copy link
Collaborator

igaw commented Dec 16, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants