NVIDIA DRIVE OS Linux SDK API Reference

6.0.9 Release
ether_export.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms and conditions of the GNU General Public License,
6  * version 2, as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope it will be useful, but WITHOUT
9  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11  * more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  */
16 
17 #ifndef ETHER_EXPORT_H
18 #define ETHER_EXPORT_H
19 
20 #include <nvethernetrm_export.h>
30 #define ETHER_AVB_ALGORITHM 27
31 
32 #define ETHER_GET_AVB_ALGORITHM 46
33 
34 #define ETHER_CONFIG_EST 49
35 
36 #define ETHER_CONFIG_FPE 50
37 /* FRP command */
38 #define ETHER_CONFIG_FRP_CMD 51
39 
40 #define ETHER_L2_ADDR 61
41 
55 };
56 
72  void *ptr;
73 };
74 #endif /* ETHER_EXPORT_H */
ether_exported_ifr_data::connected_speed
nveu32_t connected_speed
Used to query the connected link speed.
Definition: ether_export.h:68
ether_l2_filter::mac_address
nveu8_t mac_address[OSI_ETH_ALEN]
Ethernet MAC address to be added.
Definition: ether_export.h:54
ether_exported_ifr_data::ptr
void * ptr
IOCTL cmd specific structure pointer.
Definition: ether_export.h:72
OSI_ETH_ALEN
#define OSI_ETH_ALEN
Definition: nvethernetrm_export.h:87
ether_exported_ifr_data::command_error
nve32_t command_error
The return value of IOCTL handler func.
Definition: ether_export.h:70
ether_exported_ifr_data::if_flags
nveu32_t if_flags
Flags used for specific ioctl - like enable/disable.
Definition: ether_export.h:62
ether_exported_ifr_data
struct ether_exported_ifr_data - Private data of struct ifreq
Definition: ether_export.h:60
nveu8_t
my_uint8_t nveu8_t
typedef equivalent to unsigned char
Definition: nvethernet_type.h:59
ether_l2_filter::index
nveu32_t index
Indicates the index of the filter to be modified.
Definition: ether_export.h:52
nveu32_t
my_uint32_t nveu32_t
typedef equivalent to unsigned int
Definition: nvethernet_type.h:51
nve32_t
my_int32_t nve32_t
typedef equivalent to int
Definition: nvethernet_type.h:53
nvethernetrm_export.h
ether_exported_ifr_data::ifcmd
nveu32_t ifcmd
The private ioctl command number.
Definition: ether_export.h:66
ether_l2_filter
Structure for L2 filters input.
Definition: ether_export.h:46
ether_l2_filter::en_dis
nveu32_t en_dis
indicates enable(1)/disable(0) L2 filter
Definition: ether_export.h:49
ether_exported_ifr_data::qinx
nveu32_t qinx
qinx: Queue index to be used for certain ioctls
Definition: ether_export.h:64