Age | Commit message (Collapse) | Author |
|
Use non-rt api in FMD when rt api is not available.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I25e16f18a6f2f3bb16a80d1431b54b45db915f29
Reviewed-on: http://git.am.freescale.net:8181/7583
Reviewed-by: Mandy Lavi <Mandy.Lavi@freescale.com>
|
|
Add a new counter for fragmented IP packets with IP header options
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I94d93bd0960025c9f2c4bcf4aab7c17e8344fd39
Reviewed-on: http://git.am.freescale.net:8181/6252
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Nir Erez <nir.erez@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
|
|
Added the following new sysfs files:
/sys/devices/fsl,dpaa.*/ethernet.*/net/fm*-gb*/mac_regs
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: If77c82b42d925529ae7eb81b75d51debfa8253e0
Reviewed-on: http://git.am.freescale.net:8181/5844
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Reviewed-by: Thomas Trefny <Tom.Trefny@freescale.com>
|
|
Added the following new sysfs files:
*.fman/*.port/fm_port_regs
*.fman/*.port/fm_port_bmi_regs
*.fman/*.port/fm_port_qmi_regs
*.fman/fm_regs
*.fman/fm_ctrl_code_ver
*.fman/fm_muram_free_size
*.fman/fm_plcr_regs
*.fman/fm_kg_pe_regs
*.fman/fm_kg_regs
*.fman/cls_plans/cls_plan_*
*.fman/schemes/scheme_*
*.fman/profiles/profile_*
*.fman/fm_prs_regs
*.fman/fm_fpm_regs
*.fman/tnums_dbg/tnum_dbg_*
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: If625ef3550bf66da5fb6fb282975a70df78438b1
Reviewed-on: http://git.am.freescale.net:8181/5843
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Reviewed-by: Thomas Trefny <Tom.Trefny@freescale.com>
|
|
fsl_fm_rx_extra headroom must have a value of at least 16 bytes.
The Kconfig option has this lower limit, but when configuring the
parameter through bootargs no check was made.
So enforce the lower limit for all input methods, to avoid invalid
values.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: Ibf6dfe82d7497745b04eb46e0e7b0a1497c3aa7f
Reviewed-on: http://git.am.freescale.net:8181/5172
Reviewed-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I4ce7f181158f5df8191eea7ad75c0e84cfd01f1b
Reviewed-on: http://git.am.freescale.net:8181/4573
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zanoschi Aurelian-B43522 <Aurelian.Zanoschi@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Fix a series of checkpatch complaints in the dpaa_eth code.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I341d5835bb0a4491456947b8e1ae714e095cd580
Reviewed-on: http://git.am.freescale.net:8181/3811
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <Jose.G.Rivera@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/4460
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: Id1be0b2511e5c36fd785f8ee72f4189305c7ac71
Reviewed-on: http://git.am.freescale.net:8181/4105
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: If2fda57aaf42719d0a3aae2256d513856583913b
Reviewed-on: http://git.am.freescale.net:8181/3427
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Changes open dma allocation to workaround erratum A006981
Also verify that it applies only to B4-rev1 while rev2 should have this erratum fixed
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: Icc0552269da9ad80763e8ad1394d6ad67ee143a8
Reviewed-on: http://git.am.freescale.net:8181/3428
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Prevent sleeping function to be called from invalid context
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I1fa7619489248c823d55a96b00cc4b7bd75bbf6d
Reviewed-on: http://git.am.freescale.net:8181/3430
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
FM_PCD_MatchTableGetMissStatistics and FM_PCD_HashTableGetMissStatistics
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I56a02300f4603245344effc898ff9fdd137d8e4c
Reviewed-on: http://git.am.freescale.net:8181/3905
Reviewed-by: Schmitt Richard-B43082 <B43082@freescale.com>
Tested-by: Schmitt Richard-B43082 <B43082@freescale.com>
|
|
Apparently reset values of B4/T4 in fmd are not completely
reliable. will use this definition to force fman init
values.
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: Id0b16cf7faf8c53ab9741bcd370e27e91a9ab2a0
Reviewed-on: http://git.am.freescale.net:8181/3904
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Tested-by: Schmitt Richard-B43082 <B43082@freescale.com>
Reviewed-by: Schmitt Richard-B43082 <B43082@freescale.com>
|
|
- miss entry in a CC Node
- miss entry in the hash table
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: Iacbebff6f8f7ef1fa9c97b24d1072515f5098860
Reviewed-on: http://git.am.freescale.net:8181/3828
Reviewed-by: Lavi Mandy-R52568 <Mandy.Lavi@freescale.com>
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Schmitt Richard-B43082 <B43082@freescale.com>
Tested-by: Schmitt Richard-B43082 <B43082@freescale.com>
|
|
|
|
We need to reserve some space in the Rx skb buffer for NET_IP_ALIGN,
otherwise on forwarding the stack may reallocate the skb header.
The most easily available place to do this is the Rx extra headroom,
so enforce the minimum non-zero possible value as lower end of the
configuration range.
While here, enforce (and comment on) the restriction to only set values
which are a multiple of 16 bytes, which was missed in the previous
version of the help text.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I9403a36f11cc1c7b9460126fb5ab97237f9bd105
Reviewed-on: http://git.am.freescale.net:8181/3482
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Hamciuc Bogdan-BHAMCIU1 <bogdan.hamciuc@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Prevent sleeping function to be called from invalid context
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I1fa7619489248c823d55a96b00cc4b7bd75bbf6d
Reviewed-on: http://git.am.freescale.net:8181/3430
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Changes open dma allocation to workaround erratum A006981
Also verify that it applies only to B4-rev1 while rev2 should have this erratum fixed
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: Icc0552269da9ad80763e8ad1394d6ad67ee143a8
Reviewed-on: http://git.am.freescale.net:8181/3428
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: If2fda57aaf42719d0a3aae2256d513856583913b
Reviewed-on: http://git.am.freescale.net:8181/3427
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
On P3/P4/P5 platforms, as well as on P1023, FMan's default resource
allocation values are not enough to enable jumbo frame forwarding in the
absence of SG support. Enable the (previously deselected) FMan dynamic
resource allocation algorithm on those platforms, if the legacy
DPAA-Ethernet driver (missing SG support) is used.
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Change-Id: Iec8224c331b95903d57291312791ac6bf0b7fa8a
Reviewed-on: http://git.am.freescale.net:8181/3332
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
ENGR00270413
Change-Id: I9ca855698d1eaa93b7cb131d811f4c9dd6c72088
Reviewed-on: http://git.am.freescale.net:8181/3297
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
ENGR00269928
Change-Id: I7fa7fec2f1eef4b8233ed0d0069e30557adb4bda
Reviewed-on: http://git.am.freescale.net:8181/3296
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
ENGR00258538
Change-Id: If05f2a070c35c9884782d879566b04f40accfab8
Reviewed-on: http://git.am.freescale.net:8181/3295
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I69b5d2f92045daa71fd8dd6765596397fe736ef5
Reviewed-on: http://git.am.freescale.net:8181/3292
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Hamciuc Bogdan-BHAMCIU1 <bogdan.hamciuc@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
The mac handle can be retrieved without involving dpa_eth code.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I2cdd07b99af9150469d9274bff28c6acfcd57bde
Reviewed-on: http://git.am.freescale.net:8181/3073
Reviewed-by: Hamciuc Bogdan-BHAMCIU1 <bogdan.hamciuc@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Several functions wrapping NetCommSw calls are moved from the
dpa_eth driver code to the FMD Linux wrapper files.
Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
Change-Id: I68808913bb8072888980c818fa3c1078ead780b0
Reviewed-on: http://git.am.freescale.net:8181/3072
Reviewed-by: Hamciuc Bogdan-BHAMCIU1 <bogdan.hamciuc@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
One of the merged patches was no longer needed and the rest
break a large set of patches already prepared for review.
The required patches are available on top of the large patch set.
Revert "dpaa_eth: Handle buffer pool depletion"
This reverts commit 1fd9018f9c6a10932e86285c256bfdf50da8c0c1.
Revert "dpaa_eth: Fix pool counters on error path"
This reverts commit e8a66453a9b71d4d5290bd4962cc6ec2fda1b848.
Revert "dpaa_eth: Switch compile-time default optimization"
This reverts commit 47a79e454a7f54b96b3133e139e707944375edca.
Revert "fmd,dpaa_eth: Selectively reenable FMan allocation algorithm"
This reverts commit 3cc98fd0b85bdb61f83672fdc4609b68f0c7a75f.
Revert "dpaa_eth: Fix endless loop in case of memory depletion"
This reverts commit b676b243d7ccdd4879ea8c5fb74a6d3e2a7f2e5e.
Revert "dpaa_eth: Set a fixed upper limit for recycleable buffer size"
This reverts commit 252b622b8058a309d2429a33c2e0de089be896ac.
Revert "dpaa_eth: Fix computation of cache padding"
This reverts commit a3b310dbe6d25132698a88618e7ef52bc6749177.
Revert "dpaa_eth: Fix Tx/TxConfirm initialization bug"
This reverts commit 429d9f28709eb7c916d4c6da4cccfae33906c510.
Change-Id: I22765f8406f43bb2c7d84fbf5fdb67c74697a008
Reviewed-on: http://git.am.freescale.net:8181/3305
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
The initial patch was meant to allow the user to set any MTU she desires
without rebooting the system and changing the kernel bootargs.
This however led to problems when the user would manually choose
FSL_DPAA_ETH_OPTIMIZE_FOR_IPFWD, because the default MAX_FRAME_SIZE=9600
would remain selected and this wasn't all that obvious.
Reverting to the previous config selection is the best choice now.
This reverts commit 68dbabbdb1e28169a372530ca3712c3b63296322.
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Change-Id: I71499e9b86f8909d049ff4347c4fe035e67d704a
Reviewed-on: http://git.am.freescale.net:8181/2971
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Schmitt Richard-B43082 <B43082@freescale.com>
Tested-by: Schmitt Richard-B43082 <B43082@freescale.com>
|
|
On P3/P4/P5 platforms, as well as on P1023, FMan's default resource
allocation values are not enough to enable jumbo frame forwarding in the
absence of SG support. Enable the (previously deselected) FMan dynamic
resource allocation algorithm on those platforms, if the legacy
DPAA-Ethernet driver (missing SG support) is used.
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Change-Id: I6dfc9e2c624c123febfc4d2cbe8fe1fda660525d
Reviewed-on: http://git.am.freescale.net:8181/2929
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Lavi Mandy-R52568 <Mandy.Lavi@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Changed allocation of liodnBase to the Host Command.
For Fmanv3 platforms the first (index 1) Offline Port is not used
therefore the liodnBase should be set starting with index 2 not 1
CR:ENGR00261726
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
|
|
FSL_FM_MAX_FRAME_SIZE used to be conservatively set to 1522, to
accomodate the driver without S/G support. But in fact the default value
should depend on whether S/G support is available or not.
Using 9600 as the default max frame size, if S/G support is available in
the DPAA Ethernet driver.
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Change-Id: I82d4c0b41f4a46e3464eb4d64239bb3d4a4158dc
Reviewed-on: http://git.am.freescale.net:8181/2759
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I5efcdbe646486c9b1b0863a714fc49bc7d7ccb3f
Reviewed-on: http://git.am.freescale.net:8181/2754
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
CR:ENGR00263170
The previous default liodn_offset is no longer valid in sdk1.4
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I9acbe9433e4c569b197139d5d9201af740f318f0
Reviewed-on: http://git.am.freescale.net:8181/2732
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bulie Radu-Andrei-B37577 <Radu.Bulie@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
- PFC
Adjustments for PFC configuration constraints and limitations related to
port prefetch mode
- workaround ucode issues
Fix the following HW erratas regarding discard/error frames on V3:
FM_OP_NO_VSP_NO_RELEASE_ERRATA_FMAN_A006675 -
Description: OP without VSP will cause buffer leaks when instructed to discard a frame.
Workaround: FW will release the buffers.
FM_ERROR_VSP_NO_MATCH_SW006 -
Description: Any port with VSP enabled and multiple VSPs are configured
on this port can cause a situation where an error frame will
be enqueued to the error queue not with the default VSP.
Workaround: FW will replaced the current VSP with the default VSP
just before the frame is being enqueued to the error queue.
- Chosen-node new parameter support
errors-to-discard
Usage: optional
Value type: <u32>
Definition: Specifies which errors should be discarded.
Errors that are not in the mask, will not be discarded;
I.e. those errors will be enqueued and sent to the default error queue.
Change-Id: Ib468c67de88376e17d9c39ab5a0c8fc5b33b7b82
Reviewed-on: http://git.am.freescale.net:8181/2605
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Garg Vakul-B16394 <vakul@freescale.com>
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Reviewed-by: Chereji Marian-Cornel-R27762 <marian.chereji@freescale.com>
Reviewed-by: Wang Haiying-R54964 <Haiying.Wang@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
There were three separated definitions for the ptp timer nominal clock
frequency in fmd, dpaa-eth and 1588 drivers.
Now we use an unified macro DPA_PTP_NOMINAL_FREQ_PERIOD_NS for
the ptp timer clock config instead of the previous separated settings.
To keep DPA_PTP_NOMINAL_FREQ_PERIOD_NS is power of 2 will lead to better
1588 performance with less calculation(save 10% CPU load).
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: I8dbcb11cd546c1c0ba1cf63afd26a4a2502d9365
Reviewed-on: http://git.am.freescale.net:8181/2215
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Lavi Mandy-R52568 <Mandy.Lavi@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Restoring the autonegotiation settings as they were implemented
in the previously removed DtsecRestartTbiAN()
now implemented via FM_MAC_RestartAutoneg()
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I8c7412dfc86048c7134bf8ae2edcbf555b7c2242
Reviewed-on: http://git.am.freescale.net:8181/2294
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Prev fmd integration was fmd19
Diffs from fmd19 to fmd21:
Added kgHashShift to t_FmPcdHashTableParams
Added nonConsistentSp to t_FmPcdManipReassemIpStats
sp - 2 layers separation - for future flib integration
rtc - 2 layers separation - for future flib integration
PFC enhancement (B4 Rev2 FMAN)
API addition (for B4 rev 2): FM_PORT_SetPfcPrioritiesMappingToQmanWQ
File fsl_fman.h renamed to lnxwrp_fsl_fman.h
The name fsl_fman.h has been applied to other fman internal header file
In dpaa_eth:
Due to renaming of fsl_fman.h to lnxwrp_fsl_fman.h
The relevant include lines in some of the files had to change accordingly
Change-Id: I8f25c758963a44a75ca8676aad45f7f96767b0b5
Reviewed-on: http://git.am.freescale.net:8181/2069
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Remove the define of FM_CAPWAP_SUPPORT from P1023/dpaa_integration_ext.h.
Or building p1023rds with Fman support will fail with the error message:
In file included from drivers/net/ethernet/freescale/fman/src/
wrapper/lnxwrp_ioctls_fm.c:70:0:
include/uapi/linux/fmd/Peripherals/fm_pcd_ioctls.h:119:2: error:
................
................
make[7]: *** [drivers/net/ethernet/freescale/fman/src/wrapper/
lnxwrp_ioctls_fm.o] Error 1
make[6]: *** [drivers/net/ethernet/freescale/fman/src/wrapper] Error 2
make[5]: *** [drivers/net/ethernet/freescale/fman/src] Error 2
make[4]: *** [drivers/net/ethernet/freescale/fman] Error 2
make[3]: *** [drivers/net/ethernet/freescale] Error 2
make[2]: *** [drivers/net/ethernet] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Change-Id: I38009e5227de84cf47526c024c65ae645b364891
Reviewed-on: http://git.am.freescale.net:8181/2136
Reviewed-by: Zang Tiefei-R61911 <tie-fei.zang@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Change-Id: I15fc4457cf4f34813d98ef2a7938c8400b4cbc37
Reviewed-on: http://git.am.freescale.net:8181/1640
Reviewed-by: Lavi Mandy-R52568 <Mandy.Lavi@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Bypass Erratum dTSEC-A003 to allow pauseTime=0 to be set
in registry therefore allowing to disable the Pause Frames
on TX side.
dTSEC-A003: Back-to-back pause requests may cause 1588 TX timestamps
out of sync
Signed-off-by: Cristian Bercaru <cristian.bercaru@freescale.com>
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: Ibbc28d2f345c92da8682e8c59dca2e5a37f9be9a
Reviewed-on: http://git.am.freescale.net:8181/1631
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
This debug output was printing out a ton of messages on a perfectly
functional system.
Change-Id: I2377701d407b1b2f373997f58bc44c85f80182f1
Signed-off-by: Andy Fleming <afleming@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/1562
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
- The API enables other module to Set / Delete Rate Limiting Feature on a given FMAN port.
Change-Id: I28f0bdfb9ca2b1c97df6dfcb2456bc3730cfd7d2
Signed-off-by: Sachin Saxena <sachin.saxena@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/1377
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Currently fmd headers are in include/linux/ folder and "make headers_install"
doesn't install those headers, the headers in include/uapi/ will be installed.
so move fmd headers to include/uapi/linux.
Changes:
1. move fmd to include/uapi/linux
2. update include/uapi/linux/Kbuild to add fmd entry
3. update include path in ncsw_config.mk accordingly
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Change-Id: Id7c3ea81583792c3dc9d1e08e34ac759390cb977
Reviewed-on: http://git.am.freescale.net:8181/1268
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
BMAN and QMAN are merged, and both the DPAA Ethernet and FMAN
drivers require the QMAN/BMAN support to build. We therefore
note that dependency in the Kconfigs.
Change-Id: I7eda3375ca0e9e760cd7650be08c9b41acaac9af
Signed-off-by: Andy Fleming <afleming@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/1112
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Change-Id: Iaf0e4f3c420575e3857e4162d8832a32c0fa152b
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/1030
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|
|
Add fmd19 codebase, plus a minimal set of sources from dpaa-eth,
necessary for bare compilation
Change-Id: I390df8717671204e3d98a987135393bef4534e95
Signed-off-by: Mandy Lavi <mandy.lavi@freescale.com>
Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/1029
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
|