[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52D88E9E.7080705@huawei.com>
Date: Fri, 17 Jan 2014 09:59:58 +0800
From: Ding Tianhong <dingtianhong@...wei.com>
To: David Miller <davem@...emloft.net>
CC: <fubar@...ibm.com>, <vfalico@...hat.com>, <edumazet@...gle.com>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH net-next v2 2/2] bonding: try to enable SG features when
adding a new, slave
On 2014/1/17 8:07, David Miller wrote:
> From: Ding Tianhong <dingtianhong@...wei.com>
> Date: Tue, 14 Jan 2014 17:00:35 +0800
>
>> The commit b0ce3508(bonding: allow TSO being set on bonding master)
>> has make the TSO being set for bond dev, but in some situation, if
>> the slave did not set the NETIF_F_SG features yet, the bond master
>> will miss the TSO features in netdev_fix_features because the TSO is
>> depended on SG.
>>
>> If the slave hw support SG features, but not set yet, I will try to
>> open it when enslave the dev, better for performance.
>>
>> Signed-off-by: Ding Tianhong <dingtianhong@...wei.com>
>
> I really don't think we should force enable device features in slaves
> that perhaps the user intentionally disabled, or perhaps the driver has
> a reason to disable by default (lower performance, etc.)
>
> I'm not applying this series, sorry.
>
>
Yes, pls miss this one, after the discussion with Veaceslav, I think it is not
reasonable to do this. thanks.
Ding
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists