]> git.proxmox.com Git - mirror_iproute2.git/commit
dcb: Add dcb_set_u32(), dcb_set_u64()
authorPetr Machata <me@pmachata.org>
Thu, 10 Dec 2020 23:02:19 +0000 (00:02 +0100)
committerDavid Ahern <dsahern@gmail.com>
Mon, 14 Dec 2020 16:41:45 +0000 (16:41 +0000)
commit11a72186a05710b290f1527f6f995b044a4fc501
tree8d9f50800ed1deff156d8854e0a585692b97865c
parent7e94711c71cc40c0ab47c07de6b31bd788ead096
dcb: Add dcb_set_u32(), dcb_set_u64()

The DCB buffer object has a settable array of 32-bit quantities, and the
maxrate object of 64-bit ones. Adjust dcb_parse_mapping() and related
helpers to support 64-bit values in mappings, and add appropriate helpers.

Signed-off-by: Petr Machata <me@pmachata.org>
Signed-off-by: David Ahern <dsahern@gmail.com>
dcb/dcb.c
dcb/dcb.h