Age | Commit message (Collapse) | Author |
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
fmd: change cc owners attribute from uint8 to unit16
fmd: change manip owner attribute from uint8 to unit16
fmd: add risc load monitor in sysfs
fmd: Fix modification of nodes pointed by HM
fmd: add missing fields in pcd_manip_hdr_insrt_ip
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
~R27762/linux-devel:add_hm_node_stats to master
* commit 'a9d0ea5a4d3b679ae3316c93b455d2ccc993772d':
fmd: Render header manip node statistics available in user space
|
|
Based on FM_PCD_KgSchemeGetCounter() function which is already
exposed by the API
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Added a user space interface for the "FM_PCD_ManipGetStatistics"
function for retrieving header manipulation nodes statistics
(including IP reassembly and fragmentation).
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
|
|
This attribute should have been added also to the compat layer
while it was implemented in the general layer
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Fixing an issue that occurs when there are two root ccnodes
and both of them point to the same miss ccnode
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
This reverts commit 20af0dc3a4003cdfaaac974dfe131e030b857dcd.
Revert this non-upstreamable patch (DMACTRL[LE] hack) from
SDK1.9, to sync gianfar with following usptream u-boot fix:
git.denx.de/?p=u-boot/u-boot-arm.git/
commit: ebe4c1e6469444753bd2ba93fe63e6183cf2905c
(“ls102xa: etsec: Use proper settings for BE BDs”).
Details about the fix are documented by this uboot commit.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
|
|
On 32 bit kernels using size_t truncated the 40 bit addresses.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
|
|
Increased TX_TIMEOUT to 5HZ to improve performance in case of Real-Time.
Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Abhimanyu <abhimanyu@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
|
|
|
|
Change-Id: I41397d36e3966e099e53d8d5c35b2fdbd27e2055
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36866
Reviewed-by: Igal Liberman <Igal.Liberman@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This reverts commit 7b1b36aa677846919b11ef4befa211063ed45702.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Change-Id: Ie309215f0085b3c7624a337444f54c38ecc65d69
Reviewed-on: http://git.am.freescale.net:8181/29540
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36549
|
|
This reverts commit f2cb63dfbbc290dd37fb4a4272f4905104ea5ebb.
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Change-Id: Id060915a002e4eabae23a521da4283eb447216ef
Reviewed-on: http://git.am.freescale.net:8181/29539
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com>
Reviewed-by: Zhengxiong Jin <Jason.Jin@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36548
|
|
Change-Id: Id5ecb2f85caea934dc3de2b69e538af45316e14f
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36567
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: Ib662fba72d3ad0e5260bcc36006fa0dd7158b056
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36405
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Nir Erez <nir.erez@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com>
Change-Id: If3f1264a02dbc9241b10e6050ff0c55c17170ab1
Reviewed-on: http://git.am.freescale.net:8181/35983
Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
The bug in xgmac_mdio_read have been fixed, so remove
the temporary workaround which is no longer needed.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: I7d932208ff81bd00f6c761b57c5b1dacf456e48b
Reviewed-on: http://git.am.freescale.net:8181/35748
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Xiaobo Xie <X.Xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: Ibb15bb7b55678030e577c7ec6e0f0980b49e985b
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36009
Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: I408d577d952f3ce9237dce1105ef1e577ad2cc6b
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35819
Reviewed-by: Eyal Harari <Eyal.Harari@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This patch fixes the module unload for onic in the context of creating the DPAA
Ethernet drivers as dynamic kernel modules that can be loaded/unloaded at
runtime.
Change-Id: Ib813d4c99869a09875a3dc9d07f6fcb9b5bb65e2
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35781
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Change-Id: I2023fbdc7419aecdef5386933e86083daeb40d91
Reviewed-on: http://git.am.freescale.net:8181/35993
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
This patch fixes the dependencies between several DPAA Ethernet driver modules
by exporting the needed functions as kernel symbols.
Signed-off-by: Marian-Cristian Rotariu <marian.rotariu@freescale.com>
Change-Id: Idf7525add92bfd20738eaac0b9d43ed62d7de0af
Reviewed-on: http://git.am.freescale.net:8181/35747
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Change-Id: I408df80410abae8d39ed73299b4e5df2e76cc8ad
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35430
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: Ic55d4f698c2d406d524e54f817a07f0810f87e25
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35329
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: I059708174df6e363b3b35102231130c1b9ccbedc
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35897
Reviewed-by: Yangbo Lu <yangbo.lu@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: Ia1830aa7a73fcc081dc6e54ee0599b10747bcd2b
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35266
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
There is a bug in xgmac_mdio_read when clear the bit MDIO_STAT_ENC,
which '&' is missed in 'mdio_stat &= ~MDIO_STAT_ENC'.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
|
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Change-Id: I5aafcea3016c2d82d2d2d9a592ffbb5c8574bc56
Reviewed-on: http://git.am.freescale.net:8181/35593
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Change-Id: I5f8d3dcebad92e14972ef9e48188e7df6642cc0a
Reviewed-on: http://git.am.freescale.net:8181/35473
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Sysfs fails to create entries with the same name so use different
names for MAC RX/TX stats.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: Ifa58d7f54d64e8b437d9268cb725f3528bf0d4c1
Reviewed-on: http://git.am.freescale.net:8181/35598
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Change-Id: Ia3943df8ebeca664c64782b3eb76f26dafde4fd7
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35431
Reviewed-by: Liron Himi <Liron.Himi@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Add Rx/Tx detailed statistics.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: Ibcb5e2a6b564c85d434a563ab52c45143281315f
Reviewed-on: http://git.am.freescale.net:8181/35265
Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
Change-Id: I1b8a2966ad45f995e7e6b3cdca7f8ed5e0dd397a
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/35026
Reviewed-by: Igal Liberman <Igal.Liberman@freescale.com>
Reviewed-by: Yangbo Lu <yangbo.lu@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Tested-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
The generic driver debugfs root is now added in the
initialization code, at the end. Under certain conditions
the probing code gets to run before the debugfs root is
created resulting in errors.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
|
|
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Change-Id: I7ae237524eea4a1a7587850152ca88eb74a9807d
Reviewed-on: http://git.am.freescale.net:8181/34261
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
As the 50us delay was not enough and lead to RTL8211F
PHY not working on some T1023RDB boards. so increase
the delay to make it work stably.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: Iff011d0b762e087ae401a510c71e06b8181061c5
Reviewed-on: http://git.am.freescale.net:8181/34201
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
|
|
Signed-off-by: Pan Jiafei <Jiafei.Pan@freescale.com>
Change-Id: I4c37af569b6011945860d2d7379e728ee69e133d
Reviewed-on: http://git.am.freescale.net:8181/34071
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Jianhua Xie <jianhua.xie@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
|
|
This patch adds support for MACsec in DPAA.
The feature is implemented as a separate driver and hooks into the DPAA
Ethernet driver using the hooks exported by the latter.
The MACsec driver exposes a set of APIs allowing the user to configure
the hardware in MACsec mode and to change configuration at runtime (add/
remove secure channels, secure associations, change secure association
keys, etc.).
The following capabilities are supported by the current implementation:
- MACsec enabled on multiple interfaces
- one SecY per interface (MAC)
- one TX Secure Channel per SecY
- up to 16 RX Secure Channels per SecY
- debugfs statistics (TX counters only) per CPU per interface
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@freescale.com>
Signed-off-by: Iulia Manda <manda.iulia@freescale.com>
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I8fe2883a716bf82dc14aae467f3e0eab140d236d
Reviewed-on: http://git.am.freescale.net:8181/33832
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
|
|
Some APIs can be used by other DPAA drivers (such as MACsec driver)
which hook into the processing path of the DPAA Ethernet driver therefore we
export those APIs for external usage.
Signed-off-by: Camelia Groza <camelia.groza@freescale.com>
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@freescale.com>
Signed-off-by: Iulia Manda <manda.iulia@freescale.com>
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I312d281002a047d05b9471ecf4ea12c36b28c6b0
Reviewed-on: http://git.am.freescale.net:8181/33831
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: Ic80a3f28c92aba18af32416d9216759f819c3e8c
Reviewed-on: http://git.am.freescale.net:8181/33687
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|
|
The hooks in the DPAA Ethernet driver are guarded by a new config option
FSL_DPAA_HOOKS therefore select this option when enabling FSL_FMAN_TEST.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I52a22ae0357f9169741b8ccb17fc669a087cde36
Reviewed-on: http://git.am.freescale.net:8181/33686
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Tested-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
|