diff options
author | kyolee <kyolee@qnap.com> | 2022-06-22 01:27:08 -0400 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-07-06 15:12:28 +0200 |
commit | 083c1b679b883485ebfa15d56fbe53ca83fc3c3c (patch) | |
tree | 7b8e614b8c30077ed83657fdb463221fc424611a | |
parent | 2e9a4f76849e779acb687269c0817b0b0f0ef5cd (diff) | |
download | libnl-083c1b679b883485ebfa15d56fbe53ca83fc3c3c.tar.gz |
sriov: fix setting ce_mask when parsing VF stat counter
https://github.com/thom311/libnl/pull/324
Fixes: 5d6e43ebef12 ('lib/route: SRIOV Parse and Read support')
-rw-r--r-- | lib/route/link/sriov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/route/link/sriov.c b/lib/route/link/sriov.c index ebc4e6ac..3a728147 100644 --- a/lib/route/link/sriov.c +++ b/lib/route/link/sriov.c @@ -675,7 +675,7 @@ int rtnl_link_sriov_parse_vflist(struct rtnl_link *link, struct nlattr **tb) { RTNL_LINK_VF_STATS_MULTICAST, IFLA_VF_STATS_MULTICAST); - vf_data->ce_mask |= IFLA_VF_STATS; + vf_data->ce_mask |= SRIOV_ATTR_STATS; } if (t[IFLA_VF_TRUST]) { |