Commit 898f801
net: extract napi poll functionality to __napi_poll()
This commit introduces a new function __napi_poll() which does the main
logic of the existing napi_poll() function, and will be called by other
functions in later commits.
This idea and implementation is done by Felix Fietkau <nbd@nbd.name> and
is proposed as part of the patch to move napi work to work_queue
context.
This commit by itself is a code restructure.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Wei Wang <weiwan@google.com>
Reviewed-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 4feffea commit 898f801
1 file changed
+24
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6776 | 6776 | | |
6777 | 6777 | | |
6778 | 6778 | | |
6779 | | - | |
| 6779 | + | |
6780 | 6780 | | |
6781 | | - | |
6782 | 6781 | | |
6783 | 6782 | | |
6784 | | - | |
6785 | | - | |
6786 | | - | |
6787 | | - | |
6788 | 6783 | | |
6789 | 6784 | | |
6790 | 6785 | | |
| |||
6804 | 6799 | | |
6805 | 6800 | | |
6806 | 6801 | | |
6807 | | - | |
| 6802 | + | |
6808 | 6803 | | |
6809 | 6804 | | |
6810 | 6805 | | |
| |||
6813 | 6808 | | |
6814 | 6809 | | |
6815 | 6810 | | |
6816 | | - | |
| 6811 | + | |
6817 | 6812 | | |
6818 | 6813 | | |
6819 | 6814 | | |
| |||
6826 | 6821 | | |
6827 | 6822 | | |
6828 | 6823 | | |
6829 | | - | |
| 6824 | + | |
6830 | 6825 | | |
6831 | 6826 | | |
6832 | 6827 | | |
| |||
6844 | 6839 | | |
6845 | 6840 | | |
6846 | 6841 | | |
6847 | | - | |
| 6842 | + | |
6848 | 6843 | | |
6849 | 6844 | | |
6850 | | - | |
| 6845 | + | |
| 6846 | + | |
| 6847 | + | |
| 6848 | + | |
| 6849 | + | |
| 6850 | + | |
| 6851 | + | |
| 6852 | + | |
| 6853 | + | |
| 6854 | + | |
| 6855 | + | |
| 6856 | + | |
| 6857 | + | |
| 6858 | + | |
| 6859 | + | |
| 6860 | + | |
| 6861 | + | |
| 6862 | + | |
| 6863 | + | |
6851 | 6864 | | |
6852 | | - | |
6853 | 6865 | | |
6854 | 6866 | | |
6855 | 6867 | | |
| |||
0 commit comments