diff options
author | 2023-12-11 18:36:04 +0800 | |
---|---|---|
committer | 2023-12-13 12:49:04 +0000 | |
commit | 7949c06ad9a8fefc4aabe4baed057f8f4a8e33d8 (patch) | |
tree | cc77a37aa3227148c50af69d63f505c97db3708b /include/linux/phy.h | |
parent | Merge branch 'ionic-pci-errors' (diff) | |
download | linux-rng-7949c06ad9a8fefc4aabe4baed057f8f4a8e33d8.tar.xz linux-rng-7949c06ad9a8fefc4aabe4baed057f8f4a8e33d8.zip |
virtio-net: returns whether napi is complete
rx netdim needs to count the traffic during a complete napi process,
and start updating and comparing samples to make decisions after
the napi ends. Let virtqueue_napi_complete() return true if napi is done,
otherwise vice versa.
Signed-off-by: Heng Qi <hengqi@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions