[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87d18b2vy4.fsf@weeman.i-did-not-set--mail-host-address--so-tickle-me>
Date: Fri, 04 Aug 2017 11:29:07 -0400
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: Jiri Pirko <jiri@...nulli.us>,
Arkadi Sharshevsky <arkadis@...lanox.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, ivecera@...hat.com,
f.fainelli@...il.com, andrew@...n.ch, Woojung.Huh@...rochip.com,
stephen@...workplumber.org, mlxsw@...lanox.com
Subject: Re: [PATCH net-next v2 00/13] Change DSA's FDB API and perform switchdev cleanup
Hi Arkadi, Jiri,
Jiri Pirko <jiri@...nulli.us> writes:
>>It seems impossible currently to move the self to be the default, and
>>this introduces regression which you don't approve, so it seems few
>>options left:
>>
>>a) Leave two ways to add fdb, through the bridge (by using the master
>> flag) which is introduced in this patchset, and by using the self
>> which is the legacy way. In this way no regression will be introduced,
>> yet, it feels confusing a bit. The benefit is that we (DSA/mlxsw)
>> will be synced.
>>b) Leave only the self (which means removing patch no 4,5).
>
> I belive that option a) is the correct way to go. Introduction of self
> inclusion was a mistake from the very beginning. I think that we should
> just move one and correct this mistake.
>
> Vivien, any arguments against a)?
I do agree with a). Arkadi, when moving switchdev implementations inside
of DSA core, can I ask you to move the ones considered as the legacy way
into legacy.c and ideally comment it? Configuration from userspace is
still very confusing and this will remind us to get rid of it one day.
Thanks,
Vivien
Powered by blists - more mailing lists