]> git.baikalelectronics.ru Git - kernel.git/commit
tuntap: split out XDP logic
authorJason Wang <jasowang@redhat.com>
Wed, 12 Sep 2018 03:17:04 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 16:25:40 +0000 (09:25 -0700)
commit587e717e05865103892edeb7b0e4afafe56846dd
tree3432115ca9f5856172bc0e3c650cc87bd8f3b604
parenta9b724e3a384ab777c559819a3947f18f93f2abe
tuntap: split out XDP logic

This patch split out XDP logic into a single function. This make it to
be reused by XDP batching path in the following patch.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c