diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-04-17 16:46:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-17 10:50:28 -0400 |
commit | 84f5e3fb790547860fbbe7e0ef87104d4922dd1a (patch) | |
tree | ad92ef8e3260cd5f5d6c4700beb6884e2bbe8035 /drivers/net/tun.c | |
parent | b411ef11020d012790839a5414040283d9335386 (diff) | |
download | op-kernel-dev-84f5e3fb790547860fbbe7e0ef87104d4922dd1a.zip op-kernel-dev-84f5e3fb790547860fbbe7e0ef87104d4922dd1a.tar.gz |
mlx5: register a memory model when XDP is enabled
Now all the users of ndo_xdp_xmit have been converted to use xdp_return_frame.
This enable a different memory model, thus activating another code path
in the xdp_return_frame API.
V2: Fixed issues pointed out by Tariq.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions