[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130516115207.GC18282@orbit.nwl.cc>
Date: Thu, 16 May 2013 13:52:07 +0200
From: Phil Sutter <phil@....cc>
To: Ricardo Tubío <rtpardavila@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: Single socket with TX_RING and RX_RING
On Thu, May 16, 2013 at 11:01:17AM +0000, Ricardo Tubío wrote:
> Phil Sutter <phil <at> nwl.cc> writes:
>
> > So you do not call init_ring() twice as one may imply when reading your
> > first mail? Please provide a complete code sample.
> >
>
> Yes, I call it twice. The problem is that if I call it twice with the same
> socket_fd, the second time I call it I get the EBUSY error from kernel. I
> have to use two different sockets (two different socket_fd's, therefore) in
> order to workaround this issue.
Which call does produce the EBUSY response, the second setsockopt() or
second mmap() one?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists