Skip to content

Stride - Code structure #3

Description

@dragonJACson

Target code structure

stride/
├── Cargo.toml
├── README.md
└── src/
    ├── main.rs                 # Entry point
    ├── cli.rs                  # CLI definition
    ├── config.rs               # Configuration management
    ├── error.rs                # Error types
    ├── lib.rs                  # Library exports
    ├── runners/                # Test runners
    │   ├── mod.rs
    │   ├── bandwidth.rs        # Bandwidth tests
    │   ├── latency.rs          # Latency tests
    │   └── mixed.rs            # Mixed workload tests
    ├── operations/             # RDMA operations
    │   ├── mod.rs
    │   ├── send.rs
    │   ├── write.rs
    │   ├── read.rs
    │   └── atomic.rs
    ├── output/                 # Output formatting
    │   ├── mod.rs
    │   ├── text.rs
    │   ├── json.rs
    │   └── csv.rs
    ├── connection/
    │   ├── mod.rs              # Traits and types
    │   ├── types.rs            # Common types
    │   ├── exchange.rs         # QP info exchange protocol
    │   ├── manager/
    │   │   ├── mod.rs
    │   │   ├── rdmacm.rs       # RDMA CM implementation
    │   │   └── tcp.rs          # TCP implementation
    │   └── state.rs            # Connection state management
    ├── transport/              # Moved from previous 'connection'
    │   ├── mod.rs
    │   ├── qp.rs               # QP setup and management
    │   └── endpoint.rs         # Endpoint abstraction
    └── utils/                  # Utility functions
        ├── mod.rs
        ├── statistics.rs
        └── metrics.rs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions