On Mon, Oct 19, 2015 at 5:37 AM, Elad Raz wrote:
> Configure ageing time to the HW for newly bridged device
>
> CC: Scott Feldman
> CC: Jiri Pirko
> Signed-off-by: Elad Raz
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev"
On Wed, Oct 14, 2015 at 10:40 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Similar to the attr usecase, the caller knows if he is holding RTNL and is
> in atomic section. So let the called to decide the correct call variant.
>
> This allows drivers to sleep inside their ops and wait for hw to get
On Fri, Oct 16, 2015 at 1:23 AM, Jiri Pirko wrote:
> Thu, Oct 15, 2015 at 05:21:22PM CEST, john.fastab...@gmail.com wrote:
>>On 15-10-14 10:40 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> Caller should know if he can call attr_set directly (when holding RTNL)
>>> or if he has to defer the a
On Wed, Oct 14, 2015 at 10:40 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Caller should know if he can call attr_set directly (when holding RTNL)
> or if he has to defer the att_set processing for later.
>
> This also allows drivers to sleep inside attr_set and report operation
> status back to
On Wed, Oct 14, 2015 at 10:42 AM, Ido Schimmel wrote:
> Wed, Oct 14, 2015 at 08:14:24PM IDT, sfel...@gmail.com wrote:
>>On Wed, Oct 14, 2015 at 8:25 AM, Vivien Didelot
>> wrote:
>>> On Oct. Wednesday 14 (42) 09:14 AM, Ido Schimmel wrote:
Tue, Oct 13, 2015 at 05:32:26PM IDT, vivien.dide...@sav
On Tue, Oct 13, 2015 at 9:46 AM, Vivien Didelot
wrote:
> Implement the port_fdb_dump DSA operation.
>
> Signed-off-by: Vivien Didelot
Reviewed-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@v
On Wed, Oct 14, 2015 at 8:25 AM, Vivien Didelot
wrote:
> On Oct. Wednesday 14 (42) 09:14 AM, Ido Schimmel wrote:
>> Tue, Oct 13, 2015 at 05:32:26PM IDT, vivien.dide...@savoirfairelinux.com
>> wrote:
>> >On Oct. Tuesday 13 (42) 11:31 AM, Ido Schimmel wrote:
>> >> Mon, Oct 12, 2015 at 08:36:25PM ID
On Tue, Oct 13, 2015 at 12:30 AM, Jiri Pirko wrote:
> Tue, Oct 13, 2015 at 08:53:45AM CEST, sfel...@gmail.com wrote:
>>On Mon, Oct 12, 2015 at 11:21 PM, Jiri Pirko wrote:
>>> Tue, Oct 13, 2015 at 08:03:46AM CEST, john.fastab...@gmail.com wrote:
On 15-10-12 10:44 PM, Jiri Pirko wrote:
> Tu
in
> rocker_port_fdb_flush, which is called from attr_set, we call
> rocker_port_fdb_learn with spin lock. Therefore I had to put
> ROCKER_OP_FLAG_NOWAIT here. Before ROCKER_OP_FLAG_NOWAIT removal from
> attr_set this was there already.
Gotcha.
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Oct 12, 2015 at 11:21 PM, Jiri Pirko wrote:
> Tue, Oct 13, 2015 at 08:03:46AM CEST, john.fastab...@gmail.com wrote:
>>On 15-10-12 10:44 PM, Jiri Pirko wrote:
>>> Tue, Oct 13, 2015 at 04:52:42AM CEST, sfel...@gmail.com wrote:
On Mon, Oct 12, 2015 at 11:03 AM, Jiri Pirko wrote:
> F
bp(struct net_bridge_port *p)
>>> list_del_rcu(&p->list);
>>>
>>> br_fdb_delete_by_port(br, p, 0, 1);
>>> + switchdev_flush_deferred();
>>> +
>>
>>This potentially flushes other (valid) work on the deferred qu
On Mon, Oct 12, 2015 at 10:51 AM, Ido Schimmel wrote:
> Mon, Oct 12, 2015 at 02:41:09PM IDT, ra...@blackwall.org wrote:
>>From: Nikolay Aleksandrov
>>
>>As Ido Schimmel pointed out the vlan_vid_del() loop in nbp_vlan_flush is
>>unnecessary (and is actually a remnant of the old vlan code) so we ca
+
> + ret = br_set_ageing_time(br, val);
> + rtnl_unlock();
> +
> + return ret;
> }
Looks good, thanks Nikolay. The other option would have been to
simply not restart gc_timer in br_set_ageing_time(), but this would
make changes to ageing_time "sluggish"
On Mon, Oct 12, 2015 at 10:36 AM, Vivien Didelot
wrote:
> Hi guys,
>
> On Oct. Monday 12 (42) 02:01 PM, Nikolay Aleksandrov wrote:
>> From: Nikolay Aleksandrov
>>
>> We shouldn't allow BRIDGE_VLAN_INFO_PVID flag in VLAN ranges.
>>
>> Signed-off-by: Nikolay Aleksandrov
>> ---
>> net/switchdev/sw
bb1a4 ("switchdev: add new switchdev bridge setlink")
> Signed-off-by: Nikolay Aleksandrov
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Oct 10, 2015 at 8:56 AM, Vivien Didelot
wrote:
> Scott, didn't you have a plan to add a struct device for the parent of
> switchdev ports?
I had sent out a rough RFC for a switch device in the last window. I
have continued working on it, and I plan to send it very soon,
probably again a
On Mon, Oct 12, 2015 at 8:31 PM, John Fastabend
wrote:
> On 15-10-12 08:28 PM, Scott Feldman wrote:
>> On Mon, Oct 12, 2015 at 11:03 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> Since spinlock is held here, defer the switchdev operation.
>>>
&g
On Mon, Oct 12, 2015 at 11:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> No need to avoid sleeping in switchdev callbacks now, as the switchdev
> core allows it.
>
> Signed-off-by: Jiri Pirko
> ---
> drivers/net/ethernet/rocker/rocker.c | 7 +++
> 1 file changed, 3 insertions(+), 4 deleti
On Mon, Oct 12, 2015 at 11:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Since spinlock is held here, defer the switchdev operation.
>
> Signed-off-by: Jiri Pirko
> ---
> net/bridge/br_fdb.c | 5 -
> net/bridge/br_if.c | 3 +++
> 2 files changed, 7 insertions(+), 1 deletion(-)
>
> diff -
On Mon, Oct 12, 2015 at 11:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Similar to the attr usecase, the caller knows if he is holding RTNL and is
> in atomic section. So let the called to decide the correct call variant.
>
> This allows drivers to sleep inside their ops and wait for hw to get
t;
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Oct 12, 2015 at 10:54 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> This is going to be used for deferred operations.
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the bo
On Mon, Oct 12, 2015 at 11:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Caller should know if he can call attr_set directly (when holding RTNL)
> or if he has to defer the att_set processing for later.
>
> This also allows drivers to sleep inside attr_set and report operation
> status back to
gt;>> ro...@cumulusnetworks.com; and...@lunn.ch; f.faine...@gmail.com;
>>>> vivien.dide...@savoirfairelinux.com
>>>> Subject: [PATCH net-next v3 3/4] bridge: push bridge setting ageing_time
>>>> down
>>>> to switchdev
>>>>
>>>&g
On Sun, Oct 11, 2015 at 5:13 PM, Nikolay Aleksandrov
wrote:
> On 10/12/2015 12:41 AM, Vivien Didelot wrote:
>> On Oct. Sunday 11 (41) 09:12 AM, Jiri Pirko wrote:
>>> Sat, Oct 10, 2015 at 12:36:26PM CEST, niko...@cumulusnetworks.com wrote:
On 10/10/2015 09:49 AM, Elad Raz wrote:
>
>> O
On Sat, Oct 10, 2015 at 9:03 AM, Vivien Didelot
wrote:
> On Oct. Friday 09 (41) 08:20 PM, Scott Feldman wrote:
>> On Fri, Oct 9, 2015 at 3:44 PM, Vivien Didelot
>> wrote:
>> > Hi Jiri,
>> >
>> > On Oct. Friday 09 (41) 01:54 PM, Jiri Pirko wrote:
>&g
On Thu, Oct 8, 2015 at 10:26 AM, Roopa Prabhu wrote:
> From: Roopa Prabhu
>
> This patch makes ip6_route_info_create return err pointer instead of
> returning the rt pointer by reference as suggested by Dave
>
> Signed-off-by: Roopa Prabhu
> ---
> Dave, sorry abt the delay on this one. net-next
On Thu, Oct 8, 2015 at 10:38 AM, Roopa Prabhu wrote:
> From: Roopa Prabhu
>
> This patch enables adding of fdb entries pointing to the bridge device.
> This can be used to propagate mac address of vlan interfaces
> configured on top of the vlan filtering bridge.
>
> Before:
> $bridge fdb add 44:3
On Fri, Oct 9, 2015 at 4:30 PM, Vivien Didelot
wrote:
> Hi All,
>
> I understand that specifying a VLAN range on the command line is nice
> for the user, and it makes no big deal for software implementation.
[Adding Roopa, since she did the original vlan range support in the
kernel/iproute2]
> H
On Fri, Oct 9, 2015 at 3:44 PM, Vivien Didelot
wrote:
> Hi Jiri,
>
> On Oct. Friday 09 (41) 01:54 PM, Jiri Pirko wrote:
>> From: Jiri Pirko
>>
>> Some drivers need to implement both switchdev vlan ops and
>> vid_add/kill ndos. For that to work in bridge code, we need to try
>> switchdev op first
i Pirko
> Signed-off-by: Ido Schimmel
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
snulli.us; siva.mannem@gmail.com;
>> Premkumar Jonnala; step...@networkplumber.org;
>> ro...@cumulusnetworks.com; and...@lunn.ch; f.faine...@gmail.com;
>> vivien.dide...@savoirfairelinux.com
>> Subject: [PATCH net-next v3 3/4] bridge: push bridge setting ageing_ti
On Fri, Oct 9, 2015 at 7:36 AM, Jiri Pirko wrote:
> Wed, Oct 07, 2015 at 07:39:56PM CEST, j...@resnulli.us wrote:
>>Wed, Oct 07, 2015 at 06:53:22PM CEST, sfel...@gmail.com wrote:
>>>On Tue, Oct 6, 2015 at 11:03 PM, Jiri Pirko wrote:
Tue, Oct 06, 2015 at 07:14:39PM CEST, sfel...@gmail.com wro
On Thu, Oct 8, 2015 at 11:46 PM, Jiri Pirko wrote:
> Fri, Oct 09, 2015 at 06:39:41AM CEST, sfel...@gmail.com wrote:
>>On Thu, Oct 8, 2015 at 1:26 AM, Jiri Pirko wrote:
>>> Thu, Oct 08, 2015 at 08:03:35AM CEST, sfel...@gmail.com wrote:
On Wed, Oct 7, 2015 at 10:39 PM, Jiri Pirko wrote:
>
On Thu, Oct 8, 2015 at 6:25 AM, Jiri Pirko wrote:
> Thu, Oct 08, 2015 at 03:21:44PM CEST, gerlitz...@gmail.com wrote:
>>On Thu, Oct 8, 2015 at 4:09 PM, Jiri Pirko wrote:
>>> Thu, Oct 08, 2015 at 10:28:58AM CEST, j...@resnulli.us wrote:
Thu, Oct 08, 2015 at 08:45:58AM CEST, gerlitz...@gmail.co
On Thu, Oct 8, 2015 at 1:26 AM, Jiri Pirko wrote:
> Thu, Oct 08, 2015 at 08:03:35AM CEST, sfel...@gmail.com wrote:
>>On Wed, Oct 7, 2015 at 10:39 PM, Jiri Pirko wrote:
>>> Thu, Oct 08, 2015 at 06:27:07AM CEST, sfel...@gmail.com wrote:
On Wed, Oct 7, 2015 at 11:30 AM, Jiri Pirko wrote:
>
On Thu, Oct 8, 2015 at 7:40 PM, Florian Fainelli wrote:
> 2015-10-08 19:23 GMT-07:00 :
>> From: Scott Feldman
>>
>> Use SWITCHDEV_F_SKIP_EOPNOTSUPP to skip over ports in bridge that don't
>> support setting ageing_time (or setting bridge attrs in general).
&
On Thu, Oct 8, 2015 at 1:39 AM, Jiri Pirko wrote:
> Thu, Oct 08, 2015 at 08:04:40AM CEST, sfel...@gmail.com wrote:
>>From: Scott Feldman
>>
>>Setting the stage to push bridge-level attributes down to port driver so
>>hardware can be programmed accordingly. Bridge
On Wed, Oct 7, 2015 at 4:48 PM, Vivien Didelot
wrote:
> Now that the prepare phase is pushed down to the DSA drivers, propagate
> it to the port_fdb_add function.
>
> Signed-off-by: Vivien Didelot
Reviewed-by: Scott Feldman
--
To unsubscribe from this list: send the line "u
On Wed, Oct 7, 2015 at 4:48 PM, Vivien Didelot
wrote:
> For consistency with the FDB add operation, propagate the
> switchdev_obj_port_fdb structure in the DSA drivers.
>
> Signed-off-by: Vivien Didelot
Reviewed-by: Scott Feldman
--
To unsubscribe from this list: send the line
On Wed, Oct 7, 2015 at 4:48 PM, Vivien Didelot
wrote:
> Push the prepare phase for FDB operations down to the DSA drivers, with
> a new port_fdb_prepare function. Currently only mv88e6xxx is affected.
>
> Signed-off-by: Vivien Didelot
Reviewed-by: Scott Feldman
--
To unsubscribe fr
On Wed, Oct 7, 2015 at 10:39 PM, Jiri Pirko wrote:
> Thu, Oct 08, 2015 at 06:27:07AM CEST, sfel...@gmail.com wrote:
>>On Wed, Oct 7, 2015 at 11:30 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> Caller should know if he can call attr_set directly (when holding RTNL)
>>> or if he has to use de
On Wed, Oct 7, 2015 at 11:30 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Caller should know if he can call attr_set directly (when holding RTNL)
> or if he has to use deferred version of this function.
>
> This also allows drivers to sleep inside attr_set and report operation
> status back to sw
On Tue, Oct 6, 2015 at 11:14 PM, Jiri Pirko wrote:
> Wed, Oct 07, 2015 at 03:50:08AM CEST, sfel...@gmail.com wrote:
>
>
>
>>
>>> Also I wonder how this works when a pkt ingresses a port in mode A and
>>> egresses a port in mode B? What fib/fdb tables does it cross when this
>>> happens? It seems
On Tue, Oct 6, 2015 at 11:03 PM, Jiri Pirko wrote:
> Tue, Oct 06, 2015 at 07:14:39PM CEST, sfel...@gmail.com wrote:
>>On Tue, Oct 6, 2015 at 12:30 AM, Jiri Pirko wrote:
>>> Tue, Oct 06, 2015 at 05:56:12AM CEST, sfel...@gmail.com wrote:
On Mon, Oct 5, 2015 at 10:43 AM, Jiri Pirko wrote:
>
On Tue, Oct 6, 2015 at 2:25 PM, John Fastabend wrote:
> [...]
>
Using void * in these ops is unacceptable, I can't agree to this patch.
There is a much cleaner way to architect this. If you look at the ops
defined, they're mostly duplicates of the already defined
swi
On Tue, Oct 6, 2015 at 12:30 AM, Jiri Pirko wrote:
> Tue, Oct 06, 2015 at 05:56:12AM CEST, sfel...@gmail.com wrote:
>>On Mon, Oct 5, 2015 at 10:43 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> This patchset allows new rocker worlds to be easily added in future (like
>>> eBPF
>>> based one
On Tue, Oct 6, 2015 at 9:19 AM, John Fastabend wrote:
> On 15-10-06 09:06 AM, Scott Feldman wrote:
>> On Tue, Oct 6, 2015 at 12:51 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> This is another step on the way to per-world clean cut. Introduce worl
On Tue, Oct 6, 2015 at 9:15 AM, Jiri Pirko wrote:
> Tue, Oct 06, 2015 at 06:06:45PM CEST, sfel...@gmail.com wrote:
>>On Tue, Oct 6, 2015 at 12:51 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> This is another step on the way to per-world clean cut. Introduce world
>>> ops hooks which each wo
On Tue, Oct 6, 2015 at 12:51 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> This is another step on the way to per-world clean cut. Introduce world
> ops hooks which each world can implement in world-specific way.
> Also introduce world infrastructure including function for port worlds
> change.
>
On Mon, Oct 5, 2015 at 10:43 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> This is another step on the way to per-world clean cut. Introduce world
> ops hooks which each world can implement in world-specific way.
> Also introduce world infrastructure including function for port worlds
> change.
>
On Sun, Oct 4, 2015 at 2:25 PM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Introduce a helper to ask HW for change of the port mode (world).
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
On Mon, Oct 5, 2015 at 10:43 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Carve out TLV processing helpers into separate files.
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the bo
t;rocker_main.c" later on.
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Oct 5, 2015 at 10:43 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Since "rocker.h" file is going to be used for different purpose,
> rename the hardware-specific header to "rocker_hw.h".
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
T
they now
> has nothing to do with rocker port.
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Mon, Oct 5, 2015 at 10:43 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> This patchset allows new rocker worlds to be easily added in future (like eBPF
> based one I have been working on). The main part of the patchset is the OF-DPA
> carve-out. It resuts in OF-DPA specific file. Clean cut.
>
>
On Mon, Oct 5, 2015 at 10:44 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Carve out OF-DPA would specific code from the common file to the world
> file. This change required struct rocker and struct rocker_port split
> into world specific struct ofdpa and struct ofdpa_port. Along with this
> the
On Mon, Oct 5, 2015 at 9:58 AM, John Fastabend wrote:
> On 15-10-05 09:30 AM, Jiri Pirko wrote:
>> Mon, Oct 05, 2015 at 05:41:38PM CEST, john.fastab...@gmail.com wrote:
>>> On 15-10-04 02:25 PM, Jiri Pirko wrote:
From: Jiri Pirko
This patchset allows new rocker worlds to be easily
On Mon, Oct 5, 2015 at 9:50 AM, Jiri Pirko wrote:
> Mon, Oct 05, 2015 at 06:37:20PM CEST, sfel...@gmail.com wrote:
>>On Mon, Oct 5, 2015 at 8:53 AM, Jiri Pirko wrote:
>>> Mon, Oct 05, 2015 at 05:41:29PM CEST, sfel...@gmail.com wrote:
On Sun, Oct 4, 2015 at 2:25 PM, Jiri Pirko wrote:
> Fr
On Mon, Oct 5, 2015 at 8:53 AM, Jiri Pirko wrote:
> Mon, Oct 05, 2015 at 05:41:29PM CEST, sfel...@gmail.com wrote:
>>On Sun, Oct 4, 2015 at 2:25 PM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> Introduce a stub for allowing user to change rocker port world/mode.
>>> This is implemented using r
On Sun, Oct 4, 2015 at 2:25 PM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Introduce a stub for allowing user to change rocker port world/mode.
> This is implemented using rtnl changelink op.
>
> Signed-off-by: Jiri Pirko
[cut]
> diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Suggested-by: Scott Feldman
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.ker
tructure name as suggested by
> Vivien
> ---
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> To be aligned with obj.
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kerne
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Make the struct name in sync with object id name.
>
> Suggested-by: Vivien Didelot
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Make the struct name in sync with object id name.
>
> Suggested-by: Vivien Didelot
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe
On Thu, Oct 1, 2015 at 2:03 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Suggested-by: Vivien Didelot
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.ker
On Wed, Sep 30, 2015 at 11:56 AM, Vivien Didelot
wrote:
> Hi all,
>
> On Sep. Friday 25 (39) 11:03 AM, Vivien Didelot wrote:
>> On Sep. Thursday 24 (39) 10:55 PM, David Miller wrote:
>> > From: Scott Feldman
>> > Date: Thu, 24 Sep 2015 22:29:43 -0700
>&g
On Wed, Sep 30, 2015 at 9:00 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Replace "void *obj" with a generic structure. Introduce couple of
> helpers along that.
>
> Signed-off-by: Jiri Pirko
Looks good to me, except for the macro/enum collision Vivien pointed
out. Vivien's suggestion to use S
On Wed, Sep 30, 2015 at 3:36 AM, Jiri Pirko wrote:
> Tue, Sep 29, 2015 at 06:07:18PM CEST, vivien.dide...@savoirfairelinux.com
> wrote:
>>Now that switchdev and its drivers directly use specific switchdev_obj_*
>>structures, move them out of the switchdev_obj union and get rif of this
>>outer str
On Thu, Sep 24, 2015 at 9:36 PM, Vivien Didelot
wrote:
> Hi Jiri,
>
> On Sep. Thursday 24 (39) 10:02 AM, Jiri Pirko wrote:
>> From: Jiri Pirko
>>
>> Now, the memory allocation in prepare/commit state is done separatelly
>> in each driver (rocker). Introduce the similar mechanism in generic
>> swi
On Thu, Sep 24, 2015 at 6:23 PM, Florian Fainelli wrote:
> On 24/09/15 13:59, sfel...@gmail.com wrote:
>> From: Scott Feldman
>>
>> Push bridge-level attributes down to switchdev drivers. This patchset
>> adds the infrastructure and then pushes, as an example, ageing_
On Thu, Sep 24, 2015 at 2:05 PM, Stephen Hemminger
wrote:
> On Thu, 24 Sep 2015 13:59:26 -0700
> sfel...@gmail.com wrote:
>
>> From: Scott Feldman
>>
>> Push bridge-level attributes down to switchdev drivers. This patchset
>> adds the infrastructure and then p
+++---
> include/net/switchdev.h| 40 +++--
> net/dsa/slave.c| 31 ++--
> net/switchdev/switchdev.c | 125 ++++++---
> 5 files changed, 296 insertions(+), 227 deletions(-)
Tests pass. ACK on all.
Acked-by: Scott
vxlan
> fdb entry getting dumped twice.
>
> This patch changes ndo_fdb_dump() to return the status and pass the
> idx by reference for update. The dump aborts if non-zero status is
> returned.
>
> Signed-off-by: Wilson Kok
> Signed-off-by: Roopa Prabhu
Reviewed-by: Scott
On Wed, Sep 23, 2015 at 12:57 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Now, the memory allocation in prepare/commit state is done separatelly
> in each driver (rocker). Introduce the similar mechanism in generic
> switchdev code, in form of queue. That can be used not only for memory
> alloca
+ b/net/switchdev/switchdev.c
> @@ -1,6 +1,6 @@
> /*
> * net/switchdev/switchdev.c - Switch device API
> - * Copyright (c) 2014 Jiri Pirko
> + * Copyright (c) 2014-2015 Jiri Pirko
> * Copyright (c) 2014-2015 Scott Feldman
> *
> * This program is free so
On Tue, Sep 22, 2015 at 6:53 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Jiri Pirko (10):
> switchdev: rename "trans" to "trans_ph".
> switchdev: introduce transaction item queue for attr_set and obj_add
> switchdev: move transaction phase enum under transaction structure
> switchdev: ad
On Mon, Sep 21, 2015 at 1:09 AM, Jiri Pirko wrote:
> Mon, Sep 21, 2015 at 09:23:24AM CEST, sfel...@gmail.com wrote:
>>On Sat, Sep 19, 2015 at 5:29 AM, Jiri Pirko wrote:
>>> Jiri Pirko (6):
>>> switchdev: rename "trans" to "trans_ph".
>>> switchdev: introduce transaction infrastructure for att
On Sat, Sep 19, 2015 at 5:29 AM, Jiri Pirko wrote:
> Jiri Pirko (6):
> switchdev: rename "trans" to "trans_ph".
> switchdev: introduce transaction infrastructure for attr_set and
> obj_add
> rocker: switch to local transaction phase enum
> switchdev: move transaction phase enum under t
On Sun, Sep 20, 2015 at 7:24 AM, roopa wrote:
> On 9/19/15, 7:21 PM, Scott Feldman wrote:
>>
>> Yes, your switch driver is in user-space so you have to use NTF_USE to
>> refresh the entry since you cannot use the kernel driver model to
>> call_switchdev_
On Sat, Sep 19, 2015 at 6:21 PM, roopa wrote:
> On 9/18/15, 12:55 PM, sfel...@gmail.com wrote:
>>
>> From: Scott Feldman
>>
>> Signed-off-by: Scott Feldman
>> ---
>> Documentation/networking/switchdev.txt | 24
>> 1
On Sat, Sep 19, 2015 at 5:29 AM, Jiri Pirko wrote:
> Jiri Pirko (6):
> switchdev: rename "trans" to "trans_ph".
> switchdev: introduce transaction infrastructure for attr_set and
> obj_add
> rocker: switch to local transaction phase enum
> switchdev: move transaction phase enum under t
On Fri, Sep 18, 2015 at 11:45 PM, Jiri Pirko wrote:
> Fri, Sep 18, 2015 at 09:55:48PM CEST, sfel...@gmail.com wrote:
>>From: Scott Feldman
>>
>>Signed-off-by: Scott Feldman
>>---
>> include/linux/if_bridge.h |4
>> 1 file changed, 4 insert
On Fri, Sep 18, 2015 at 11:30 PM, Jiri Pirko wrote:
> Fri, Sep 18, 2015 at 09:55:47PM CEST, sfel...@gmail.com wrote:
>>From: Scott Feldman
>>
>>Follow-up patcheset will allow user to change ageing_time, but for now
>>just hard-code it to a fixed value (the same valu
On Tue, Sep 8, 2015 at 1:47 PM, Vivien Didelot
wrote:
> Hi!
>
> Current implementations of .switchdev_port_obj_add and
> .switchdev_port_obj_dump
> must pass the generic switchdev_obj structure instead of a specific one (e.g.
> switchdev_obj_fdb) to the related driver accessors, because it contai
On Tue, Sep 8, 2015 at 1:47 PM, Vivien Didelot
wrote:
> Move the switchdev_obj_vlan structure out of the switchdev_obj union.
>
> This lightens the switchdev_obj structure and allows drivers to access
> the object transaction and callback directly from a switchdev_obj_vlan.
> This is more consiste
obj ops.")
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Aug 29, 2015 at 1:46 PM, David Miller wrote:
> From: Peter Nørlund
> Date: Sat, 29 Aug 2015 22:31:15 +0200
>
>> On Sat, 29 Aug 2015 13:14:29 -0700 (PDT)
>> David Miller wrote:
>>
>>> From: p...@ordbogen.com
>>> Date: Fri, 28 Aug 2015 22:00:47 +0200
>>>
>>> > When the routing cache was re
On Thu, Aug 27, 2015 at 2:06 AM, Andrew Lunn wrote:
> On Thu, Aug 27, 2015 at 01:42:24AM -0700, Scott Feldman wrote:
>> On Thu, Aug 27, 2015 at 12:45 AM, Andrew Lunn wrote:
>> >> I don't know about how this overlaps with DSA platform_class. Florian?
>> >
>&
On Thu, Aug 27, 2015 at 12:45 AM, Andrew Lunn wrote:
>> I don't know about how this overlaps with DSA platform_class. Florian?
>
> There is some overlap with DSA, but the current DSA model, with
> respect to probing, is broken. So this might be interesting as a way
> towards fix that.
>
> One thi
On Thu, Aug 27, 2015 at 12:36 AM, John Fastabend
wrote:
> On 15-08-27 12:16 AM, sfel...@gmail.com wrote:
>> From: Scott Feldman
>>
>> In the switchdev model, we use netdevs to represent switchdev ports, but we
>> have no representation for the switch itself. So
On Thu, Aug 27, 2015 at 12:27 AM, Jiri Pirko wrote:
> Thu, Aug 27, 2015 at 09:16:44AM CEST, sfel...@gmail.com wrote:
>>From: Scott Feldman
>>
>>In the switchdev model, we use netdevs to represent switchdev ports, but we
>>have no representation for the switch i
On Wed, Aug 26, 2015 at 11:30 PM, Jiri Pirko wrote:
> Thu, Aug 27, 2015 at 08:23:13AM CEST, sfel...@gmail.com wrote:
>>On Wed, Aug 26, 2015 at 10:43 PM, Jiri Pirko wrote:
>>> Wed, Aug 26, 2015 at 07:43:18PM CEST, sfel...@gmail.com wrote:
On Wed, Aug 26, 2015 at 9:36 AM, Jiri Pirko wrote:
>>>
On Wed, Aug 26, 2015 at 10:43 PM, Jiri Pirko wrote:
> Wed, Aug 26, 2015 at 07:43:18PM CEST, sfel...@gmail.com wrote:
>>On Wed, Aug 26, 2015 at 9:36 AM, Jiri Pirko wrote:
>>> From: Jiri Pirko
>>>
>>> Add this helper so code can easily figure out if netdev is openswitch.
>>>
>>> Signed-off-by: Jir
On Wed, Aug 26, 2015 at 10:49 AM, David Miller wrote:
> From: Jiri Pirko
> Date: Wed, 26 Aug 2015 09:37:57 +0200
>
>> I don't think that are much more cases like this. Therefore I think that
>> for this cases, debugfs might be a good way to expose debugging stats.
>
> Scott wanted to do similar t
On Wed, Aug 26, 2015 at 9:36 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Jiri Pirko (6):
> net: introduce change upper device notifier change info
> net: add netif_is_bridge_master helper
> net: add netif_is_ovs_master helper with IFF_OPENVSWITCH private flag
> net: kill long time unused
On Wed, Aug 26, 2015 at 9:36 AM, Jiri Pirko wrote:
> From: Jiri Pirko
>
> Looking at rtnl kind string is kind of ugly. So use new helpers to do
> this in nicer way.
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "
current code does not distinguish between master and non-master
> upper device).
>
> Signed-off-by: Jiri Pirko
Acked-by: Scott Feldman
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo i
1 - 100 of 238 matches
Mail list logo