-
Notifications
You must be signed in to change notification settings - Fork 776
ionic: Add ionic provider #1620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
ionic: Add ionic provider #1620
Conversation
7074e2a
to
68709b3
Compare
please rebase |
#include <stdlib.h> | ||
|
||
#include "ionic.h" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please start without environmental variables. It is legacy, which we are trying to get rid of.
- Use verbs_debug() for DEBUG functionality.
There was a problem hiding this comment.
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.
providers/ionic/ionic.c
Outdated
} | ||
|
||
if (resp.version > IONIC_MAX_RDMA_VERSION) { | ||
fprintf(stderr, "ionic: Firmware RDMA Version %u\n", |
There was a problem hiding this comment.
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.
providers/ionic/ionic.h
Outdated
return BIT(ctx->udma_count) - 1; | ||
} | ||
|
||
#ifndef IONIC_DEBUG |
There was a problem hiding this comment.
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]>
68709b3
to
e717272
Compare
Introduce a provider for AMD pensando ionic device to user applications.