DPDK
22.11.7
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Functions
_
c
g
r
Variables
a
c
d
e
l
r
s
Typedefs
a
c
d
e
h
l
m
p
r
s
t
Enumerations
d
r
Enumerator
c
e
f
r
s
w
Macros
_
b
c
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib
ethdev
rte_dev_info.h
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2015 Intel Corporation
3
*/
4
5
#ifndef _RTE_DEV_INFO_H_
6
#define _RTE_DEV_INFO_H_
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
12
#include <stdint.h>
13
14
/*
15
* Placeholder for accessing device registers
16
*/
17
struct
rte_dev_reg_info {
18
void
*data;
19
uint32_t offset;
20
uint32_t length;
21
uint32_t width;
22
uint32_t version;
23
};
24
25
/*
26
* Placeholder for accessing device EEPROM
27
*/
28
struct
rte_dev_eeprom_info {
29
void
*data;
30
uint32_t offset;
31
uint32_t length;
32
uint32_t magic;
33
};
34
38
struct
rte_eth_dev_module_info
{
39
uint32_t
type
;
40
uint32_t
eeprom_len
;
41
};
42
43
/* EEPROM Standards for plug in modules */
44
#define RTE_ETH_MODULE_SFF_8079 0x1
45
#define RTE_ETH_MODULE_SFF_8079_LEN 256
46
#define RTE_ETH_MODULE_SFF_8472 0x2
47
#define RTE_ETH_MODULE_SFF_8472_LEN 512
48
#define RTE_ETH_MODULE_SFF_8636 0x3
49
#define RTE_ETH_MODULE_SFF_8636_LEN 256
50
#define RTE_ETH_MODULE_SFF_8636_MAX_LEN 640
51
#define RTE_ETH_MODULE_SFF_8436 0x4
52
#define RTE_ETH_MODULE_SFF_8436_LEN 256
53
#define RTE_ETH_MODULE_SFF_8436_MAX_LEN 640
54
55
#ifdef __cplusplus
56
}
57
#endif
58
59
#endif
/* _RTE_DEV_INFO_H_ */
rte_eth_dev_module_info
Definition:
rte_dev_info.h:38
rte_eth_dev_module_info::eeprom_len
uint32_t eeprom_len
Definition:
rte_dev_info.h:40
rte_eth_dev_module_info::type
uint32_t type
Definition:
rte_dev_info.h:39
Generated by
1.9.4