summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorMartin KaFai Lau <kafai@fb.com>2016-12-07 15:53:13 -0800
committerDavid S. Miller <davem@davemloft.net>2016-12-08 14:25:13 -0500
commitea3349a03519dcd4f32d949cd80ab995623dc5ac (patch)
tree01d77dc1b6492c486e3df0503fc4b1ef17fb7884 /samples
parentb45f0674b997ee769907d6092dfa9ee8f59bb51d (diff)
mlx4: xdp: Reserve headroom for receiving packet when XDP prog is active
Reserve XDP_PACKET_HEADROOM for packet and enable bpf_xdp_adjust_head() support. This patch only affects the code path when XDP is active. After testing, the tx_dropped counter is incremented if the xdp_prog sends more than wire MTU. Signed-off-by: Martin KaFai Lau <kafai@fb.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions