summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sxg/sxghif.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/sxg/sxghif.h')
-rw-r--r--drivers/staging/sxg/sxghif.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/staging/sxg/sxghif.h b/drivers/staging/sxg/sxghif.h
index ae51779..2b0f080 100644
--- a/drivers/staging/sxg/sxghif.h
+++ b/drivers/staging/sxg/sxghif.h
@@ -1004,4 +1004,8 @@ struct sxg_ucode_stats {
u32 XNoBufs; /* Xmt drop due to no DRAM Xmit buffer or PxyBuf */
};
-
+/*
+ * Macros for handling the Offload engine values
+ */
+/* Number of positions to shift Network Header Length before passing to card */
+#define SXG_NW_HDR_LEN_SHIFT 2
OpenPOWER on IntegriCloud