]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
rdma: make supress_errors a bit
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 2 Jan 2024 17:22:35 +0000 (09:22 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 4 Jan 2024 00:48:33 +0000 (16:48 -0800)
Like other command line flags supress_errors can be a bit.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
rdma/rdma.h

index f9308dbcfafd6002b0e609981ed615455f8b9b78..65e3557d40360913edc48f8a59ce5267973d8f98 100644 (file)
@@ -61,6 +61,7 @@ struct rd {
        uint8_t show_details:1;
        uint8_t show_driver_details:1;
        uint8_t show_raw:1;
+       uint8_t suppress_errors:1;
        struct list_head dev_map_list;
        uint32_t dev_idx;
        uint32_t port_idx;
@@ -68,7 +69,6 @@ struct rd {
        struct nlmsghdr *nlh;
        char *buff;
        json_writer_t *jw;
-       bool suppress_errors;
        struct list_head filter_list;
        char *link_name;
        char *link_type;