mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-25 02:52:22 +03:00
osi: core: Update OSI_PAUSE_FRAMES_DISABLE
Issue: Wrong value of OSI_PAUSE_FRAMES_DISABLE enabling flow control at probe. Fix: Update OSI_PAUSE_FRAMES_DISABLE as per dt-bindings to disable pause frame support as a default Bug 3932946 Change-Id: I0d5227c06b4b5627dc47f5542bbf5d2a0e7ed3bf Signed-off-by: Diptanshu Jamgade <djamgade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2839839 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
Bhadram Varka
parent
8ec21c930b
commit
00b823ea61
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -77,6 +77,7 @@
|
||||
#define OSI_GCL_SIZE_1024 1024U
|
||||
/** @} */
|
||||
|
||||
#define OSI_PAUSE_FRAMES_DISABLE 0U
|
||||
#ifndef OSI_STRIPPED_LIB
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -198,7 +198,6 @@ typedef my_lint_64 nvel64_t;
|
||||
#define OSI_OPER_ADDR_UPDATE OSI_BIT(8)
|
||||
#define OSI_OPER_ADDR_DEL OSI_BIT(9)
|
||||
|
||||
#define OSI_PAUSE_FRAMES_DISABLE 1U
|
||||
#define OSI_PFT_MATCH 0U
|
||||
#define OSI_SA_MATCH 1U
|
||||
|
||||
|
||||
Reference in New Issue
Block a user