diff options
author | Michal Kalderon <Michal.Kalderon@cavium.com> | 2017-09-24 12:09:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-26 11:22:03 -0700 |
commit | 1e99c497012cd8647972876f1bd18545bc907aea (patch) | |
tree | 67bca013cbe9090f430e7bf3b71db41ed65a2568 /include | |
parent | 471115ab9804f45cb8e091e426c9c67fe75e41b0 (diff) | |
download | linux-stable-1e99c497012cd8647972876f1bd18545bc907aea.tar.gz linux-stable-1e99c497012cd8647972876f1bd18545bc907aea.tar.bz2 linux-stable-1e99c497012cd8647972876f1bd18545bc907aea.zip |
qed: iWARP - Add check for errors on a SYN packet
A SYN packet which arrives with errors from FW should be dropped.
This required adding an additional field to the ll2
rx completion data.
Signed-off-by: Michal Kalderon <Michal.Kalderon@cavium.com>
Signed-off-by: Ariel Elior <Ariel.Elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/qed/qed_ll2_if.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/qed/qed_ll2_if.h b/include/linux/qed/qed_ll2_if.h index dd7a3b86bb9e..89fa0bbd54f3 100644 --- a/include/linux/qed/qed_ll2_if.h +++ b/include/linux/qed/qed_ll2_if.h @@ -101,6 +101,7 @@ struct qed_ll2_comp_rx_data { void *cookie; dma_addr_t rx_buf_addr; u16 parse_flags; + u16 err_flags; u16 vlan; bool b_last_packet; u8 connection_handle; |