Thread (60 messages) 60 messages, 8 authors, 2021-08-10

Re: [PATCH v5 net-next 23/36] net: Add to ulp_ddp support for fallback flow

From: Christoph Hellwig <hch@lst.de>
Date: 2021-07-23 06:09:39
Also in: netdev

On Thu, Jul 22, 2021 at 02:03:12PM +0300, Boris Pismenny wrote:
 	/* NIC driver informs the ulp that ddp teardown is done - used for async completions*/
 	void (*ddp_teardown_done)(void *ddp_ctx);
+	/* NIC request ulp to calculate the ddgst and store it in pdu_info->ddgst */
+	void (*ddp_ddgst_fallback)(struct ulp_ddp_pdu_info *pdu_info);
Overly long line.  More importantly this whole struct should probably
use a kerneldoc comment anyway.
 } EXPORT_SYMBOL(ulp_ddp_get_pdu_info);
+	if (!pdu_info || !between(seq, pdu_info->start_seq, pdu_info->end_seq - 1)) {
More overly lone lines.  Please make sure to stick to 80 character lines
unless you have a really good to go over that.
+	//check if this skb contains ddgst field
Plase avoid //-style comments.
+	return ulp_ddp_fallback_skb(ctx, skb, sk);
+} EXPORT_SYMBOL(ulp_ddp_validate_xmit_skb);
This is not how EXPORT_SYMBOLs are place.  Also please export any
such deep internal interfaces using EXPORT_SYMBOL_GPL.

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help