summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/en_rx.c
diff options
context:
space:
mode:
authorHariprasad Shenai <hariprasad@chelsio.com>2015-07-03 16:10:51 +0530
committerDavid S. Miller <davem@davemloft.net>2015-07-03 09:54:02 -0700
commitfda8b18c515a5e2caf821887ceafb42c35094eaf (patch)
treed39156760912e11884707e15eb7389d6aaa11069 /drivers/net/ethernet/mellanox/mlx4/en_rx.c
parent4c938d22c88a9ddccc8c55a85e0430e9c62b1ac5 (diff)
downloadblackbird-op-linux-fda8b18c515a5e2caf821887ceafb42c35094eaf.tar.gz
blackbird-op-linux-fda8b18c515a5e2caf821887ceafb42c35094eaf.zip
cxgb4: Fix incorrect sequence numbers shown in devlog
Part of commit 49aa284fe64c4c1 ("cxgb4: Add support for devlog") change introduced a real bug where the Device Log Sequence Numbers are no longer being converted from firmware Big-Endian to local CPU-Endian format. This patch moves all of the translation into the devlog_show() routine. The only endianness code now in devlog_open() is the small loop to find the earliest (lowest Sequence Number) Device Log entry in the circular buffer. Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/en_rx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud