Re: 82576 + NETMAP + VLAN

2016-03-19 Thread Slawa Olhovchenkov
On Tue, Feb 16, 2016 at 12:44:46AM +0300, Slawa Olhovchenkov wrote: > On Mon, Feb 15, 2016 at 05:02:36PM +0100, Giuseppe Lettieri wrote: > > > Il 15/02/2016 16:13, Slawa Olhovchenkov ha scritto: > > > On Mon, Feb 15, 2016 at 04:10:30PM +0100, Giuseppe Lettieri wrote: > > > > > >> Hi Slawa, > >

Re: 82576 + NETMAP + VLAN

2016-02-16 Thread Adrian Chadd
hi, please bug me in a couple weeks. still moving house, etc. -a On 16 February 2016 at 02:30, Slawa Olhovchenkov wrote: > On Tue, Feb 16, 2016 at 11:23:20AM +0100, Giuseppe Lettieri wrote: > >> I am sorry, I did not participate to the implementation of kqueue >> support and

Re: 82576 + NETMAP + VLAN

2016-02-16 Thread Slawa Olhovchenkov
On Tue, Feb 16, 2016 at 11:23:20AM +0100, Giuseppe Lettieri wrote: > I am sorry, I did not participate to the implementation of kqueue > support and I am not able to comment. Luigi and Adrian should know, however. Thanks! > Cheers, > Giuseppe > > Il 15/02/2016 22:44, Slawa Olhovchenkov ha

Re: 82576 + NETMAP + VLAN

2016-02-16 Thread Giuseppe Lettieri
I am sorry, I did not participate to the implementation of kqueue support and I am not able to comment. Luigi and Adrian should know, however. Cheers, Giuseppe Il 15/02/2016 22:44, Slawa Olhovchenkov ha scritto: On Mon, Feb 15, 2016 at 05:02:36PM +0100, Giuseppe Lettieri wrote: Il

Re: 82576 + NETMAP + VLAN

2016-02-15 Thread Slawa Olhovchenkov
On Mon, Feb 15, 2016 at 05:02:36PM +0100, Giuseppe Lettieri wrote: > Il 15/02/2016 16:13, Slawa Olhovchenkov ha scritto: > > On Mon, Feb 15, 2016 at 04:10:30PM +0100, Giuseppe Lettieri wrote: > > > >> Hi Slawa, > >> > >> I think WITNESS is seeing a false positive, since those two are always > >>

Re: 82576 + NETMAP + VLAN

2016-02-15 Thread Slawa Olhovchenkov
On Mon, Feb 15, 2016 at 05:02:36PM +0100, Giuseppe Lettieri wrote: > Il 15/02/2016 16:13, Slawa Olhovchenkov ha scritto: > > On Mon, Feb 15, 2016 at 04:10:30PM +0100, Giuseppe Lettieri wrote: > > > >> Hi Slawa, > >> > >> I think WITNESS is seeing a false positive, since those two are always > >>

Re: 82576 + NETMAP + VLAN

2016-02-15 Thread Giuseppe Lettieri
Il 15/02/2016 16:13, Slawa Olhovchenkov ha scritto: On Mon, Feb 15, 2016 at 04:10:30PM +0100, Giuseppe Lettieri wrote: Hi Slawa, I think WITNESS is seeing a false positive, since those two are always different mutexes. The actual deadlock you experience should be caused by something else. I

Re: 82576 + NETMAP + VLAN

2016-02-15 Thread Slawa Olhovchenkov
On Mon, Feb 15, 2016 at 04:10:30PM +0100, Giuseppe Lettieri wrote: > Hi Slawa, > > I think WITNESS is seeing a false positive, since those two are always > different mutexes. > > The actual deadlock you experience should be caused by something else. I Are you sure? When deadlock occur I am

Re: 82576 + NETMAP + VLAN

2016-02-15 Thread Giuseppe Lettieri
Hi Slawa, I think WITNESS is seeing a false positive, since those two are always different mutexes. The actual deadlock you experience should be caused by something else. I have not been able to reproduce it locally (I have not tried that hard, to be honest). I am pretty sure that there is

Re: 82576 + NETMAP + VLAN

2016-02-11 Thread Giuseppe Lettieri
Il 10/02/2016 14:53, Slawa Olhovchenkov ha scritto: On Wed, Feb 10, 2016 at 02:33:20PM +0100, Giuseppe Lettieri wrote: Il 10/02/2016 12:59, Slawa Olhovchenkov ha scritto: Can you look also on second issue? PS: What need from me? May be open PR? May you provide some example code that

Re: 82576 + NETMAP + VLAN

2016-02-11 Thread Slawa Olhovchenkov
On Thu, Feb 11, 2016 at 10:11:59AM +0100, Giuseppe Lettieri wrote: > Il 10/02/2016 14:53, Slawa Olhovchenkov ha scritto: > > On Wed, Feb 10, 2016 at 02:33:20PM +0100, Giuseppe Lettieri wrote: > > > >> Il 10/02/2016 12:59, Slawa Olhovchenkov ha scritto: > >>> Can you look also on second issue? >

Re: 82576 + NETMAP + VLAN

2016-02-10 Thread Giuseppe Lettieri
Il 10/02/2016 12:59, Slawa Olhovchenkov ha scritto: Can you look also on second issue? PS: What need from me? May be open PR? May you provide some example code that triggers the issue? Cheers, Giuseppe -- Dr. Ing. Giuseppe Lettieri Dipartimento di Ingegneria della Informazione Universita'

Re: 82576 + NETMAP + VLAN

2016-02-10 Thread Slawa Olhovchenkov
On Wed, Feb 10, 2016 at 02:33:20PM +0100, Giuseppe Lettieri wrote: > Il 10/02/2016 12:59, Slawa Olhovchenkov ha scritto: > > Can you look also on second issue? > > > > PS: What need from me? May be open PR? > > May you provide some example code that triggers the issue? This is about 700 lines

Re: 82576 + NETMAP + VLAN

2016-02-10 Thread Slawa Olhovchenkov
On Tue, Feb 09, 2016 at 02:03:20PM +0100, Giuseppe Lettieri wrote: > Hi all, > > I have only looked into the fist LOR, which has actually been there for > a long time. > > It should be triggered by the following paths: > 1) application does an ioctl(, NIOCREGIF) (or GETINFO) >

Re: 82576 + NETMAP + VLAN

2016-02-09 Thread Giuseppe Lettieri
Hi all, I have only looked into the fist LOR, which has actually been there for a long time. It should be triggered by the following paths: 1) application does an ioctl(, NIOCREGIF) (or GETINFO) ->netmap_mem_finalize() [locks the netmap allocator] ->contigmalloc()

Re: 82576 + NETMAP + VLAN

2016-02-09 Thread Luigi Rizzo
I am Cc-ing Giuseppe Lettieri who has looked at the problem and may have some comments to share cheers luigi On Mon, Feb 8, 2016 at 9:39 AM, Slawa Olhovchenkov wrote: > On Thu, Feb 04, 2016 at 10:47:34AM -0800, Adrian Chadd wrote: > >> .. but if it does, can you enable witness

Re: 82576 + NETMAP + VLAN

2016-02-08 Thread Slawa Olhovchenkov
On Thu, Feb 04, 2016 at 10:47:34AM -0800, Adrian Chadd wrote: > .. but if it does, can you enable witness and see what it reports as > lock order violations? last STABLE: 1. first LOR (with poll, don't cause direct problems now): lock order reversal: 1st 0xf800946e6700 vm object (vm

Re: 82576 + NETMAP + VLAN

2016-02-04 Thread Slawa Olhovchenkov
On Tue, Feb 02, 2016 at 11:44:47PM +0300, Slawa Olhovchenkov wrote: > On Thu, Oct 22, 2015 at 11:24:53AM -0700, Luigi Rizzo wrote: > > > On Thu, Oct 22, 2015 at 11:12 AM, Adrian Chadd > > wrote: > > > On 22 October 2015 at 09:35, Slawa Olhovchenkov

Re: 82576 + NETMAP + VLAN

2016-02-04 Thread Adrian Chadd
I've no time to help with this, I'm sorry :( -a On 4 February 2016 at 05:00, Slawa Olhovchenkov wrote: > On Tue, Feb 02, 2016 at 11:44:47PM +0300, Slawa Olhovchenkov wrote: > >> On Thu, Oct 22, 2015 at 11:24:53AM -0700, Luigi Rizzo wrote: >> >> > On Thu, Oct 22, 2015 at 11:12

Re: 82576 + NETMAP + VLAN

2016-02-04 Thread Adrian Chadd
.. but if it does, can you enable witness and see what it reports as lock order violations? -a On 4 February 2016 at 10:47, Adrian Chadd wrote: > I've no time to help with this, I'm sorry :( > > > -a > > > On 4 February 2016 at 05:00, Slawa Olhovchenkov

Re: 82576 + NETMAP + VLAN

2016-02-02 Thread Slawa Olhovchenkov
On Thu, Oct 22, 2015 at 11:24:53AM -0700, Luigi Rizzo wrote: > On Thu, Oct 22, 2015 at 11:12 AM, Adrian Chadd wrote: > > On 22 October 2015 at 09:35, Slawa Olhovchenkov wrote: > >> On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote: > >> > >>>

Re: 82576 + NETMAP + VLAN

2015-10-22 Thread Luigi Rizzo
On Thu, Oct 22, 2015 at 11:12 AM, Adrian Chadd wrote: > On 22 October 2015 at 09:35, Slawa Olhovchenkov wrote: >> On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote: >> >>> Heh, file a bug with luigi; it should be defined better inside netmap

Re: 82576 + NETMAP + VLAN

2015-10-22 Thread Slawa Olhovchenkov
On Thu, Oct 22, 2015 at 11:24:53AM -0700, Luigi Rizzo wrote: > On Thu, Oct 22, 2015 at 11:12 AM, Adrian Chadd wrote: > > On 22 October 2015 at 09:35, Slawa Olhovchenkov wrote: > >> On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote: > >> > >>>

Re: 82576 + NETMAP + VLAN

2015-10-22 Thread Adrian Chadd
On 22 October 2015 at 09:35, Slawa Olhovchenkov wrote: > On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote: > >> Heh, file a bug with luigi; it should be defined better inside netmap itself. > > I am CC: luigi. > > Next question: do kevent RX/TX sync? > In my setup I

Re: 82576 + NETMAP + VLAN

2015-10-22 Thread Adrian Chadd
On 22 October 2015 at 11:24, Luigi Rizzo wrote: > On Thu, Oct 22, 2015 at 11:12 AM, Adrian Chadd wrote: >> On 22 October 2015 at 09:35, Slawa Olhovchenkov wrote: >>> On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote: >>>

Re: 82576 + NETMAP + VLAN

2015-10-22 Thread Slawa Olhovchenkov
On Sun, Oct 18, 2015 at 07:45:52PM -0700, Adrian Chadd wrote: > Heh, file a bug with luigi; it should be defined better inside netmap itself. I am CC: luigi. Next question: do kevent RX/TX sync? In my setup I am need to manual NIOCTXSYNC/NIOCRXSYNC. > > On 18 October 2015 at 14:00, Slawa

Re: 82576 + NETMAP + VLAN

2015-10-18 Thread Adrian Chadd
Heh, file a bug with luigi; it should be defined better inside netmap itself. -a On 18 October 2015 at 14:00, Slawa Olhovchenkov wrote: > On Sun, Oct 18, 2015 at 01:29:23PM -0700, Adrian Chadd wrote: > >> On 18 October 2015 at 11:56, Slawa Olhovchenkov

Re: 82576 + NETMAP + VLAN

2015-10-18 Thread Adrian Chadd
On 18 October 2015 at 11:56, Slawa Olhovchenkov wrote: > I have 82576 in NETMAP mode. > 802.1q packets received in decapsulated form. > This is bug or this is normal behavior? I don't know if it's a bug or not; I don't know if it was ever defined behaviour. You should just

Re: 82576 + NETMAP + VLAN

2015-10-18 Thread Slawa Olhovchenkov
On Sun, Oct 18, 2015 at 01:29:23PM -0700, Adrian Chadd wrote: > On 18 October 2015 at 11:56, Slawa Olhovchenkov wrote: > > I have 82576 in NETMAP mode. > > 802.1q packets received in decapsulated form. > > This is bug or this is normal behavior? > > I don't know if it's a bug

82576 + NETMAP + VLAN

2015-10-18 Thread Slawa Olhovchenkov
I have 82576 in NETMAP mode. 802.1q packets received in decapsulated form. This is bug or this is normal behavior? ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to