Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
2d6cc432
Unverified
Commit
2d6cc432
authored
Nov 10, 2025
by
milesial
Committed by
GitHub
Nov 10, 2025
Browse files
feat: make NIXL descriptor serializable (#4222)
Signed-off-by:
milesial
<
milesial@users.noreply.github.com
>
parent
efec27f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/memory/src/nixl.rs
lib/memory/src/nixl.rs
+2
-1
No files found.
lib/memory/src/nixl.rs
View file @
2d6cc432
...
...
@@ -14,6 +14,7 @@ pub use agent::NixlAgent;
pub
use
config
::
NixlBackendConfig
;
pub
use
nixl_sys
::{
MemType
,
OptArgs
,
RegistrationHandle
};
pub
use
serde
::{
Deserialize
,
Serialize
};
/// Trait for storage types that can be registered with NIXL.
pub
trait
NixlCompatible
{
...
...
@@ -24,7 +25,7 @@ pub trait NixlCompatible {
}
/// NIXL descriptor containing registration information.
#[derive(Debug,
Clone)]
#[derive(Debug,
Clone
,
Serialize,
Deserialize
)]
pub
struct
NixlDescriptor
{
pub
addr
:
u64
,
pub
size
:
usize
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment