2015-07-14 18:36, Zhe Tao: > Linux kernel uses the writel and readl related functions to perform the PCI > memory access via ioremap region, > those functions will handle the big little endian properly by doing the > conversion between little and big endian if necessary, > so Add this conversion in the read&write registers functions for i40e.
You compare with the Linux implementation but you forget to describe the problem which would be a better justification.