igc.h (1bf33f71f9813688bf5ca5a4db0743bb4a4dd563) igc.h (26575105d6ed8e2a8e43bd008fc7d98b75b90d5c)
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (c) 2018 Intel Corporation */
3
4#ifndef _IGC_H_
5#define _IGC_H_
6
7#include <linux/kobject.h>
8#include <linux/pci.h>

--- 205 unchanged lines hidden (view full) ---

214 /* System time value lock */
215 spinlock_t tmreg_lock;
216 struct cyclecounter cc;
217 struct timecounter tc;
218 struct timespec64 prev_ptp_time; /* Pre-reset PTP clock */
219 ktime_t ptp_reset_start; /* Reset time in clock mono */
220
221 char fw_version[32];
1/* SPDX-License-Identifier: GPL-2.0 */
2/* Copyright (c) 2018 Intel Corporation */
3
4#ifndef _IGC_H_
5#define _IGC_H_
6
7#include <linux/kobject.h>
8#include <linux/pci.h>

--- 205 unchanged lines hidden (view full) ---

214 /* System time value lock */
215 spinlock_t tmreg_lock;
216 struct cyclecounter cc;
217 struct timecounter tc;
218 struct timespec64 prev_ptp_time; /* Pre-reset PTP clock */
219 ktime_t ptp_reset_start; /* Reset time in clock mono */
220
221 char fw_version[32];
222
223 struct bpf_prog *xdp_prog;
222};
223
224void igc_up(struct igc_adapter *adapter);
225void igc_down(struct igc_adapter *adapter);
226int igc_open(struct net_device *netdev);
227int igc_close(struct net_device *netdev);
228int igc_setup_tx_resources(struct igc_ring *ring);
229int igc_setup_rx_resources(struct igc_ring *ring);

--- 342 unchanged lines hidden ---
224};
225
226void igc_up(struct igc_adapter *adapter);
227void igc_down(struct igc_adapter *adapter);
228int igc_open(struct net_device *netdev);
229int igc_close(struct net_device *netdev);
230int igc_setup_tx_resources(struct igc_ring *ring);
231int igc_setup_rx_resources(struct igc_ring *ring);

--- 342 unchanged lines hidden ---