]> git.karo-electronics.de Git - linux-beck.git/commit
net: hns: modify buffer format of cpu data to le64
authorQianqian Xie <xieqianqian@huawei.com>
Wed, 9 Nov 2016 18:13:53 +0000 (18:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2016 16:45:37 +0000 (11:45 -0500)
commitd30721d459fb73a797f004b0d05e8eab2e7f1944
tree711c9322a33d7552367d2ebf0cc7f607d7026a43
parent20b3385aaab5af5127fa957bcfcaf0bd92b61447
net: hns: modify buffer format of cpu data to le64

Hardware ring buffer data is stored in Little-endian. Thus cpu data
should be modified to Little-endian.

Signed-off-by: Qianqian Xie <xieqianqian@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hnae.h