Files
nvethernetrm/osi/core/Makefile.sdk
Rakesh Goyal 288c525a36 nvethenetrm: core: SW WAR implementation for switching of Gates
Issue: switching of Gates did not happen for
intermediate cycles when CTR is
less than GCL execution time

Fix: SW WAR as per recommendation.
1) At the programming time make sure
  (CTR - total TI) should be 0 or more than
  8PTP clock time.
2) Switching to New List
   check for following
   Old BTR + n(CTR) - New GCL list's BTR >= 8PTP or
   New GCL list's BTR – (Old BTR + n(CTR)) >= 8PTP

Bug 200724911

Change-Id: I19127a134655a66bb66d025f964b85afc6c23c2e
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2622942
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
2022-02-28 10:49:29 -08:00

44 lines
1.3 KiB
Makefile

# Copyright (c) 2020-2022 NVIDIA CORPORATION. All Rights Reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
include $(PDK_TOP)/drive-t186ref-qnx/make/nvdefs.mk
TARGETS = libnvethernetrm.so
CFLAGS += -g -Wall $(NV_PLATFORM_OPT) $(NV_PLATFORM_CFLAGS)
CPPFLAGS = $(NV_PLATFORM_SDK_INC) $(NV_PLATFORM_CPPFLAGS) -I../../../include -I../dma -I../common/include
CPPFLAGS += -DNV_IS_SAFETY=$(NV_PLATFORM_SAFETY)
LDFLAGS := \
$(NV_PLATFORM_SDK_LIB) \
$(NV_PLATFORM_LDFLAGS)
LDFLAGS += -shared
OBJS := eqos_core.o
OBJS += eqos_mmc.o
OBJS += osi_core.o
OBJS += vlan_filter.o
OBJS += frp.o
OBJS += mgbe_core.o
OBJS += xpcs.o
OBJS += mgbe_mmc.o
OBJS += osi_hal.o
OBJS += ivc_core.o
OBJS += ./../common/osi_common.o
OBJS += ./../common/eqos_common.o
OBJS += ./../common/mgbe_common.o
OBJS += core_common.o
CFLAGS += -D_FILE_OFFSET_BITS=64
$(TARGETS): $(OBJS)
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)
$(STRIP) --strip-unneeded -R .comment -R .GCC.command.line $@
clean clobber:
rm -rf $(OBJS) $(TARGETS)