diff --git a/Cargo.toml b/Cargo.toml index 3a8e81e..75f3984 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dragonfly-api" -version = "2.2.28" +version = "2.2.29" authors = ["Gaius "] edition = "2021" license = "Apache-2.0" @@ -11,13 +11,13 @@ readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -tonic = "0.14.2" -tonic-prost = "0.14.2" prost = "0.14.2" prost-types = "0.14.2" -tokio = { version = "1.52.3", features = ["rt-multi-thread", "macros"] } -serde = { version = "1.0", features = ["derive"] } prost-wkt-types = "0.7" +serde = { version = "1.0", features = ["derive"] } +tokio = { version = "1.52.3", features = ["macros", "rt-multi-thread"] } +tonic = "0.14.2" +tonic-prost = "0.14.2" [build-dependencies] tonic-prost-build = "0.14.2" diff --git a/proto/dfdaemon.proto b/proto/dfdaemon.proto index 4f70464..a951ccd 100644 --- a/proto/dfdaemon.proto +++ b/proto/dfdaemon.proto @@ -756,18 +756,6 @@ message IBVerbsQueuePairEndpoint { bytes gid = 3; } -// ExchangeIBVerbsQueuePairEndpointRequest represents request of ExchangeIBVerbsQueuePairEndpoint. -message ExchangeIBVerbsQueuePairEndpointRequest { - // Information of the source's queue pair endpoint of IBVerbs. - IBVerbsQueuePairEndpoint endpoint = 1; -} - -// ExchangeIBVerbsQueuePairEndpointResponse represents response of ExchangeIBVerbsQueuePairEndpoint. -message ExchangeIBVerbsQueuePairEndpointResponse { - // Information of the destination's queue pair endpoint of IBVerbs. - IBVerbsQueuePairEndpoint endpoint = 1; -} - // DfdaemonUpload represents upload service of dfdaemon. service DfdaemonUpload { // DownloadTask downloads task from p2p network. @@ -835,9 +823,6 @@ service DfdaemonUpload { // SyncHost sync host info from parents. rpc SyncHost(SyncHostRequest) returns (stream common.v2.Host); - - // ExchangeIBVerbsQueuePairEndpoint exchanges queue pair endpoint of IBVerbs with remote peer. - rpc ExchangeIBVerbsQueuePairEndpoint(ExchangeIBVerbsQueuePairEndpointRequest) returns (ExchangeIBVerbsQueuePairEndpointResponse); } // DfdaemonDownload represents download service of dfdaemon.