i40e.h (e075838734a89e0f6dfb50a1e5716ba53f6d70a3) | i40e.h (9e479d64dc58f11792f638ea2e8eff3304edaabf) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright(c) 2013 - 2021 Intel Corporation. */ 3 4#ifndef _I40E_H_ 5#define _I40E_H_ 6 7#include <linux/pci.h> 8#include <linux/ptp_clock_kernel.h> 9#include <linux/types.h> 10#include <linux/avf/virtchnl.h> 11#include <linux/net/intel/i40e_client.h> | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright(c) 2013 - 2021 Intel Corporation. */ 3 4#ifndef _I40E_H_ 5#define _I40E_H_ 6 7#include <linux/pci.h> 8#include <linux/ptp_clock_kernel.h> 9#include <linux/types.h> 10#include <linux/avf/virtchnl.h> 11#include <linux/net/intel/i40e_client.h> |
12#include <net/devlink.h> |
|
12#include <net/pkt_cls.h> 13#include <net/udp_tunnel.h> 14#include "i40e_dcb.h" 15#include "i40e_debug.h" | 13#include <net/pkt_cls.h> 14#include <net/udp_tunnel.h> 15#include "i40e_dcb.h" 16#include "i40e_debug.h" |
17#include "i40e_devlink.h" |
|
16#include "i40e_io.h" 17#include "i40e_prototype.h" 18#include "i40e_register.h" 19#include "i40e_txrx.h" 20 21/* Useful i40e defaults */ 22#define I40E_MAX_VEB 16 23 --- 382 unchanged lines hidden (view full) --- 406 return ch->fwd->netdev->dev_addr; 407 else 408 return NULL; 409} 410 411/* struct that defines the Ethernet device */ 412struct i40e_pf { 413 struct pci_dev *pdev; | 18#include "i40e_io.h" 19#include "i40e_prototype.h" 20#include "i40e_register.h" 21#include "i40e_txrx.h" 22 23/* Useful i40e defaults */ 24#define I40E_MAX_VEB 16 25 --- 382 unchanged lines hidden (view full) --- 408 return ch->fwd->netdev->dev_addr; 409 else 410 return NULL; 411} 412 413/* struct that defines the Ethernet device */ 414struct i40e_pf { 415 struct pci_dev *pdev; |
416 struct devlink_port devlink_port; |
|
414 struct i40e_hw hw; 415 DECLARE_BITMAP(state, __I40E_STATE_SIZE__); 416 struct msix_entry *msix_entries; 417 bool fc_autoneg_status; 418 419 u16 eeprom_version; 420 u16 num_vmdq_vsis; /* num vmdq vsis this PF has set up */ 421 u16 num_vmdq_qps; /* num queue pairs per vmdq pool */ --- 863 unchanged lines hidden --- | 417 struct i40e_hw hw; 418 DECLARE_BITMAP(state, __I40E_STATE_SIZE__); 419 struct msix_entry *msix_entries; 420 bool fc_autoneg_status; 421 422 u16 eeprom_version; 423 u16 num_vmdq_vsis; /* num vmdq vsis this PF has set up */ 424 u16 num_vmdq_qps; /* num queue pairs per vmdq pool */ --- 863 unchanged lines hidden --- |