From: Felix Manlunas <felix.manlunas@cavium.com>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, raghu.vatsavayi@cavium.com,
derek.chickles@cavium.com, satananda.burla@cavium.com,
felix.manlunas@cavium.com, weilin.chang@cavium.com
Subject: [PATCH net-next 0/4] liquidio: improve soft command/response handling
Date: Tue, 28 Aug 2018 18:50:58 -0700 [thread overview]
Message-ID: <20180829015058.GA7898@felix-thinkpad.cavium.com> (raw)
From: Weilin Chang <weilin.chang@cavium.com>
Change soft command handling to fix the possible race condition when the
process handles a response of a soft command that was already freed by an
application which got timeout for this request.
Weilin Chang (4):
liquidio: improve soft command handling
liquidio: make soft command calls synchronous
liquidio: change octnic_ctrl_pkt to do synchronous soft commands
liquidio: remove obsolete functions and data structures
drivers/net/ethernet/cavium/liquidio/lio_core.c | 232 ++++------------
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c | 256 ++++++-----------
drivers/net/ethernet/cavium/liquidio/lio_main.c | 307 +++++++++------------
drivers/net/ethernet/cavium/liquidio/lio_vf_main.c | 194 ++++++-------
drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c | 47 ++--
.../net/ethernet/cavium/liquidio/octeon_config.h | 3 +-
drivers/net/ethernet/cavium/liquidio/octeon_iq.h | 12 +-
drivers/net/ethernet/cavium/liquidio/octeon_main.h | 94 ++++---
.../net/ethernet/cavium/liquidio/octeon_network.h | 16 --
drivers/net/ethernet/cavium/liquidio/octeon_nic.c | 59 ++--
drivers/net/ethernet/cavium/liquidio/octeon_nic.h | 9 +-
.../net/ethernet/cavium/liquidio/request_manager.c | 114 ++++++--
.../ethernet/cavium/liquidio/response_manager.c | 82 +++++-
.../ethernet/cavium/liquidio/response_manager.h | 4 +-
14 files changed, 627 insertions(+), 802 deletions(-)
--
2.9.0
next reply other threads:[~2018-08-29 5:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-29 1:50 Felix Manlunas [this message]
2018-08-29 1:51 ` [PATCH net-next 1/4] liquidio: improve soft command handling Felix Manlunas
2018-08-29 1:51 ` [PATCH net-next 2/4] liquidio: make soft command calls synchronous Felix Manlunas
2018-08-29 1:51 ` [PATCH net-next 3/4] liquidio: change octnic_ctrl_pkt to do synchronous soft commands Felix Manlunas
2018-08-29 1:51 ` [PATCH net-next 4/4] liquidio: remove obsolete functions and data structures Felix Manlunas
2018-08-30 3:07 ` [PATCH net-next 0/4] liquidio: improve soft command/response handling 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=20180829015058.GA7898@felix-thinkpad.cavium.com \
--to=felix.manlunas@cavium.com \
--cc=davem@davemloft.net \
--cc=derek.chickles@cavium.com \
--cc=netdev@vger.kernel.org \
--cc=raghu.vatsavayi@cavium.com \
--cc=satananda.burla@cavium.com \
--cc=weilin.chang@cavium.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).