Skip to content

Conversation

abhijitG-xlnx
Copy link

Introduce a provider for AMD pensando ionic device to user applications.

@rleon
Copy link
Member

rleon commented Sep 15, 2025

please rebase

#include <stdlib.h>

#include "ionic.h"

Copy link
Member

Choose a reason for hiding this comment

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

  1. Please start without environmental variables. It is legacy, which we are trying to get rid of.
  2. Use verbs_debug() for DEBUG functionality.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks. Will remove the env variables and use the verbs logging.

}

if (resp.version > IONIC_MAX_RDMA_VERSION) {
fprintf(stderr, "ionic: Firmware RDMA Version %u\n",
Copy link
Member

Choose a reason for hiding this comment

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

Please without prints/fprints in library code.

return BIT(ctx->udma_count) - 1;
}

#ifndef IONIC_DEBUG
Copy link
Member

Choose a reason for hiding this comment

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

Please without IONIC_DEBUG

This patch is to be autogenerated from commit hash using
kernel-headers/update script after kernel driver is merged.

Signed-off-by: Abhijit Gangurde <[email protected]>
Introduce a provider for AMD pensando ionic devices to user applications.

Co-developed-by: Andrew Boyer <[email protected]>
Signed-off-by: Andrew Boyer <[email protected]>
Co-developed-by: Allen Hubbe <[email protected]>
Signed-off-by: Allen Hubbe <[email protected]>
Signed-off-by: Abhijit Gangurde <[email protected]>
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.

3 participants