]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/emac-lld.git/log
keystone-rtos/emac-lld.git
4 years agoMerge remote-tracking branch 'remotes/origin/review_PRSDK-5868' into dev_emac_lld_pnt... DEV.PRU-ICSS-PROFINET-SWITCH_02.01.00.09.RC2
Pratheesh Gangadhar [Wed, 17 Jul 2019 17:42:25 +0000 (23:12 +0530)]
Merge remote-tracking branch 'remotes/origin/review_PRSDK-5868' into dev_emac_lld_pntsn_inc2_release

4 years agoam65xx: Unit test update for trace utility integration
Tinku Mannan [Fri, 12 Jul 2019 19:50:48 +0000 (15:50 -0400)]
am65xx: Unit test update for trace utility integration

 register trace callback with emac driver
 update configuration files re-direct system output to UART
 unit test fixes.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding debug trace support in emac driver
Tinku Mannan [Wed, 10 Jul 2019 20:29:17 +0000 (16:29 -0400)]
am65xx: Adding debug trace support in emac driver

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Unit test update to verify packet less than 60 bytes is zero padded
Tinku Mannan [Wed, 3 Jul 2019 13:08:23 +0000 (09:08 -0400)]
am65xx: Unit test update to verify packet less than 60 bytes is zero padded

 packet send via emac_send which is less than 60 bytes will be zero padded
 upto 60 bytes and packet length will be set to 60 bytes by the driver at
 time of emac_send.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoicss_dualmac: makeversions: limit version string to 32 bytes DEV.EMAC_LLD.01.00.03.16C
Jacob Stiffler [Tue, 2 Jul 2019 19:45:53 +0000 (15:45 -0400)]
icss_dualmac: makeversions: limit version string to 32 bytes

* It has been observed that 33 bytes breaks functionality.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
4 years agoNeed to memory map NBO CFG registers for A53 DEV.EMAC_LLD.01.00.03.16B
Tinku Mannan [Fri, 28 Jun 2019 19:16:16 +0000 (15:16 -0400)]
Need to memory map NBO CFG registers for A53

4 years agoam65xx: Update to sync with pruss driver DEV.EMAC_LLD.01.00.03.16A
Tinku Mannan [Thu, 27 Jun 2019 18:57:55 +0000 (14:57 -0400)]
am65xx: Update to sync with pruss driver

 PRUICSS_create needs to be called with PRUICCSS_INSTANCE_THREE
 for 3rd instance.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoAdditional Design doc update DEV.EMAC_LLD.01.00.03.16 DEV.PROCESSOR-SDK.06.00.00.05
Tinku Mannan [Wed, 26 Jun 2019 14:24:31 +0000 (10:24 -0400)]
Additional Design doc update

4 years agoDesign doc update
Tinku Mannan [Wed, 26 Jun 2019 13:46:26 +0000 (09:46 -0400)]
Design doc update

4 years agoAligning to master branch REL.PRU-ICSS-PROFINET-SWITCH_02.01.00.08
Pratheesh Gangadhar [Tue, 25 Jun 2019 19:54:25 +0000 (01:24 +0530)]
Aligning to master branch

4 years agoAligning to the latest firmware
Pratheesh Gangadhar [Tue, 25 Jun 2019 11:32:45 +0000 (17:02 +0530)]
Aligning to the latest firmware

4 years agoMerge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release
Pratheesh Gangadhar [Tue, 25 Jun 2019 10:57:50 +0000 (16:27 +0530)]
Merge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release

4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pntsn_inc2_release_PRSDK...
Pratheesh Gangadhar [Tue, 25 Jun 2019 10:57:11 +0000 (16:27 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pntsn_inc2_release_PRSDK-6024' into dev_emac_lld_pntsn_inc2_release

4 years agoPRSDK-6024:Added review comments
Prajith [Tue, 25 Jun 2019 06:24:13 +0000 (11:54 +0530)]
PRSDK-6024:Added review comments

4 years agoPRSDK-6024:Fixed build issues. Other fixes
Prajith [Tue, 25 Jun 2019 05:11:53 +0000 (10:41 +0530)]
PRSDK-6024:Fixed build issues. Other fixes

4 years agoRelease notes and version update for 6.0
Tinku Mannan [Mon, 24 Jun 2019 13:19:54 +0000 (09:19 -0400)]
Release notes and version update for 6.0

4 years agoUpdates to align with the latest firmware
Pratheesh Gangadhar [Sat, 22 Jun 2019 18:36:27 +0000 (00:06 +0530)]
Updates to align with the latest firmware

4 years agoam57xx: Fix in tx enqueue logic
Tinku Mannan [Fri, 21 Jun 2019 20:43:19 +0000 (16:43 -0400)]
am57xx: Fix in tx enqueue logic

 to allow enqueing of  multiple descriptors to DMA for transmission in
 1 shot
 minor cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Zero pad transmit packet that is less than 60 bytes
Tinku Mannan [Fri, 21 Jun 2019 15:13:29 +0000 (11:13 -0400)]
am65xx: Zero pad transmit packet that is less than 60 bytes

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agodual mac F/W: fix out of order SCHED_CHECK_DMA bug
Vitaly Andrianov [Thu, 20 Jun 2019 13:56:17 +0000 (09:56 -0400)]
dual mac F/W: fix out of order SCHED_CHECK_DMA bug

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agodual_mac F/W: remove unused code for buffers used by switch
Vitaly Andrianov [Thu, 20 Jun 2019 12:26:06 +0000 (08:26 -0400)]
dual_mac F/W: remove unused code for buffers used by switch

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agodual_mac F/W: update buffer pool tail with disabled TM
Vitaly Andrianov [Thu, 20 Jun 2019 12:23:22 +0000 (08:23 -0400)]
dual_mac F/W: update buffer pool tail with disabled TM

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoAdded IOCTL to configure MSMC base address
Prajith [Fri, 21 Jun 2019 06:01:09 +0000 (11:31 +0530)]
Added IOCTL to configure MSMC base address

4 years agoAM57xx: emac: Fix for sending packet out of directed port
Tinku Mannan [Thu, 20 Jun 2019 18:51:54 +0000 (14:51 -0400)]
AM57xx: emac: Fix for sending packet out of directed port

 Need to update the TO_PORT_EN and TO_PORT fields of TX buffer descriptor
 when directing packet of of specified port.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoK2G: Fix cache primitive call for packet RX for DSP use case
Tinku Mannan [Wed, 19 Jun 2019 15:03:02 +0000 (11:03 -0400)]
K2G: Fix cache primitive call for packet RX for DSP use case

 Need to invalidate the descriptor prior to invalidating the buffer
 Need to perform cache primitives on descriptor and buffer
 when replenishing RX free queue

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoPRSDK-5812 Addressing Review comments
Sinthu Raja M [Mon, 17 Jun 2019 14:14:15 +0000 (19:44 +0530)]
PRSDK-5812 Addressing Review comments

 Move local to global conversion func to SOC specific file from driver.
 Add a function pointer for local to global cache function to the
 hwAttrs sturcture.
 Update driver functions to use the hwAttrs function pointer for
 converting any local to global cache address.

4 years agoFix local to global address conversion
Ding [Fri, 10 May 2019 17:20:15 +0000 (13:20 -0400)]
Fix local to global address conversion

4 years agoFixing a compilation issue identified DEV.PRU-ICSS-PROFINET-SWITCH_02.01.00.08.RC2
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 11:36:20 +0000 (06:36 -0500)]
Fixing a compilation issue identified

4 years agoAccounting for non-zero MSMC_START_OFFSET
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 03:38:49 +0000 (22:38 -0500)]
Accounting for non-zero MSMC_START_OFFSET

4 years agoEMAC was using incorrect port q size macro.
Vineet Roy [Fri, 14 Jun 2019 15:05:26 +0000 (17:05 +0200)]
EMAC was using incorrect port q size macro.

MSMC_END_OFFSET includes all MSMC memory and not just Tx Q usage

4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_...
Pratheesh Gangadhar [Mon, 17 Jun 2019 11:43:10 +0000 (17:13 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_port_q_size' into dev_emac_lld_pntsn_inc2_release

4 years agoFixing a compilation issue identified
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 11:36:20 +0000 (06:36 -0500)]
Fixing a compilation issue identified

4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_...
Pratheesh Gangadhar [Mon, 17 Jun 2019 08:33:59 +0000 (14:03 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_port_q_size' into dev_emac_lld_pntsn_inc2_release

4 years agoAccounting for non-zero MSMC_START_OFFSET
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 03:38:49 +0000 (22:38 -0500)]
Accounting for non-zero MSMC_START_OFFSET

4 years agoEMAC was using incorrect port q size macro.
Vineet Roy [Fri, 14 Jun 2019 15:05:26 +0000 (17:05 +0200)]
EMAC was using incorrect port q size macro.

MSMC_END_OFFSET includes all MSMC memory and not just Tx Q usage

4 years agoMerge remote-tracking branch 'remotes/origin/review_PRSDK-5955' into dev_emac_lld_pnt...
Pratheesh Gangadhar [Fri, 14 Jun 2019 14:53:27 +0000 (20:23 +0530)]
Merge remote-tracking branch 'remotes/origin/review_PRSDK-5955' into dev_emac_lld_pntsn_inc2_release

4 years agoam65xx: Fix link status being returned for 2nd port of ICSSG instance
Tinku Mannan [Fri, 14 Jun 2019 14:13:31 +0000 (10:13 -0400)]
am65xx: Fix link status being returned for 2nd port of ICSSG instance

 When polling for link status of 2nd port of ICSSG instance, phy address
 of 1st port was being used.
 cleanup of mdio implementation in driver

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoremove unused code from TX_ERR handler
Vitaly Andrianov [Thu, 13 Jun 2019 13:13:05 +0000 (09:13 -0400)]
remove unused code from TX_ERR handler

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoMerge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release
Pratheesh Gangadhar [Thu, 13 Jun 2019 01:17:51 +0000 (06:47 +0530)]
Merge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release

# Conflicts:
# test/EmacLoopbackTest/test_utils_switch_k3.c

4 years agoam65xx: Unit test update for testing directed packet on specific port
Tinku Mannan [Wed, 12 Jun 2019 20:27:54 +0000 (16:27 -0400)]
am65xx: Unit test update for testing directed packet on specific port

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx; IOCTL command buffers need to cache size aligned for R5 use case
Tinku Mannan [Wed, 12 Jun 2019 18:12:04 +0000 (14:12 -0400)]
am65xx; IOCTL command buffers need to cache size aligned for R5 use case

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Unit test updates to for TX port queue check verification
Tinku Mannan [Tue, 11 Jun 2019 21:33:07 +0000 (17:33 -0400)]
am65xx: Unit test updates to for TX port queue check verification

 increased size of port queue array allocated from MSMC per latest
 ICSSG switch FW requirements.
 Moved port queue allocation to MSMC_SRAM from MSMC_SRAM_H

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG
Tinku Mannan [Tue, 11 Jun 2019 21:31:07 +0000 (17:31 -0400)]
am65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG

 passed in at time of emac_open to perform TX port queue size check to
 ensure there is enough memory provided by the app to configure ICSSG
 SWITCH host/port and host egress queues.

 Adding macro to define port queue size per instance

4 years agoModifying Switch mem map REL.PRU-ICSS-PROFINET-SWITCH_02.01.00.07
Vineet Roy [Wed, 12 Jun 2019 14:12:49 +0000 (16:12 +0200)]
Modifying Switch mem map

Previous commit failed to update the change

4 years agoUpdating firmware headers
Pratheesh Gangadhar [Wed, 12 Jun 2019 13:54:38 +0000 (19:24 +0530)]
Updating firmware headers

4 years agoam65xx: Unit test updates to for TX port queue check verification
Tinku Mannan [Tue, 11 Jun 2019 21:33:07 +0000 (17:33 -0400)]
am65xx: Unit test updates to for TX port queue check verification

 increased size of port queue array allocated from MSMC per latest
 ICSSG switch FW requirements.
 Moved port queue allocation to MSMC_SRAM from MSMC_SRAM_H

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG
Tinku Mannan [Tue, 11 Jun 2019 21:31:07 +0000 (17:31 -0400)]
am65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG

 passed in at time of emac_open to perform TX port queue size check to
 ensure there is enough memory provided by the app to configure ICSSG
 SWITCH host/port and host egress queues.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoPRSDk-4453 Update config file to be generic for SMP and non SMP mode
Sinthu Raja M [Mon, 27 May 2019 06:11:54 +0000 (11:41 +0530)]
PRSDk-4453 Update config file to be generic for SMP and non SMP mode

 Update makefile to invoke top level SMp config for SMP test cases.
 Update AM572x EVM cfg file to be generic for both SMp and non SMP test
 case

4 years agoPRSDK-4453 Addressing review comments
Sinthu Raja M [Tue, 21 May 2019 09:29:36 +0000 (14:59 +0530)]
PRSDK-4453 Addressing review comments

 Removed redundant config file for Audio loopback SMP example.
 Update existing config file to enable support for SMP and non SMP
 mode.

4 years agoPRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro
Sinthu Raja M [Mon, 20 May 2019 05:15:48 +0000 (10:45 +0530)]
PRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro

 Remove hardcoded library profile for the driver components
 Update config file to get library profile from the makefile macros

4 years agoPRSDK-4453 Add SMP enabled support for A53 core
Sinthu Raja M [Fri, 17 May 2019 08:59:53 +0000 (14:29 +0530)]
PRSDK-4453 Add SMP enabled support for A53 core

 Update makefile and component makefile to add entry for SMP enabled
 examples

4 years agoPRSDK-4453 Add SMP enabled BIOS project for AM572x EVM
Sinthu Raja M [Thu, 16 May 2019 06:13:03 +0000 (11:43 +0530)]
PRSDK-4453 Add SMP enabled BIOS project for AM572x EVM

 Add project text file and RTSC config file for SMP enabled Test project

4 years agoPRSDK-4453 Update config file to remove board dependancy
Sinthu Raja M [Tue, 14 May 2019 10:13:09 +0000 (15:43 +0530)]
PRSDK-4453 Update config file to remove board dependancy

 Update config file to remove board and SCI components to remove board
 name dependency.

4 years agoPRSDK-4453 Update RTSC config file to load PDK components
Sinthu Raja M [Mon, 13 May 2019 06:27:44 +0000 (11:57 +0530)]
PRSDK-4453 Update RTSC config file to load PDK components

 Update UART example/test RTSC config file ti load PDK driver components
 and OSAL package during compilation.

4 years agoam65xx: firmware: makefile: fix clean command for windows build
Vitaly Andrianov [Tue, 11 Jun 2019 12:11:20 +0000 (08:11 -0400)]
am65xx: firmware: makefile: fix clean command for windows build

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoam65xx: Need to free back descriptors from MGMT2 free channel.
Tinku Mannan [Wed, 5 Jun 2019 14:48:01 +0000 (10:48 -0400)]
am65xx: Need to free back descriptors from MGMT2 free channel.

 Update includes to not free packet descriptor back to application for
 tx completion processing when TX completion is a result of sending MGMT
 request to firmware.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Enabling testing of TX TS for ICSSG SWITCH use case
Tinku Mannan [Thu, 6 Jun 2019 14:46:37 +0000 (10:46 -0400)]
am65xx: Enabling testing of TX TS for ICSSG SWITCH use case

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Updating to use latest ICSSG SWITCH firmware headers
Tinku Mannan [Thu, 6 Jun 2019 14:44:38 +0000 (10:44 -0400)]
am65xx: Updating to use latest ICSSG SWITCH firmware headers

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: test app updates to verify IOCTL commands.
Tinku Mannan [Wed, 5 Jun 2019 21:12:52 +0000 (17:12 -0400)]
am65xx: test app updates to verify IOCTL commands.

 added test to add upto max vlan entries to vlan table.
 added counters to sync alloc and free pkt callbacks.
 minor cleanup.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Fix return value of IOCTL command reqeust when IOCTL command fails.
Tinku Mannan [Wed, 5 Jun 2019 21:11:17 +0000 (17:11 -0400)]
am65xx: Fix return value of IOCTL command reqeust when IOCTL command fails.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agodm firmware: set TX timestamp valid bit
Vitaly Andrianov [Wed, 5 Jun 2019 14:35:25 +0000 (10:35 -0400)]
dm firmware:  set TX timestamp valid bit

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoimplement TX_ERR handler
Vitaly Andrianov [Wed, 5 Jun 2019 14:01:22 +0000 (10:01 -0400)]
implement TX_ERR handler

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoAdding ts_valid flag to tx_ts callback
Manmohan Mandhana [Thu, 30 May 2019 16:03:06 +0000 (21:33 +0530)]
Adding ts_valid flag to tx_ts callback

4 years agoam65xx: EMAC driver fixes
Tinku Mannan [Fri, 31 May 2019 15:47:35 +0000 (11:47 -0400)]
am65xx: EMAC driver fixes

 Fix port number used to poll for tx completion events for switch events
 Fix in emac open for check for getFwCfg function pointer

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Use MSMC3_H section for ICSSG firmware port queues
Tinku Mannan [Thu, 30 May 2019 17:45:13 +0000 (13:45 -0400)]
am65xx: Use MSMC3_H section for ICSSG firmware port queues

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Test update to include emac_close API call.
Tinku Mannan [Wed, 29 May 2019 21:45:35 +0000 (17:45 -0400)]
am65xx: Test update to include emac_close API call.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: IOCTL command structs stored as part of emac mcb
Tinku Mannan [Wed, 29 May 2019 21:45:07 +0000 (17:45 -0400)]
am65xx: IOCTL command structs stored as part of emac mcb

 removed stack reference to IOCTL command structs and
 using ones as part of emac mcb.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx:Free pkt descriptors back to app at time of emac_close
Tinku Mannan [Wed, 29 May 2019 21:43:19 +0000 (17:43 -0400)]
am65xx:Free pkt descriptors back to app at time of emac_close

 Update includes cleanup of emac_drv_v5.h

4 years agoPINDSW-3266
shubham [Tue, 28 May 2019 09:54:15 +0000 (15:24 +0530)]
PINDSW-3266
PVID = 0x0FFE is also not accepted.

4 years agoPINDSW-3266
shubham [Mon, 27 May 2019 10:55:36 +0000 (16:25 +0530)]
PINDSW-3266
Fixing DUT is accepting VIDs = 0x000 while it should be from 1 to 4094

4 years agoPRE_EMPTION_ADD_FRAG_SIZE_LOCAL offset is assigned only one byte, making correspondin...
shubham [Thu, 23 May 2019 18:35:42 +0000 (00:05 +0530)]
PRE_EMPTION_ADD_FRAG_SIZE_LOCAL offset is assigned only one byte, making corresponding changes in driver.

4 years agoAligning to the latest version of switch_mem_map.h
Pratheesh Gangadhar [Thu, 23 May 2019 17:18:56 +0000 (22:48 +0530)]
Aligning to the latest version of switch_mem_map.h

4 years agoIncorporating review comments to remove doc reference
Vineet Roy [Thu, 23 May 2019 14:46:40 +0000 (20:16 +0530)]
Incorporating review comments to remove doc reference

4 years agoChanges to FDB IOCTL
Vineet Roy [Thu, 23 May 2019 14:38:28 +0000 (20:08 +0530)]
Changes to FDB IOCTL

1. There can now be two FID_C2 values for two ports
2. Earlier assumption was that the FDI_C2 value for both ports would be
identical but that's not correct

4 years agoUpdate memmap headers to align with firmware
Pratheesh Gangadhar [Thu, 23 May 2019 11:09:50 +0000 (16:39 +0530)]
Update memmap headers to align with firmware

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agomodifying emac_ioctl_configure_cut_through_or_prempt_select_ctrl function to store...
shubham [Thu, 23 May 2019 08:09:20 +0000 (13:39 +0530)]
modifying emac_ioctl_configure_cut_through_or_prempt_select_ctrl function to store preemption or cut through  info in 4 bytes per queue instead of 1.

4 years agominor cleanups, adding spaces etc.
shubham [Thu, 23 May 2019 07:25:03 +0000 (12:55 +0530)]
minor cleanups, adding spaces etc.

4 years agoSquashing all the changes from dev_emac_lld_pntsn_inc2.
shubham shandilya [Thu, 23 May 2019 06:13:39 +0000 (11:43 +0530)]
Squashing all the changes from dev_emac_lld_pntsn_inc2.

4 years agoRevert "PDK-4161: [UDMA] Core interrupts should be resource managed instead of NAVSS IR"
Sivaraj R [Mon, 27 May 2019 08:16:29 +0000 (13:46 +0530)]
Revert "PDK-4161: [UDMA] Core interrupts should be resource managed instead of NAVSS IR"

This reverts commit 7350186cccbf28d91ff50ed60c1b802823515040.

4 years agoam65xx: soc file cleanup
Tinku Mannan [Thu, 23 May 2019 01:31:45 +0000 (21:31 -0400)]
am65xx: soc file cleanup

4 years agoam65xx: Adding enumerations to use for specifying which ring to poll for emac_poll_ct...
Tinku Mannan [Thu, 23 May 2019 01:31:14 +0000 (21:31 -0400)]
am65xx: Adding enumerations to use for specifying which ring to poll for emac_poll_ctrl_api

4 years agoam65xx: Fix compilation of R5 emac switch test app for release build profile
Tinku Mannan [Tue, 21 May 2019 19:22:31 +0000 (15:22 -0400)]
am65xx: Fix compilation of R5 emac switch test app for release build profile

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: unit test updates
Tinku Mannan [Sun, 19 May 2019 14:00:35 +0000 (10:00 -0400)]
am65xx: unit test updates

 for IOCTL verification
 for testing packet clone functionality

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: IOCTL fixes for switch use case
Tinku Mannan [Sun, 19 May 2019 13:59:13 +0000 (09:59 -0400)]
am65xx: IOCTL fixes for switch use case

 Fix port number in commands being sent to FW for ICSSG-1
 Fix for FDB delete all and delete all ageable IOCTLs
 Fix for port ctrl IOCTL
 general cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoPDK-4161: [UDMA] Core interrupts should be resource managed instead of NAVSS IR
Sivaraj R [Thu, 16 May 2019 07:44:08 +0000 (13:14 +0530)]
PDK-4161: [UDMA] Core interrupts should be resource managed instead of NAVSS IR

- Changed numIrIntr to numCoreIntr

Signed-off-by: Sivaraj R <sivaraj@ti.com>
4 years agocomments cleanup
Tinku Mannan [Tue, 14 May 2019 15:29:05 +0000 (11:29 -0400)]
comments cleanup

4 years agoAdding support to test EMAC_IOCTL_VLAN_GET_ENTRY
Tinku Mannan [Mon, 13 May 2019 20:02:03 +0000 (16:02 -0400)]
Adding support to test EMAC_IOCTL_VLAN_GET_ENTRY

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding support for EMAC_IOCTL_VLAN_GET_ENTRY
Tinku Mannan [Mon, 13 May 2019 19:52:18 +0000 (15:52 -0400)]
am65xx: Adding support for EMAC_IOCTL_VLAN_GET_ENTRY

 sub-commmand of EMAC_IOCTL_VLAN_CTRL to return vlan entry
 from vlan table for requested vlan id

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: unit test update to sync with new management response cb API
Tinku Mannan [Fri, 10 May 2019 15:51:48 +0000 (11:51 -0400)]
am65xx: unit test update to sync with new management response cb API

 Additional update to test_utils_k3 to remove un-used switch related
 test code

Signed-off-by: Tinku Mannan <tmannan@ti.com>
update

4 years agoam65xx: Updates to RX MGMT callback implementation
Tinku Mannan [Fri, 10 May 2019 14:38:58 +0000 (10:38 -0400)]
am65xx: Updates to RX MGMT callback implementation

 Modified EMAC_RX_MGMT_CALLBACK_FN_T to return new IOCTL command response
 pointer instead of packet descriptor pointer to facilitate application
 IOCTL command response processing.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
update

4 years agoam65xx: Enhance error handling return values
Tinku Mannan [Thu, 9 May 2019 12:59:53 +0000 (08:59 -0400)]
am65xx: Enhance error handling return values

 updates to provide application more details regarding errors encountered
 during IOCTL call.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoUpdate to include memory map header file for switch
Tinku Mannan [Thu, 9 May 2019 21:35:02 +0000 (17:35 -0400)]
Update to include memory map header file for switch

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoRemove switch specific test from dual make test app
Tinku Mannan [Thu, 9 May 2019 21:34:05 +0000 (17:34 -0400)]
Remove switch specific test from dual make test app

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Fix command type for FDB related management commands to firmware
Tinku Mannan [Wed, 8 May 2019 15:20:37 +0000 (11:20 -0400)]
am65xx: Fix command type for FDB related management commands to firmware

 cleanup macro names to reflect usage.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Updates to switch fw configuration structure
Tinku Mannan [Tue, 7 May 2019 14:32:38 +0000 (10:32 -0400)]
am65xx: Updates to switch fw configuration structure

 adding fields to configure txPortQueueDescSize and txHostQueueDescSize

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding additional icss_switch configuration file
Tinku Mannan [Tue, 7 May 2019 14:31:39 +0000 (10:31 -0400)]
am65xx: Adding additional icss_switch configuration file

  adding switch_mmap_defines.h used by firmware and driver.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding driver support for EMAC_IOCTL_PRIO_REGEN_CTRL
Tinku Mannan [Mon, 6 May 2019 19:04:44 +0000 (15:04 -0400)]
am65xx: Adding driver support for EMAC_IOCTL_PRIO_REGEN_CTRL

 moving hw memory write utility to emac_utils file.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Linker command file and cfg updates
Tinku Mannan [Thu, 2 May 2019 22:12:26 +0000 (18:12 -0400)]
am65xx: Linker command file and cfg updates

 cleanup and moving memory sections to DDR0.
 Adding section for tx port queues to be allocated from MSMC in cfg files.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding linker command file for test app without ddr use case
Tinku Mannan [Thu, 2 May 2019 22:10:44 +0000 (18:10 -0400)]
am65xx: Adding linker command file for test app without ddr use case

 makefile update for without ddr use case to use new linker command file

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Increase number of RX sub-channels for without DDR use case
Tinku Mannan [Thu, 2 May 2019 22:08:02 +0000 (18:08 -0400)]
am65xx: Increase number of RX sub-channels for without DDR use case

 add attribute to specify port queue memory allocation from msmc section

Signed-off-by: Tinku Mannan <tmannan@ti.com>
update

update

update