Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: xilinx: Move Xilinx TSN to staging
The newly added and existing TSN functionality is dependent on conditional kernel config options. The AXI Ethernet and TSN functionality cannot both be supported with the same defconfig in the current state. Hence move TSN to staging area and split the two drivers as temporary solution until an acceptable upstream solution is possible. -> Move TSN specific files to staging area and make a copy of the common files (header, mcdma and main files). -> Remove all TSN specific code present under both dynamic and static checks in the Axi Ethernet driver. Remove tsn compatible string. -> The default config cannot include CONFIG_AXIENET_HAS_MCDMA because it affects the baseline AXI Ethernet driver. Hence modify TSN staging driver to default to MCDMA specific code as required. -> Remove CONFIG_XILINX_AXI_EMAC_HWTSTAMP specific code in staging as it is not used in TSN driver. -> Remove unused non-static functions and related exported symbols in tsn staging driver. -> In staging, rename all non-static functions and macros with a _tsn suffix when affected by either the above changes or by CONFIG_XILINX_TSN being enabled in defconfig. This ensures that driver/net/ethernet/xilinx and drivers/staging/xilinx-tsn drivers do not have any conflicts. -> Added ethtool support -> Fixed irq handling in mcdma_rx_probe_tsn Signed-off-by: Pranavi Somisetty <pranavi.somisetty@xilinx.com> Signed-off-by: Harini Katakam <harini.katakam@xilinx.com> Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
- Loading branch information
Pranavi Somisetty
authored and
Michal Simek
committed
Apr 6, 2022
1 parent
1bc2002
commit 01fee54
Showing
35 changed files
with
4,598 additions
and
625 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.