[PATCH V4 net 1/3] Revert "tuntap: add missing xdp flush"

2018-02-23 Thread Jason Wang
This reverts commit 762c330d670e3d4b795cf7a8d761866fdd1eef49. The reason is we try to batch packets for devmap which causes calling xdp_do_flush() in the process context. Simply disabling preemption may not work since process may move among processors which lead xdp_do_flush() to miss some flushes

Re: [PATCH V4 net 1/3] Revert "tuntap: add missing xdp flush"

2018-02-26 Thread David Miller
From: Jason Wang Date: Sat, 24 Feb 2018 11:32:24 +0800 > This reverts commit 762c330d670e3d4b795cf7a8d761866fdd1eef49. The > reason is we try to batch packets for devmap which causes calling > xdp_do_flush() in the process context. Simply disabling preemption > may not work since process may move