[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM4PR05MB15536151D58A53E728E3DEDFAE300@AM4PR05MB1553.eurprd05.prod.outlook.com>
Date: Tue, 12 Jul 2016 12:02:28 +0000
From: Tariq Toukan <tariqt@...lanox.com>
To: Brenden Blanco <bblanco@...mgrid.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: Jamal Hadi Salim <jhs@...atatu.com>,
Saeed Mahameed <saeedm@....mellanox.co.il>,
Martin KaFai Lau <kafai@...com>,
"Jesper Dangaard Brouer" <brouer@...hat.com>,
Ari Saha <as754m@....com>,
"Alexei Starovoitov" <alexei.starovoitov@...il.com>,
Or Gerlitz <gerlitz.or@...il.com>,
"john.fastabend@...il.com" <john.fastabend@...il.com>,
"hannes@...essinduktion.org" <hannes@...essinduktion.org>,
Thomas Graf <tgraf@...g.ch>, Tom Herbert <tom@...bertland.com>,
Daniel Borkmann <daniel@...earbox.net>
Subject: RE: [PATCH v8 04/11] net/mlx4_en: add support for fast rx drop bpf
program
>Add support for the BPF_PROG_TYPE_XDP hook in mlx4 driver.
>
>In tc/socket bpf programs, helpers linearize skb fragments as needed when the program touches the packet data. However, in the pursuit of speed, XDP programs will not be allowed to use these slower functions, especially if it involves allocating an skb.
>
>Therefore, disallow MTU settings that would produce a multi-fragment packet that XDP programs would fail to access. Future enhancements could be done to increase the allowable MTU.
>
>Signed-off-by: Brenden Blanco <bblanco@...mgrid.com>
Reviewed-by: Tariq Toukan <tariqt@...lanox.com>
Powered by blists - more mailing lists