]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Deal with wrap-around of queue for Work request
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 8 Dec 2015 04:39:15 +0000 (10:09 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Dec 2015 03:43:15 +0000 (22:43 -0500)
commit17395cf2543b8cf064a471fbfc6a0641aa8f1deb
treed2a92cf3938eec6a89334f72070f8c059b72aac9
parent20c06a0599a635b8c1081c5772b846df5cb4570e
cxgb4: Deal with wrap-around of queue for Work request

The WR headers  may not fit within one descriptor.
So we need to deal with wrap-around here.

Based on original patch by Pranjal Joshi <pjoshi@chelsio.com>

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/sge.c