summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
diff options
context:
space:
mode:
authorArjun V2017-01-04 14:34:20 +0100
committerDavid S. Miller2017-01-04 20:01:53 +0100
commit8eb9f2f9e4468e0fb86c2c06606a0ad03dd1a043 (patch)
treeb26626ea62eec595cf72afd381f08b31ec483636 /drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
parentMerge branch 'sh_eth-intrs-cleanup' (diff)
downloadkernel-qcow2-linux-8eb9f2f9e4468e0fb86c2c06606a0ad03dd1a043.tar.gz
kernel-qcow2-linux-8eb9f2f9e4468e0fb86c2c06606a0ad03dd1a043.tar.xz
kernel-qcow2-linux-8eb9f2f9e4468e0fb86c2c06606a0ad03dd1a043.zip
cxgb4: Support compressed error vector for T6
t6fw-1.15.15.0 enabled compressed error vector in cpl_rx_pkt for T6. Updating driver to take care of these changes. Signed-off-by: Santosh Rastapur <santosh@chelsio.com> Signed-off-by: Arjun V <arjun@chelsio.com> Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4.h')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
index 0bce1bf9ca0f..9a49c421f86c 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
@@ -263,6 +263,11 @@ struct tp_params {
u32 vlan_pri_map; /* cached TP_VLAN_PRI_MAP */
u32 ingress_config; /* cached TP_INGRESS_CONFIG */
+ /* cached TP_OUT_CONFIG compressed error vector
+ * and passing outer header info for encapsulated packets.
+ */
+ int rx_pkt_encap;
+
/* TP_VLAN_PRI_MAP Compressed Filter Tuple field offsets. This is a
* subset of the set of fields which may be present in the Compressed
* Filter Tuple portion of filters and TCP TCB connections. The