Commit e5e43f96 authored by Konrad Sztyber's avatar Konrad Sztyber Committed by Tomasz Zawadzki
Browse files

sma: add golang package definitions



It makes it possible to generate golang code from the SMA's protobuf
definitions.

Signed-off-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I6f03bc2b602f93ea608597e863cb9e016b68f12e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10279


Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent ae60344e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ syntax = "proto3";

package sma.nvme;

option go_package = "spdk.io/sma/nvme";

message DeviceParameters {
  // Physical function index
  uint32 physical_id = 1;
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ syntax = "proto3";

package sma.nvmf_tcp;

option go_package = "spdk.io/sma/nvmf_tcp";

// Create device NVMe/TCP-specific parameters
message DeviceParameters {
  // Subsystem NQN
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ import "nvmf.proto";

package sma;

option go_package = "spdk.io/sma";

// Parameters describing a volume
message VolumeParameters {
  // Volume GUID/UUID
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@ syntax = "proto3";

package sma.virtio_blk;

option go_package = "spdk.io/sma/virtio_blk";

message DeviceParameters {
  // Physical function index
  uint32 physical_id = 1;