All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sjur Brændeland" <sjur.brandeland@stericsson.com>
To: netdev@vger.kernel.org, davem@davemloft.net
Cc: sjurbren@gmail.com, "Sjur Brændeland" <sjur.brandeland@stericsson.com>
Subject: [PATCH net-next 0/4] New CAIF features
Date: Thu, 12 Apr 2012 20:27:23 +0200	[thread overview]
Message-ID: <1334255247-3372-1-git-send-email-sjur.brandeland@stericsson.com> (raw)

Add feature to aggregate CAIF HSI frames into one large HSI-transfer.
The triggers for starting a HSI transfer are:
Max transfer size reached, timeout or reception of low-latency traffic. 
As long as none of these triggers are met, CAIF-frames will be aggregated.
 
In order to be able to support aggregation and detect low-latency traffic,
CAIF packets are assigned a TC class.
 
In addition we are now allowing other kernel modules to use the HSI interface
while the CAIF interface is closed. The CAIF-HSI interface is changed so that
reference to the HSI interface is held only when CAIF-HSI is in state UP.
Initialization/de-initialization of the HSI HW is performed when the interface
is opened/closed instead of at module load time.

NOTE: This patch-set depends on the patch "caif-hsi: Free flip_buffer at shutdown",
sent in the Bug-fix patch-set.

Regards,
Sjur

--
Dmitry Tarnyagin (2):
  caif: set traffic class for caif packets
  caif-hsi: robust frame aggregation for HSI

Sjur Brændeland (2):
  caif-hsi: Remove stop/start of queue.
  caif-hsi: Postpone init of HSI until open()

 drivers/net/caif/caif_hsi.c |  350 ++++++++++++++++++++++++++++--------------
 include/net/caif/caif_hsi.h |   19 ++-
 include/net/caif/cfpkt.h    |    9 +-
 net/caif/caif_socket.c      |   16 ++-
 net/caif/cfctrl.c           |    4 +
 net/caif/cfpkt_skbuff.c     |    7 +
 net/caif/cfsrvl.c           |    3 +
 7 files changed, 286 insertions(+), 122 deletions(-)

-- 
1.7.5.4

             reply	other threads:[~2012-04-12 18:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 18:27 Sjur Brændeland [this message]
2012-04-12 18:27 ` [PATCH net-next 1/4] caif: set traffic class for caif packets Sjur Brændeland
2012-04-12 18:27 ` [PATCH net-next 2/4] caif-hsi: robust frame aggregation for HSI Sjur Brændeland
2012-04-12 18:27 ` [PATCH net-next 3/4] caif-hsi: Remove stop/start of queue Sjur Brændeland
2012-04-12 18:27 ` [PATCH net-next 4/4] caif-hsi: Postpone init of HSI until open() Sjur Brændeland
2012-04-13 15:37 ` [PATCH net-next 0/4] New CAIF features David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1334255247-3372-1-git-send-email-sjur.brandeland@stericsson.com \
    --to=sjur.brandeland@stericsson.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=sjurbren@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.