Sun Nov 24 15:27:56 2024
EVENTS
 FREE
SOFTWARE
INSTITUTE

POLITICS
JOBS
MEMBERS'
CORNER

MAILING
LIST

NYLXS Mailing Lists and Archives
NYLXS Members have a lot to say and share but we don't keep many secrets. Join the Hangout Mailing List and say your peice.

DATE 2017-06-01

LEARN

2024-11-24 | 2024-10-24 | 2024-09-24 | 2024-08-24 | 2024-07-24 | 2024-06-24 | 2024-05-24 | 2024-04-24 | 2024-03-24 | 2024-02-24 | 2024-01-24 | 2023-12-24 | 2023-11-24 | 2023-10-24 | 2023-09-24 | 2023-08-24 | 2023-07-24 | 2023-06-24 | 2023-05-24 | 2023-04-24 | 2023-03-24 | 2023-02-24 | 2023-01-24 | 2022-12-24 | 2022-11-24 | 2022-10-24 | 2022-09-24 | 2022-08-24 | 2022-07-24 | 2022-06-24 | 2022-05-24 | 2022-04-24 | 2022-03-24 | 2022-02-24 | 2022-01-24 | 2021-12-24 | 2021-11-24 | 2021-10-24 | 2021-09-24 | 2021-08-24 | 2021-07-24 | 2021-06-24 | 2021-05-24 | 2021-04-24 | 2021-03-24 | 2021-02-24 | 2021-01-24 | 2020-12-24 | 2020-11-24 | 2020-10-24 | 2020-09-24 | 2020-08-24 | 2020-07-24 | 2020-06-24 | 2020-05-24 | 2020-04-24 | 2020-03-24 | 2020-02-24 | 2020-01-24 | 2019-12-24 | 2019-11-24 | 2019-10-24 | 2019-09-24 | 2019-08-24 | 2019-07-24 | 2019-06-24 | 2019-05-24 | 2019-04-24 | 2019-03-24 | 2019-02-24 | 2019-01-24 | 2018-12-24 | 2018-11-24 | 2018-10-24 | 2018-09-24 | 2018-08-24 | 2018-07-24 | 2018-06-24 | 2018-05-24 | 2018-04-24 | 2018-03-24 | 2018-02-24 | 2018-01-24 | 2017-12-24 | 2017-11-24 | 2017-10-24 | 2017-09-24 | 2017-08-24 | 2017-07-24 | 2017-06-24 | 2017-05-24 | 2017-04-24 | 2017-03-24 | 2017-02-24 | 2017-01-24 | 2016-12-24 | 2016-11-24 | 2016-10-24 | 2016-09-24 | 2016-08-24 | 2016-07-24 | 2016-06-24 | 2016-05-24 | 2016-04-24 | 2016-03-24 | 2016-02-24 | 2016-01-24 | 2015-12-24 | 2015-11-24 | 2015-10-24 | 2015-09-24 | 2015-08-24 | 2015-07-24 | 2015-06-24 | 2015-05-24 | 2015-04-24 | 2015-03-24 | 2015-02-24 | 2015-01-24 | 2014-12-24 | 2014-11-24 | 2014-10-24

Key: Value:

Key: Value:

MESSAGE
DATE 2017-06-07
FROM Ruben Safir
SUBJECT Subject: [Learn] Fwd: tx path circular buffer
From learn-bounces-at-nylxs.com Wed Jun 7 02:06:53 2017
Return-Path:
X-Original-To: archive-at-mrbrklyn.com
Delivered-To: archive-at-mrbrklyn.com
Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82])
by mrbrklyn.com (Postfix) with ESMTP id B8015163F55;
Wed, 7 Jun 2017 02:06:52 -0400 (EDT)
X-Original-To: learn-at-nylxs.com
Delivered-To: learn-at-nylxs.com
Received: from [10.0.0.62] (flatbush.mrbrklyn.com [10.0.0.62])
by mrbrklyn.com (Postfix) with ESMTP id EC938160876;
Wed, 7 Jun 2017 02:06:45 -0400 (EDT)
References: <20170607060333.GC2747-at-eros>
To: "learn-at-nylxs.com" , Hangout
From: Ruben Safir
X-Forwarded-Message-Id: <20170607060333.GC2747-at-eros>
Message-ID: <5657a9be-0c48-b4dd-6c16-02849522575a-at-mrbrklyn.com>
Date: Wed, 7 Jun 2017 02:06:45 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <20170607060333.GC2747-at-eros>
Content-Language: en-US
Subject: [Learn] Fwd: tx path circular buffer
X-BeenThere: learn-at-nylxs.com
X-Mailman-Version: 2.1.17
Precedence: list
List-Id:
List-Unsubscribe: ,

List-Archive:
List-Post:
List-Help:
List-Subscribe: ,

Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: learn-bounces-at-nylxs.com
Sender: "Learn"



Hi,

I am attempting to implement a circular buffer for the tx path of a
networking driver. From my understanding this is something that is
very common, yet I am struggling to find a clear way to do it.

I have tried to read the source for ath6kl, brcmfmac without
success.

I have read Documentation/circular-buffers.txt and this seems like the
solution however grep'ing drivers/net hints that this is not that
common a way to solve this problem. Also I'm getting in knots with
atomic_t types when copying the text document.

Before I bore you with all my non-working code, does any one please
know, off the top of their heads, a driver with simple-ish / nice clean
implementation that I can learn from?

thanks,
Tobin.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies-at-kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

_______________________________________________
Learn mailing list
Learn-at-nylxs.com
http://lists.mrbrklyn.com/mailman/listinfo/learn

  1. 2017-06-05 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Project for PhP business app
  2. 2017-06-07 Greg KH <greg-at-kroah.com> Re: [Learn] tx path circular buffer
  3. 2017-06-07 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: tx path circular buffer
  4. 2017-06-08 From: "Mancini, Sabin (DFS)" <Sabin.Mancini-at-dfs.ny.gov> Re: [Learn] [Hangout of NYLXS] : Debian derivative that omits
  5. 2017-06-08 mrbrklyn <mrbrklyn-at-panix.com> Subject: [Learn] CT Scans and 3d printing
  6. 2017-06-08 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] resume google trick
  7. 2017-06-09 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] [Hangout of NYLXS] : Debian derivative that omits
  8. 2017-06-09 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] [Hangout of NYLXS] : Debian derivative that omits
  9. 2017-06-11 From: "Ruben.Safir" <ruben.safir-at-my.liu.edu> Subject: [Learn] Language Workshops
  10. 2017-06-11 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Suplementry IT training
  11. 2017-06-12 From: "soledad.esteban" <soledad.esteban-at-icp.cat> Subject: [Learn] [dinosaur] International course on Scientific Illustration,
  12. 2017-06-13 From: "Chaim Desser" <career-at-poelgroup.com> Subject: [Learn] position to review
  13. 2017-06-22 Ruben Safir <mrbrklyn-at-panix.com> Subject: [Learn] (fwd) Re: FOURTH STRAIGHT WIN FOR THE TRUMP LEAD REPUBLICANS
  14. 2017-06-22 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: [dinosaur] CT virtual reexamination of plesiosaur from
  15. 2017-06-25 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] TED on the threat of AI in the Military
  16. 2017-06-28 Ruben Safir <mrbrklyn-at-panix.com> Subject: [Learn] family in need

NYLXS are Do'ers and the first step of Doing is Joining! Join NYLXS and make a difference in your community today!