summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/qlogic/qed/qed.h
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <sudarsana.Kalluru@cavium.com>2017-02-15 11:24:10 +0300
committerDavid S. Miller <davem@davemloft.net>2017-02-15 20:42:52 +0300
commitc78c70fa30e23dc6cdb394f6c13880919499fba5 (patch)
treeed0b238632663f6f130faffd9ce2fef2a7df4cd8 /drivers/net/ethernet/qlogic/qed/qed.h
parentb93f79bea9c1fcb1dd4619eaa528b6a5688c3ece (diff)
downloadlinux-c78c70fa30e23dc6cdb394f6c13880919499fba5.tar.xz
qed: Add infrastructure for PTP support
The patch adds the required qed interfaces for configuring/reading the PTP clock on the adapter. Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com> Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed.h')
-rw-r--r--drivers/net/ethernet/qlogic/qed/qed.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed.h b/drivers/net/ethernet/qlogic/qed/qed.h
index 1f61cf3209e8..6557f94b92ed 100644
--- a/drivers/net/ethernet/qlogic/qed/qed.h
+++ b/drivers/net/ethernet/qlogic/qed/qed.h
@@ -456,6 +456,8 @@ struct qed_hwfn {
u8 dcbx_no_edpm;
u8 db_bar_no_edpm;
+ /* p_ptp_ptt is valid for leading HWFN only */
+ struct qed_ptt *p_ptp_ptt;
struct qed_simd_fp_handler simd_proto_handler[64];
#ifdef CONFIG_QED_SRIOV