diff options
author | Jiri Pirko <jiri@mellanox.com> | 2016-02-25 15:31:57 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2016-03-08 15:34:18 +0800 |
commit | 031143c8d5ad9d82623a252551ef323219cbe642 (patch) | |
tree | 6c6ceb8161071e54c8a7b36a31b39572256ed4ee /hw/net/rocker/rocker_of_dpa.c | |
parent | 39e0c4f47d263453cd10920d0c372b370ffaf990 (diff) |
rocker: add name field into WorldOps ale let world specify its name
Also use this in world_name getter function.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/rocker/rocker_of_dpa.c')
-rw-r--r-- | hw/net/rocker/rocker_of_dpa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/net/rocker/rocker_of_dpa.c b/hw/net/rocker/rocker_of_dpa.c index da3fc541d8..0a134ebca8 100644 --- a/hw/net/rocker/rocker_of_dpa.c +++ b/hw/net/rocker/rocker_of_dpa.c @@ -2614,6 +2614,7 @@ RockerOfDpaGroupList *qmp_query_rocker_of_dpa_groups(const char *name, } static WorldOps of_dpa_ops = { + .name = "ofdpa", .init = of_dpa_init, .uninit = of_dpa_uninit, .ig = of_dpa_ig, |