[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <DB3PR05MB07646E4305A3AA9BB136CC7AACC80@DB3PR05MB0764.eurprd05.prod.outlook.com>
Date: Fri, 23 Sep 2016 12:28:06 +0000
From: Yotam Gigi <yotamg@...lanox.com>
To: David Miller <davem@...emloft.net>
CC: "jhs@...atatu.com" <jhs@...atatu.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
mlxsw <mlxsw@...lanox.com>
Subject: RE: [PATCH net] act_ife: Add support for machines with
hard_header_len != mac_len
>-----Original Message-----
>From: David Miller [mailto:davem@...emloft.net]
>Sent: Friday, September 23, 2016 2:06 PM
>To: Yotam Gigi <yotamg@...lanox.com>
>Cc: jhs@...atatu.com; netdev@...r.kernel.org
>Subject: Re: [PATCH net] act_ife: Add support for machines with hard_header_len
>!= mac_len
>
>From: Yotam Gigi <yotamg@...lanox.com>
>Date: Wed, 21 Sep 2016 15:54:13 +0300
>
>> Without that fix, the following could occur:
> ...
>
>I don't think what you are doing in mlxsw is valid.
>
>You can't set hard_header_len arbitrarily, it's the MAC length.
>
>If you need to prepend special headers or whatever, set
>->needed_headroom which is designed for this purpose.
Ok, we will fix that.
Thanks for the comment!
>
>Thanks.
Powered by blists - more mailing lists