Re: [PATCH net 1/3] net: hns: Add TX CSUM check when fill TX description

2017-07-05 Thread Yunsheng Lin
Hi, David On 2017/7/4 18:28, David Miller wrote: > From: Lin Yun Sheng > Date: Tue, 4 Jul 2017 18:47:31 +0800 > >> From: Yunsheng Lin >> >> If driver support checksum offload, should check netdev feature >> before fill TX description and get CSUM

Re: [PATCH net 1/3] net: hns: Add TX CSUM check when fill TX description

2017-07-05 Thread Yunsheng Lin
Hi, David On 2017/7/4 18:28, David Miller wrote: > From: Lin Yun Sheng > Date: Tue, 4 Jul 2017 18:47:31 +0800 > >> From: Yunsheng Lin >> >> If driver support checksum offload, should check netdev feature >> before fill TX description and get CSUM err bit from RX >> description. HNS driver do

Re: [PATCH net 1/3] net: hns: Add TX CSUM check when fill TX description

2017-07-04 Thread David Miller
From: Lin Yun Sheng Date: Tue, 4 Jul 2017 18:47:31 +0800 > From: Yunsheng Lin > > If driver support checksum offload, should check netdev feature > before fill TX description and get CSUM err bit from RX > description. HNS driver do the check in

Re: [PATCH net 1/3] net: hns: Add TX CSUM check when fill TX description

2017-07-04 Thread David Miller
From: Lin Yun Sheng Date: Tue, 4 Jul 2017 18:47:31 +0800 > From: Yunsheng Lin > > If driver support checksum offload, should check netdev feature > before fill TX description and get CSUM err bit from RX > description. HNS driver do the check in RX derction but it doesn't > do the check in TX

[PATCH net 1/3] net: hns: Add TX CSUM check when fill TX description

2017-07-04 Thread Lin Yun Sheng
From: Yunsheng Lin If driver support checksum offload, should check netdev feature before fill TX description and get CSUM err bit from RX description. HNS driver do the check in RX derction but it doesn't do the check in TX direction. Signed-off-by: lipeng

[PATCH net 1/3] net: hns: Add TX CSUM check when fill TX description

2017-07-04 Thread Lin Yun Sheng
From: Yunsheng Lin If driver support checksum offload, should check netdev feature before fill TX description and get CSUM err bit from RX description. HNS driver do the check in RX derction but it doesn't do the check in TX direction. Signed-off-by: lipeng Reviewed-by: Daode Huang