Re: [Patch net-next 2/2] netns: avoid disabling irq for netns id

2016-10-19 Thread Elad Raz
On Fri, Sep 2, 2016 at 11:12 AM, Nicolas Dichtel wrote: > Le 02/09/2016 à 06:53, Cong Wang a écrit : >> We never read or change netns id in hardirq context, >> the only place we read netns id in softirq context >> is in vxlan_xmit(). So, it should be enough to just >>

Re: switch / linux STP interoperation issues.

2016-06-24 Thread Elad Raz
On Fri, Jun 24, 2016 at 10:14 PM, Michal Soltys wrote: > Hi, > > In the last week I've been trying to get STP on the linux side (both its > builtin STP implementation as well as mstpd userspace daemon). Initially I > started with more complex setups (vlan aware bridge, bonds,

Re: [PATCH net-next v6] rtnetlink: add new RTM_GETSTATS message to dump link stats

2016-04-20 Thread Elad Raz
> On 20 Apr 2016, at 6:43 PM, Roopa Prabhu wrote: > > From: Roopa Prabhu > > This patch adds a new RTM_GETSTATS message to query link stats via netlink > from the kernel. RTM_NEWLINK also dumps stats today, but RTM_NEWLINK > returns a lot

RE: [PATCH net-next 1/2] rtnetlink: add new RTM_GETSTATS message to dump link stats

2016-03-14 Thread Elad Raz
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Roopa Prabhu > Sent: Sunday, March 13, 2016 3:56 AM > To: netdev@vger.kernel.org > Cc: j...@mojatatu.com; da...@davemloft.net > Subject: [PATCH net-next 1/2] rtnetlink: add new

[PATCH net-next] Adding switchdev ageing notification on port bridged

2015-10-19 Thread Elad Raz
Configure ageing time to the HW for newly bridged device CC: Scott Feldman <sfel...@gmail.com> CC: Jiri Pirko <j...@resnulli.us> Signed-off-by: Elad Raz <el...@mellanox.com> --- net/bridge/br_stp_if.c | 12 1 file changed, 12 insertions(+) diff --git a/net/bridge

Re: [PATCH net-next] switchdev: enforce no pvid flag in vlan ranges

2015-10-12 Thread Elad Raz
low range of pvids */ > + if (vlan.flags & BRIDGE_VLAN_INFO_PVID) > + return -EINVAL; > } else if (vinfo->flags & BRIDGE_VLAN_INFO_RANGE_END) { > if (!vlan.vid_begin) > r

Re: switchdev and VLAN ranges

2015-10-10 Thread Elad Raz
> On Oct 10, 2015, at 2:30 AM, Vivien Didelot > wrote: > > I have two concerns in mind: > > a) if we imagine that drivers like Rocker allocate memory in the prepare > phase for each VID, preparing a range like 100-4000 would definitely not > be

[PATCH v2 net-next] netfilter: ipset: Fixing unnamed union init

2015-08-21 Thread Elad Raz
In continue to proposed Vinson Lee's post [1], this patch fixes compilation issues founded at gcc 4.4.7. The initialization of .cidr field of unnamed unions causes compilation error in gcc 4.4.x. References Visible links [1] https://lkml.org/lkml/2015/7/5/74 Signed-off-by: Elad Raz el

[PATCH net-next] netfilter: ipset: Fixing unnamed union init

2015-08-21 Thread Elad Raz
In continue to proposed Vinson Lee's post [1], this patch fixes compilation issues founded at gcc 4.4.7. The initialization of .cidr field of unnamed unions causes compilation error in gcc 4.4.x. References Visible links [1] https://lkml.org/lkml/2015/7/5/74 Signed-off-by: Elad Raz el

Re: [patch net-next 3/4] mlxsw: Add interface to access registers and process events

2015-07-24 Thread Elad Raz
Sent from my iPhone On Jul 24, 2015, at 08:14, Scott Feldman sfel...@gmail.com wrote: On Thu, Jul 23, 2015 at 8:43 AM, Jiri Pirko j...@resnulli.us wrote: From: Ido Schimmel ido...@mellanox.com Add the ability to construct mailbox-style register access messages called EMADs with