diff options
author | Jason Wang <jasowang@redhat.com> | 2017-08-11 19:41:17 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-13 19:56:07 -0700 |
commit | 7c4974786f4794178f04e96318fc3b2f2850cbc6 (patch) | |
tree | 3cef8e46105d414a0601ceb204a4fca0f66f3166 /net/core/dst_cache.c | |
parent | 66ccbc9c87c2ae96585f9aa5f733609e6f4acf25 (diff) | |
download | linux-7c4974786f4794178f04e96318fc3b2f2850cbc6.tar.bz2 |
net: export some generic xdp helpers
This patch tries to export some generic xdp helpers to drivers. This
can let driver to do XDP for a specific skb. This is useful for the
case when the packet is hard to be processed at page level directly
(e.g jumbo/GSO frame).
With this patch, there's no need for driver to forbid the XDP set when
configuration is not suitable. Instead, it can defer the XDP for
packets that is hard to be processed directly after skb is created.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dst_cache.c')
0 files changed, 0 insertions, 0 deletions