net/bnxt: set checksum flags in vector Rx
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Mon, 29 Jul 2019 21:28:25 +0000 (17:28 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 30 Jul 2019 17:39:39 +0000 (19:39 +0200)
commit1868b17b570298e6fca900f047b9b8c3e7cf7373
treefc93a062a49b34a7986ed7502df7fd954b4f2437
parent02cc2b439e0779123a44c0dfe0c3380e15e8ae78
net/bnxt: set checksum flags in vector Rx

Fixed to return the checksum status of rx packets by setting
"ol_flags" correctly in vector mode receive.

These changes have been there for non vector mode receive.
In vector mode receive also indicate inner and outer checksum
errors individually in "ol_flag" to indicate L3 and L4 error.

Fixes: bc4a000f2f53 ("net/bnxt: implement SSE vector mode")

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Acked-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_rxtx_vec_sse.c