Re: [PATCH net] switchdev: bridge: Check return code is not EOPNOTSUPP

2015-11-16 Thread David Miller
From: Ido Schimmel Date: Fri, 13 Nov 2015 13:06:12 +0200 > When NET_SWITCHDEV=n, switchdev_port_attr_set simply returns EOPNOTSUPP. > In this case we should not emit errors and warnings to the kernel log. > > Reported-by: Sander Eikelenboom > Fixes:

[PATCH net] switchdev: bridge: Check return code is not EOPNOTSUPP

2015-11-13 Thread Ido Schimmel
When NET_SWITCHDEV=n, switchdev_port_attr_set simply returns EOPNOTSUPP. In this case we should not emit errors and warnings to the kernel log. Reported-by: Sander Eikelenboom Fixes: 0bc05d585d38 ("switchdev: allow caller to explicitly request attr_set as deferred") Fixes:

Re: [PATCH net] switchdev: bridge: Check return code is not EOPNOTSUPP

2015-11-13 Thread Sander Eikelenboom
On 2015-11-13 12:06, Ido Schimmel wrote: When NET_SWITCHDEV=n, switchdev_port_attr_set simply returns EOPNOTSUPP. In this case we should not emit errors and warnings to the kernel log. Hi Ido, Thanks for your patch! It fixes these: [ 207.245442] vif vif-1-0 vif1.0: failed to set HW ageing

Re: [PATCH net] switchdev: bridge: Check return code is not EOPNOTSUPP

2015-11-13 Thread Ido Schimmel
Fri, Nov 13, 2015 at 02:34:45PM IST, li...@eikelenboom.it wrote: >On 2015-11-13 12:06, Ido Schimmel wrote: >> When NET_SWITCHDEV=n, switchdev_port_attr_set simply returns >> EOPNOTSUPP. >> In this case we should not emit errors and warnings to the kernel log. > >Hi Ido, > >Thanks for your patch!

Re: [PATCH net] switchdev: bridge: Check return code is not EOPNOTSUPP

2015-11-13 Thread Sander Eikelenboom
On 2015-11-13 13:43, Ido Schimmel wrote: Fri, Nov 13, 2015 at 02:34:45PM IST, li...@eikelenboom.it wrote: On 2015-11-13 12:06, Ido Schimmel wrote: When NET_SWITCHDEV=n, switchdev_port_attr_set simply returns EOPNOTSUPP. In this case we should not emit errors and warnings to the kernel log.