mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-24 10:34:24 +03:00
nvethernetrm: take exported ioctl related header out
Issue: SW needs to support IOCTL on safety builds and
these header should be exposed to user
Fix: Create new header file which is exposed externally
Fix Coverity issues
Enable TSN and FRP for safety build
Optimize the code between eqos and mgbe
Bug 3704251
Change-Id: I2807f8283a296de1f96d3f902cb4ad5a4781be50
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2759333
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Bhadram Varka <vbhadram@nvidia.com>
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Krishna Thota <kthota@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
744ff93208
commit
6b4ddb8043
@@ -35,6 +35,14 @@
|
||||
*/
|
||||
#define MAX_ARGS 10
|
||||
|
||||
/*
|
||||
*@brief All Stats
|
||||
*/
|
||||
struct osi_stats {
|
||||
struct osi_mmc_counters mmc_s;
|
||||
struct osi_tsn_stats tsn_s;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief IVC commands between OSD & OSI.
|
||||
*/
|
||||
@@ -135,10 +143,8 @@ typedef struct ivc_msg_common {
|
||||
union {
|
||||
/** IVC argument structure */
|
||||
ivc_args args;
|
||||
#ifndef OSI_STRIPPED_LIB
|
||||
/** avb algorithm structure */
|
||||
struct osi_core_avb_algorithm avb_algo;
|
||||
#endif
|
||||
/** OSI filter structure */
|
||||
struct osi_filter filter;
|
||||
/** OSI HW features */
|
||||
@@ -149,6 +155,8 @@ typedef struct ivc_msg_common {
|
||||
ivc_core_args init_args;
|
||||
/** ioctl command structure */
|
||||
struct osi_ioctl ioctl_data;
|
||||
/** All stats */
|
||||
struct osi_stats eth_stats;
|
||||
#ifdef MACSEC_SUPPORT
|
||||
/** lut config */
|
||||
struct osi_macsec_lut_config lut_config;
|
||||
|
||||
Reference in New Issue
Block a user