netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/4]: Allow head adjustment in XDP prog
@ 2016-12-04  3:17 Martin KaFai Lau
  2016-12-04  3:17 ` [PATCH v2 net-next 1/4] bpf: xdp: " Martin KaFai Lau
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Martin KaFai Lau @ 2016-12-04  3:17 UTC (permalink / raw)
  To: netdev
  Cc: Alexei Starovoitov, Brenden Blanco, Daniel Borkmann, David Miller,
	Jesper Dangaard Brouer, Saeed Mahameed, Tariq Toukan, Kernel Team

This series adds a helper to allow head adjusting in XDP prog.  mlx4
driver has been modified to support this feature.  An example is written
to encapsulate a packet with an IPv4/v6 header and then XDP_TX it
out.

v2:
1. Make a variable name change in bpf_xdp_adjust_head() in patch 1
2. Ensure no less than ETH_HLEN data in bpf_xdp_adjust_head() in patch 1
3. Some clarifications in commit log messages of patch 2 and 3

Thanks,
--Martin

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-12-06 22:26 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-04  3:17 [PATCH v2 net-next 0/4]: Allow head adjustment in XDP prog Martin KaFai Lau
2016-12-04  3:17 ` [PATCH v2 net-next 1/4] bpf: xdp: " Martin KaFai Lau
2016-12-04 15:11   ` Daniel Borkmann
2016-12-05  7:35   ` Jesper Dangaard Brouer
2016-12-06 17:35   ` John Fastabend
2016-12-06 18:52     ` Martin KaFai Lau
2016-12-04  3:17 ` [PATCH v2 net-next 2/4] mlx4: xdp: Allow raising MTU up to one page minus eth and vlan hdrs Martin KaFai Lau
2016-12-04  3:17 ` [PATCH v2 net-next 3/4] mlx4: xdp: Reserve headroom for receiving packet when XDP prog is active Martin KaFai Lau
2016-12-05  0:54   ` Saeed Mahameed
2016-12-05 19:55     ` Martin KaFai Lau
2016-12-06 16:50       ` Saeed Mahameed
2016-12-06 17:42         ` John Fastabend
2016-12-06 18:27         ` Martin KaFai Lau
2016-12-06 21:40           ` Saeed Mahameed
2016-12-06 22:25             ` Martin KaFai Lau
2016-12-04  3:17 ` [PATCH v2 net-next 4/4] bpf: xdp: Add XDP example for head adjustment Martin KaFai Lau
2016-12-05 17:53 ` [PATCH v2 net-next 0/4]: Allow head adjustment in XDP prog Jakub Kicinski
2016-12-05 18:25   ` Jesper Dangaard Brouer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).