-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: cavium/nitrox - Enabled Mailbox support
Enabled the PF->VF Mailbox support. Mailbox message are interpreted as {type, opcode, data}. Supported message types are REQ, ACK and NACK. Signed-off-by: Srikanth Jampala <Jampala.Srikanth@cavium.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
- Loading branch information
Srikanth, Jampala
authored and
Herbert Xu
committed
Dec 13, 2018
1 parent
19c11c9
commit cf718ea
Showing
11 changed files
with
441 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// SPDX-License-Identifier: GPL-2.0 | ||
#ifndef __NITROX_DEBUGFS_H | ||
#define __NITROX_DEBUGFS_H | ||
|
||
#include "nitrox_dev.h" | ||
|
||
#ifdef CONFIG_DEBUG_FS | ||
int nitrox_debugfs_init(struct nitrox_device *ndev); | ||
void nitrox_debugfs_exit(struct nitrox_device *ndev); | ||
#else | ||
static inline int nitrox_debugfs_init(struct nitrox_device *ndev) | ||
{ | ||
return 0; | ||
} | ||
|
||
static inline int nitrox_sriov_debugfs_init(struct nitrox_device *ndev) | ||
{ | ||
return 0; | ||
} | ||
#endif /* !CONFIG_DEBUG_FS */ | ||
|
||
#endif /* __NITROX_DEBUGFS_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.