diff mbox series

[v2,iproute2,4/6] rdma: make supress_errors a bit

Message ID 20240104011422.26736-5-stephen@networkplumber.org (mailing list archive)
State Accepted
Commit 6e0d4e91a554e25634da9ab19cd6430cba6a2a25
Delegated to: Stephen Hemminger
Headers show
Series rdma: print related patches | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Stephen Hemminger Jan. 4, 2024, 1:13 a.m. UTC
Like other command line flags supress_errors can be a bit.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 rdma/rdma.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Petr Machata Jan. 4, 2024, 2:17 p.m. UTC | #1
Stephen Hemminger <stephen@networkplumber.org> writes:

> Like other command line flags supress_errors can be a bit.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>

Reviewed-by: Petr Machata <me@pmachata.org>
diff mbox series

Patch

diff --git a/rdma/rdma.h b/rdma/rdma.h
index f9308dbcfafd..65e3557d4036 100644
--- a/rdma/rdma.h
+++ b/rdma/rdma.h
@@ -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;