sfc: Store VPD serial number at probe time
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / net / ethernet / sfc / net_driver.h
index 0d0e8eb..be8a616 100644 (file)
@@ -771,6 +771,7 @@ struct vfdi_status;
  * @local_lock: Mutex protecting %local_addr_list and %local_page_list.
  * @peer_work: Work item to broadcast peer addresses to VMs.
  * @ptp_data: PTP state data
+ * @vpd_sn: Serial number read from VPD
  * @monitor_work: Hardware monitor workitem
  * @biu_lock: BIU (bus interface unit) lock
  * @last_irq_cpu: Last CPU to handle a possible test interrupt.  This
@@ -920,6 +921,8 @@ struct efx_nic {
 
        struct efx_ptp_data *ptp_data;
 
+       char *vpd_sn;
+
        /* The following fields may be written more often */
 
        struct delayed_work monitor_work ____cacheline_aligned_in_smp;