Age | Commit message (Collapse) | Author |
|
drivers/staging/fsl_qbman/qman_high.c: In function 'qman_shutdown_fq':
drivers/staging/fsl_qbman/qman_high.c:4834:1: warning: control reaches
end of non-void function [-Wreturn-type]
drivers/staging/fsl_qbman/fsl_usdpaa.c: In function 'dump_frags':
drivers/staging/fsl_qbman/fsl_usdpaa.c:230:3: warning: format '%llx'
expects argument of type 'long long unsigned int', but argument 4 has
type 'long unsigned int' [-Wformat]
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Change-Id: Ia61d1b303f033b777658131e517f5f10b16bf6b0
Reviewed-on: http://git.am.freescale.net:8181/5632
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Thorpe Geoff-R01361 <Geoff.Thorpe@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Adding another way that is device tree to pass the shunt resistor
value to driver except for platform data.
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
[Guenter Roeck: Added missing of.h include]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Change-Id: I6596e57de7e9021a19d16e6060c3c78f83cc81c3
Reviewed-on: http://git.am.freescale.net:8181/4786
Reviewed-by: Hongtao Jia <hongtao.jia@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Public Key Cryptography added in Linux CryptoAPI. CryptoAPI till now
only supports symmetric ciphers and Digests. With support for asymmetric
ciphers, any cryptographic accelerator driver will be able to registers
its asymmetric cipher primitive functions
Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com>
Change-Id: Ice8409607c068f5d7d30e778bacdd18d6b43c138
Reviewed-on: http://git.am.freescale.net:8181/5639
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Geanta Neag Horia Ioan-B05471 <horia.geanta@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Add power sensor chip ina220 node in dts to support power monitoring
Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
Change-Id: Ie1367ccdb06e625a1d62f5b8f230e9b8b9d8fc0f
Reviewed-on: http://git.am.freescale.net:8181/4787
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Hongtao Jia <hongtao.jia@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
- Initialize all the portals at the boot time based cpu_possible_mask. Migrate
the portals on offline cpus to bootcpu when there is less cpu online at boot
time.
- Register cpu hotplug notifier to migrate the portals to boot cpu when cpus
are offlined, and migrate the portal back to original cpu when cpu is onlined.
- Re-direct irq and sdest of the portal in the migrate function.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Change-Id: Ica4d1b2b0fd3c3ae5e043663febd9f4cb7c762cf
Reviewed-on: http://git.am.freescale.net:8181/5452
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Ladouceur Jeffrey-R11498 <Jeffrey.Ladouceur@freescale.com>
Reviewed-by: Thorpe Geoff-R01361 <Geoff.Thorpe@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Some APIs might be called in a migration situation(e.g. cpu hotplug), and they
may need to continue accessing the portal that execution was affine to prior
to migration, we exend those APIs with qman_p_***.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Change-Id: I9b1422d1dfbd59561e3bf072af5c009047e4f47b
Reviewed-on: http://git.am.freescale.net:8181/5451
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Thorpe Geoff-R01361 <Geoff.Thorpe@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
- Initialize all the portals at the boot time based cpu_possible_mask. Migrate
the portals on offline cpus to bootcpu when there is less cpu online at boot
time.
- Register cpu hotplug notifier to migrate the portals to boot cpu when cpus
are offlined, and migrate the portal back to original cpu when cpu is onlined.
- Re-direct irq of the portal in the migrate function.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Change-Id: I863d5c15c7f35f9de4ea3d985e4ff467167924b7
Reviewed-on: http://git.am.freescale.net:8181/5453
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Ladouceur Jeffrey-R11498 <Jeffrey.Ladouceur@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Public Key Cryptography added in Linux CryptoAPI. CryptoAPI till now
only supports symmetric ciphers and Digests. With support for asymmetric
ciphers, any cryptographic accelerator driver will be able to registers
its asymmetric cipher primitive functions
Signed-off-by: Yashpal Dutta <yashpal.dutta@freescale.com>
Change-Id: I9af49fb2c40cec0f5ecb73da15b6e738ed3987b6
Reviewed-on: http://git.am.freescale.net:8181/5447
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
The USPDAA cleanup processing wasn't properly merging DMA memory fragments.
Also if a new portal needed to be allocated for Frame Queue cleanup it
wasn't properly assigned to the array of cleanup portals
Signed-off-by: Roy Pledge <Roy.Pledge@freescale.com>
Change-Id: I616d4bdbf1dd356267231e6b642cce112487ed1b
Reviewed-on: http://git.am.freescale.net:8181/5140
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Vakul Garg <vakul@freescale.com>
Reviewed-by: Wang Haiying-R54964 <Haiying.Wang@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
as per controller description,
"While programming a NAND flash, status read should never skipped.
Because it may happen that a new command is issued to the NAND Flash,
even when the device has not yet finished processing the previous request.
This may result in unpredictable behaviour."
IFC controller never polls for R/B signal after command send. It just return
control to software. This behaviour may not occur with NAND flash access.
because new commands are sent after polling R/B signal. But it may happen
in scenario where GPCM-ASIC and NAND flash device are working simultaneously.
Update the controller driver to take care of this requirement
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Change-Id: Iaac4b1a0b6b3def93a9f7d3e33624a35c10df85f
Reviewed-on: http://git.am.freescale.net:8181/5176
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Wood Scott-B07421 <scottwood@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
In case an error is encountered during probe, don't actually free
the structure containing global buffer pool information unless its
reference count has reached zero.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: Ica7b995ecf31a878a9e7685ec905119f1c38f17b
Reviewed-on: http://git.am.freescale.net:8181/5186
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
In function set_cnt_classif_node_retrieve_func the
switch was made based on enum dpa_stats_classif_node_type
but the case values were taken from enum dpa_cls_tbl_type.
Fix it by using case values from the correct enum.
Signed-off-by: Anca Jeanina FLOAREA <anca.floarea@freescale.com>
Change-Id: I041ad4ad56d84d9fd1f8424609c0efbe2da5c726
Reviewed-on: http://git.am.freescale.net:8181/5174
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Aurelian Zanoschi <Aurelian.Zanoschi@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@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>
|
|
|
|
|
|
|
|
The DPA classifier allowed the user to enable statistics only for
"enqueue" and "drop" type table entries. It now allows the user to
enable statistics also for the "next_table" type table entries.
Change-Id: I9d57af14922170a7554431b7ba5abcaaaeac04ac
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/5151
Reviewed-by: Floarea Anca Jeanina-B12569 <anca.floarea@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Make sure the support for buffer recycling on FMan v3 platforms
gets selected for the S/G driver as well.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I39cfaa9482f6204ddc2b788f635de39de6b4c8f3
Reviewed-on: http://git.am.freescale.net:8181/5146
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
The tbl pointer is dereference without it being previously
initialized. The code should use variable cnode instead of
tbl in case DPA Stats counters of type DPA_STATS_CNT_CLASSIF_NODE
is being created.
Signed-off-by: Anca Jeanina FLOAREA <anca.floarea@freescale.com>
Change-Id: I10f8cd233f850c339e82d44522f2005dfb9ab27f
Reviewed-on: http://git.am.freescale.net:8181/5149
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Marian-Cornel Chereji <marian.chereji@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
replic_grp_params variable would be freed a second time if the multicast
group creation function failed to obtain a group handle from the FMD
driver or imported from the user. The patch fixes the issue by freeing
the resource, before any checks are performed on the group handle.
Signed-off-by: Radu Bulie <radu.bulie@freescale.com>
Change-Id: I547b0a2d476e1cd57aa3b561efa9a2cba99b7e3f
Reviewed-on: http://git.am.freescale.net:8181/5147
Reviewed-by: Bulie Radu-Andrei-B37577 <Radu.Bulie@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Marian-Cornel Chereji <marian.chereji@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
At bootime, we currently initialize a NAPI instance per each
online core, per interface. Booting with a subset of cores and
bringing up more cores afterwards means that no NAPI instances
are created for the newly added cores.
Therefore we create a NAPI instance for each possible core in
the system such that there will always be <total_no_of_cores>
NAPI instances for each interface.
This also gurantees that we do enable/disable NAPI on all possible
cores at ifconfig up/down thus eliminating the need to keep track
of the cores that were online at the previous ifconfig operation.
Even though we do create a NAPI instance and enable it for all
possible cores (including offline cores), the scheduler ensures
that NAPI will not be scheduled on offline cores.
Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>
Change-Id: I666bbb870fb8645495a80343cdbefb047c086f4c
Reviewed-on: http://git.am.freescale.net:8181/5118
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>
|
|
command
IPSec module used to silently fail when an ioctl command was not
recognized. This may cause applications to take inconsistent (uninitialized)
data as granted.
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Change-Id: Id2ec3b0894d9d80332c279c976127c1d40345c7e
Reviewed-on: http://git.am.freescale.net:8181/5038
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Varvara Andrei-B21317 <andrei.varvara@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
function of quirks.c
In the fsl_pci.c, it has the quirk function: DECLARE_PCI_FIXUP_HEADER and
quirk_fsl_pcie_header. But for fixing the following notice information:
pci 0000:00:00.0: ignoring class 0x0b2000 (doesn't match header type 01)
We use the DECLARE_PCI_FIXUP_EARLY and quirk_fsl_pcie_early instead of
DECLARE_PCI_FIXUP_HEADER and quirk_fsl_pcie_header.
This patch reverts commit 586c2c9eb2bc5da79d8e093b2b7dd98b5050e094:
Remove the DECLARE_PCI_FIXUP_EARLY and quirk_freescale_class function in
the quirks.c, because they have the same function as DECLARE_PCI_FIXUP_EARLY
and quirk_fsl_pcie_early function in the fsl_pci.c.
At the same time, in the fsl_pci.c quirk_fsl_pcie_early function can handle
both of the RC devices and EP devices.
Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
Change-Id: Iee569a14eeedd9a09d4511494a59d07b03f63f95
Reviewed-on: http://git.am.freescale.net:8181/4898
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zang Tiefei-R61911 <tie-fei.zang@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
This reverts commit 63fed6856d1430c72cd9a83dc44150024191f7e0
The above patch did not take p1010rdb_36b.dts into account.
Change-Id: Ie52e9ce778b94d6578dabbed647f67132637be1a
Reviewed-on: http://git.am.freescale.net:8181/5045
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zang Tiefei-R61911 <tie-fei.zang@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
|
|
|
|
|
|
The static indexes used in recursive functions "init_hm_chain" and
"remove_hm_chain" were not initialized. Also, "remove_hm_chain" was
not decrementing this index as it removed header manipulations.
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Change-Id: I00bd44c00749578a4c785741082e0ad2c1076c27
Reviewed-on: http://git.am.freescale.net:8181/4412
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bulie Radu-Andrei-B37577 <Radu.Bulie@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Change-Id: Ibe6ba10afc6447cf284b27cc7e3caed854eab304
Reviewed-on: http://git.am.freescale.net:8181/4413
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bulie Radu-Andrei-B37577 <Radu.Bulie@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Current IFC driver supports till 4K page size NAND flash.
Add support of 8K Page size NAND flash
- Add nand_ecclayout for 4 bit & 8 bit ecc
- Defines constants
- also fix ecc.strength for 8bit ecc of 8K page size NAND
Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Change-Id: I58b7cab3723ea71ffa6c02ab4b3e3f70b3446e3b
Reviewed-on: http://git.am.freescale.net:8181/4984
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Wood Scott-B07421 <scottwood@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
P1010rdb-pa and p1010rdb-pb have different phy interrupts.
So update dts to adapt to both p1010rdb-pa and p1010rdb-pb.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Zhao Qiang <B45475@freescale.com>
Change-Id: Ic5fecddf8592ad94251ed0e8065a842b19b33809
Reviewed-on: http://git.am.freescale.net:8181/4932
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zang Tiefei-R61911 <tie-fei.zang@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Now MTD_M25P80 doesn't need to depend on EXPERIMENTAL, which limited the use of M25P80 SPI flash.
So we remove the unused EXPERIMENTAL to have MTD_M25P80(needed by P1010RDB-PB, etc) work.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Signed-off-by: Zhao Qiang <B45475@freescale.com>
Change-Id: I6559a3992713666635ba6a51c75b24f5e8f50a2b
Reviewed-on: http://git.am.freescale.net:8181/4944
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zang Tiefei-R61911 <tie-fei.zang@freescale.com>
Reviewed-by: Hu Mingkai-B21284 <Mingkai.Hu@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Signed-off-by: Bogdan Purcareata <bogdan.purcareata@freescale.com>
Change-Id: I275599fb91da3e8fa3f89317676405541a19ae16
Reviewed-on: http://git.am.freescale.net:8181/4897
Reviewed-by: Caraman Mihai Claudiu-B02008 <mihai.caraman@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Make the VLAN support enabled by default for all DPAA platforms.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: Ie61b97ecc3ffb898e4a540aec883a31bd4d5228d
Reviewed-on: http://git.am.freescale.net:8181/4881
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Enable CONFIG_AT803X_PHY to support AR8030/8033/8035 PHY.
Currently this is required for P1010RDB-PB board, and for
more boards future as well.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: Ib15de3bb13fce81ab761e1f69042a6142e5626f0
Reviewed-on: http://git.am.freescale.net:8181/4362
Reviewed-by: Zang Tiefei-R61911 <tie-fei.zang@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: I841731e258b147b425aec91224e1fff6ed4d4239
Reviewed-on: http://git.am.freescale.net:8181/4363
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Zang Tiefei-R61911 <tie-fei.zang@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
The driver fails to allocate a huge amount of memory in order
to support 512 counters. Fixed it by changing memory allocation
from static to dynamic for certain structure members. Counters
that do not support the modify action will continue to have
the memory allocated static.
Change-Id: Ibdf76a9ce9e1a11d590166a2f93bbfd282edbeea
Signed-off-by: Anca Jeanina FLOAREA <anca.floarea@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/5009
Reviewed-by: Zanoschi Aurelian-B43522 <Aurelian.Zanoschi@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
As key masks are not supported in HASH tables, the DPA Classifier was
refusing to add an entry to a HASH table with a key that had
any mask (mask pointer not NULL). This was changed so that the DPA
Classifier can recognize a 0xff mask all over and ignore it. Any other
(more complex) mask will still be refused.
Change-Id: I0732d873fa5d10def4f2646c2bd248aadcffa736
Signed-off-by: Marian Chereji <marian.chereji@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/4911
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bulie Radu-Andrei-B37577 <Radu.Bulie@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
|
|
In some case like KVM guest or upstream dts without dpa module, the portal is
not available, thus the kernel crashes at qbman_init because we query fq np
field without checking portal availability. This patch fixes this issue.
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
Change-Id: I4c792cf4413049de174f6f5a71d4194fbfbacc48
Reviewed-on: http://git.am.freescale.net:8181/4421
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Pledge Roy-R01356 <roy.pledge@freescale.com>
Reviewed-by: Thorpe Geoff-R01361 <Geoff.Thorpe@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
|
|
|
|
|
|
The current sysfs code shows only the default buffer pool. With this
patch, sysfs code will show all created buffer pools, including the
default one.
Signed-off-by: Marian Rotariu <marian.rotariu@freescale.com>
Change-Id: Ia3ff0e72f2806f7a0d7e94a520b12829af8a6a23
Reviewed-on: http://git.am.freescale.net:8181/4847
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I3cc85c746ac1449e1d8a4192ba680c3083adebb8
Reviewed-on: http://git.am.freescale.net:8181/4842
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Recent changes in the driver moved the allocation of the skb on Rx
past the point where the timestamp/1588 code used the skb.
Reorder a bit the code to avoid NULL pointer dereferencing.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I65acb8f1a055d925434a5361ca4570032bae9047
Reviewed-on: http://git.am.freescale.net:8181/4841
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Organize all Ethernet driver options under CONFIG_FSL_DPAA_ETH
(as opposed to the current Kconfig flat structure).
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I5285ff7fa935b933b439581fbee078a3518ea986
Reviewed-on: http://git.am.freescale.net:8181/4840
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
Add a Kconfig option that enables debug support in the driver.
For a start, move (most of) the BUG_ON()'s in the driver's fastpath
under this debug option.
New debug information (such as trace events, frame content dumps, etc)
can be added later under the same umbrella.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I8023a75751cdad9e80d96957b9071f707a03e2b2
Reviewed-on: http://git.am.freescale.net:8181/4839
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
The timestamping code relies on Tx confirmation routine to get the
Tx timestamp of a frame. So if timestamp support is activated, don't
recycle frames at all.
Also fix a couple of compilation warnings when building with
timestamp support on.
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: I5ee3a5b727e28ee337dc9da5c16ad0d1dabe4317
Reviewed-on: http://git.am.freescale.net:8181/4838
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|
|
A bit of cleanup in function skb_to_contig_fd().
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@freescale.com>
Change-Id: Ifbf32b298d1588574b9eabf90d0bd1607b733d2c
Reviewed-on: http://git.am.freescale.net:8181/4837
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Bucur Madalin-Cristian-B32716 <madalin.bucur@freescale.com>
Reviewed-by: Cristian-Constantin Sovaiala <Cristian.Sovaiala@freescale.com>
Reviewed-by: Rivera Jose-B46482 <German.Rivera@freescale.com>
|