linux/drivers/net/ethernet/mellanox/mlx5/core
Thomas Gleixner 14a7004671 net: mlx5: Use ktime_get_ns()
This code is beyond silly:

     struct timespec ts = ktime_get_ts();
     ktime_t ktime = timespec_to_ktime(ts);

Further down the code builds the delta of two ktime_t values and
converts the result to nanoseconds.

Use ktime_get_ns() and replace all the nonsense.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Eli Cohen <eli@mellanox.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2014-07-23 15:01:43 -07:00
..
alloc.c
cmd.c net: mlx5: Use ktime_get_ns() 2014-07-23 15:01:43 -07:00
cq.c IB/mlx5: Add support for resize CQ 2014-01-22 23:23:50 -08:00
debugfs.c mlx5_core: Improve debugfs readability 2014-01-22 23:23:50 -08:00
eq.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
fw.c net/mlx5_core: Support MANAGE_PAGES and QUERY_PAGES firmware command changes 2013-08-15 15:42:57 -07:00
health.c mlx5: remove health handler plugin 2013-08-05 11:04:12 -07:00
Kconfig IB/mlx5: Remove dependency on X86 2014-02-13 20:48:02 -08:00
mad.c
main.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
Makefile
mcg.c
mlx5_core.h mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
mr.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
pagealloc.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
pd.c
port.c mlx5_core: Fix out arg size in access_register command 2014-01-22 23:23:44 -08:00
qp.c mellanox: Logging message cleanups 2014-05-08 23:42:02 -04:00
srq.c
uar.c mlx5: fix error return code in mlx5_alloc_uuars() 2013-07-30 19:33:45 -07:00