commit | 84f5e3fb790547860fbbe7e0ef87104d4922dd1a | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Tue Apr 17 16:46:07 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 17 10:50:28 2018 -0400 |
tree | ad92ef8e3260cd5f5d6c4700beb6884e2bbe8035 | |
parent | b411ef11020d012790839a5414040283d9335386 [diff] |
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>