Claudiu Manoil
9c9141fd04
net: tsec: Use portable types and accessors for BDs
...
Currently, the buffer descriptor (BD) fields cannot be
correctly accessed by a little endian processor. This
patch fixes the issue by making the access of BDs to be
portable among different cpu architectures.
Use portable data types for the Rx/Tx buffer descriptor
fields. Use portable I/O accessors to insure that the
big endian BDs are correctly accessed by little endian
cpus too, and to insure proper sync with the H/W.
Removed the redundant RTXBD "volatile" type, as proper
synchronization around BD data accesses is provided by
the I/O accessors now.
The "sparse" tool was also used to verify the correctness
of these changes.
Cc: Scott Wood <scottwood@freescale.com >
Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com >
2013-11-22 17:03:16 -06:00
..
2013-07-24 09:44:38 -04:00
2013-11-04 11:06:16 -05:00
2013-04-01 16:33:52 -04:00
2013-11-17 14:11:34 -05:00
2013-07-25 08:51:51 -04:00
2013-04-01 16:33:52 -04:00
2013-10-09 12:52:16 -05:00
2013-11-08 15:25:13 -05:00
2013-07-24 09:44:38 -04:00
2013-07-30 09:11:54 +02:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-24 09:35:09 -07:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-09-06 13:09:07 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-08-19 15:34:13 -04:00
2013-10-14 16:06:53 -04:00
2013-11-08 09:41:37 -05:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-08-15 18:38:36 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-11-08 15:25:13 -05:00
2013-04-28 11:07:40 +02:00
2013-04-19 15:03:27 -04:00
2013-03-27 15:30:11 -04:00
2013-11-08 15:25:12 -05:00
2013-07-24 09:44:38 -04:00
2013-07-26 16:39:11 -04:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-10-16 16:15:16 -07:00
2013-10-20 23:42:40 +02:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-10-31 09:55:33 +02:00
2013-08-20 09:57:51 -07:00
2013-06-26 10:07:11 -04:00
2013-08-12 23:32:20 +02:00
2013-08-19 15:45:35 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-15 17:06:13 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-05-10 19:04:50 -04:00
2013-10-20 23:42:38 +02:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-10-24 09:35:59 -07:00
2013-07-24 09:44:38 -04:00
2013-10-07 15:54:18 -04:00
2013-07-24 09:44:38 -04:00
2013-08-20 09:47:26 -07:00
2013-11-22 17:03:15 -06:00
2013-07-24 09:44:38 -04:00
2013-08-14 11:29:51 -07:00
2013-07-24 09:44:38 -04:00
2013-11-08 20:46:20 +01:00
2013-10-14 16:06:53 -04:00
2013-07-25 08:51:48 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-17 07:20:25 +02:00
2013-09-24 09:10:33 -04:00
2013-07-24 09:44:38 -04:00
2013-07-25 08:51:51 -04:00
2013-08-31 15:26:52 +02:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:45:01 -04:00
2013-09-20 10:29:48 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-04-01 16:33:52 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-11-22 16:50:51 -06:00
2013-09-20 10:30:54 -04:00
2013-07-24 09:44:38 -04:00
2013-10-31 09:55:33 +02:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-08-20 09:57:51 -07:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-11-09 17:21:01 +01:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-11-22 16:57:13 -06:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-04-12 07:55:08 +02:00
2013-07-24 09:44:38 -04:00
2013-10-20 23:42:39 +02:00
2013-10-14 16:06:53 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-25 08:51:48 -04:00
2013-11-09 17:21:01 +01:00
2013-11-09 17:21:01 +01:00
2013-11-09 17:21:01 +01:00
2013-07-24 09:44:38 -04:00
2013-11-22 16:50:52 -06:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-05-01 11:17:21 -04:00
2013-11-12 10:08:48 +01:00
2013-07-24 09:44:38 -04:00
2013-09-17 20:03:43 +03:00
2013-07-24 09:45:01 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-08-20 11:35:24 -04:00
2013-10-17 09:43:25 +09:00
2013-07-24 09:44:38 -04:00
2013-05-01 16:24:00 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-11-12 10:03:45 +01:00
2013-07-24 09:44:38 -04:00
2013-07-08 20:21:24 +02:00
2013-07-24 09:44:38 -04:00
2013-08-13 08:38:29 +02:00
2013-07-24 09:44:38 -04:00
2013-11-08 09:39:13 -05:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-30 09:21:42 -04:00
2013-10-20 23:42:41 +02:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-11-22 17:03:16 -06:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-04-11 15:52:54 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-10-20 23:42:38 +02:00
2013-07-24 09:44:38 -04:00
2013-11-08 20:46:19 +01:00
2013-11-08 20:46:19 +01:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-10-30 10:48:37 +01:00
2013-11-08 09:41:37 -05:00
2013-08-12 22:28:41 +02:00
2013-08-12 22:34:09 +02:00
2013-08-28 11:44:59 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:44:38 -04:00
2013-10-14 16:06:53 -04:00
2013-07-24 09:44:38 -04:00
2013-07-24 09:45:01 -04:00
2013-08-12 08:01:50 +02:00