diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-07-27 06:14:39 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-30 02:30:29 +0400 |
commit | 4984c23735132790e8f2dfdd35849dba3bd7264f (patch) | |
tree | e6a25c11461dcdeed9b8889c662e3434c14b7f25 /net | |
parent | 772e7023e61f32c8c334d420c6ce0ab1535dd080 (diff) | |
download | linux-4984c23735132790e8f2dfdd35849dba3bd7264f.tar.xz |
sfc: Use __iowrite64_copy instead of a slightly different local function
__iowrite64_copy() isn't quite the same as efx_memcpy_64(), but
it looks close enough:
- The length is in units of qwords not bytes
- It never byte-swaps, but that doesn't make a difference now as PIO
is only enabled for x86_64
- It doesn't include any memory barriers, but that's OK as there is a
barrier just before pushing the doorbell
- mlx4_en uses it for the same purpose
Compile-tested only.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions