OSDN Git Service

net: openvswitch: Add support to count upcall packets
authorwangchuanlei <wangchuanlei@inspur.com>
Wed, 7 Dec 2022 01:38:57 +0000 (20:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2022 10:43:46 +0000 (10:43 +0000)
commit1933ea365aa7a48ce26bea2ea09c9f7cc48cc668
tree9f529b454284d42ff7cb10a7847002af3a2a7ffd
parente47877c7aa821c413b45e05f804819579bdfa1a3
net: openvswitch: Add support to count upcall packets

Add support to count upall packets, when kmod of openvswitch
upcall to count the number of packets for upcall succeed and
failed, which is a better way to see how many packets upcalled
on every interfaces.

Signed-off-by: wangchuanlei <wangchuanlei@inspur.com>
Acked-by: Eelco Chaudron <echaudro@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/openvswitch.h
net/openvswitch/datapath.c
net/openvswitch/vport.c
net/openvswitch/vport.h