[dpdk-dev] [PATCH] i40e: Fix the endian issue for the i40e read&write registers functions

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Jul 14 22:03:53 CEST 2015


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.


More information about the dev mailing list