From: Sabrina Dubroca <sd@queasysnail.net>
To: Atul Gupta <atul.gupta@chelsio.com>
Cc: herbert@gondor.apana.org.au, linux-crypto@vger.kernel.org,
ganeshgr@chelsio.com, netdev@vger.kernel.org,
davem@davemloft.net, davejwatson@fb.com
Subject: Re: [RFC crypto v3 0/9] Chelsio Inline TLS
Date: Sun, 21 Jan 2018 23:16:02 +0100 [thread overview]
Message-ID: <20180121221602.GA527@bistromath.localdomain> (raw)
In-Reply-To: <1513769582-25786-1-git-send-email-atul.gupta@chelsio.com>
2017-12-20, 17:03:02 +0530, Atul Gupta wrote:
> RFC series for Chelsio Inline TLS driver (chtls.ko)
>
> Driver use the ULP infrastructure to register chtls as Inline TLS ULP.
I don't think drivers should be registering their own ULP. TLS
offloading should be transparent to userspace, whatever HW ends up
being used. If each driver implements its own ULP, the application has
to be aware of what HW and what driver it's running on.
I think this offload should rely on a generic infrastructure, not
build its own private interface. Look at the current kTLS code, the
proposal for an offload infrastructure [0] from Mellanox, and see how
you can fit your driver into that, and extend what's missing.
[0] https://patchwork.ozlabs.org/patch/849984/
[...]
> Atul Gupta (9):
> chtls: structure and macro definiton
> cxgb4: Inline TLS FW Interface
> cxgb4: LLD driver changes to enable TLS
> chcr: Key Macro
> chtls: Key program
> chtls: CPL handler definition
> chtls: Inline crypto request Tx/Rx
> chtls: Register the ULP
> Makefile Kconfig
That patchset is split so that each patch touches a separate set of
files, and the description of the contents of each patch is very
limited. Can you try to group your changes by feature instead? That
should help you come up with descriptive commit messages as well.
Thanks,
--
Sabrina
next prev parent reply other threads:[~2018-01-21 22:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-20 11:33 [RFC crypto v3 0/9] Chelsio Inline TLS Atul Gupta
2018-01-03 7:06 ` Atul Gupta
2018-01-11 5:31 ` Atul Gupta
2018-01-21 22:16 ` Sabrina Dubroca [this message]
2018-01-23 8:12 ` Atul Gupta
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=20180121221602.GA527@bistromath.localdomain \
--to=sd@queasysnail.net \
--cc=atul.gupta@chelsio.com \
--cc=davejwatson@fb.com \
--cc=davem@davemloft.net \
--cc=ganeshgr@chelsio.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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).