vdpa_sim_net: vendor satistics
authorJason Wang <jasowang@redhat.com>
Fri, 23 Dec 2022 05:55:48 +0000 (13:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 21 Feb 2023 00:26:57 +0000 (19:26 -0500)
commit0899774cb360769583e91d1951a68af47ce88db2
treede374986b0b991f9a85f8924e8d447ab1390a939
parent5dbb063a3ebfd19a91d7812783fd49d5d829a0d4
vdpa_sim_net: vendor satistics

This patch adds support for basic vendor stats that include counters
for tx, rx and cvq.

Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20221223055548.27810-5-jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
drivers/vdpa/vdpa_sim/vdpa_sim_net.c