Re: [dpdk-dev] [PATCH 1/2] eal/bsd: fix ioport write operation

2017-05-08 Thread Bruce Richardson
On Mon, May 08, 2017 at 05:07:36PM +0800, Tiwei Bie wrote: > On Mon, May 08, 2017 at 09:55:01AM +0100, Bruce Richardson wrote: > > On Sun, May 07, 2017 at 01:33:33PM +, Tiwei Bie wrote: > > > The first param of out*() on FreeBSD is port, and the second one is > > > data. But they are reversed i

Re: [dpdk-dev] [PATCH 1/2] eal/bsd: fix ioport write operation

2017-05-08 Thread Tiwei Bie
On Mon, May 08, 2017 at 09:55:01AM +0100, Bruce Richardson wrote: > On Sun, May 07, 2017 at 01:33:33PM +, Tiwei Bie wrote: > > The first param of out*() on FreeBSD is port, and the second one is > > data. But they are reversed in DPDK. This patch fixes it. > > > > Fixes: 756ce64b1ecd ("eal: in

Re: [dpdk-dev] [PATCH 1/2] eal/bsd: fix ioport write operation

2017-05-08 Thread Bruce Richardson
On Sun, May 07, 2017 at 01:33:33PM +, Tiwei Bie wrote: > The first param of out*() on FreeBSD is port, and the second one is > data. But they are reversed in DPDK. This patch fixes it. > > Fixes: 756ce64b1ecd ("eal: introduce PCI ioport API") Cc: > sta...@dpdk.org > > Signed-off-by: Tiwei Bie

[dpdk-dev] [PATCH 1/2] eal/bsd: fix ioport write operation

2017-05-07 Thread Tiwei Bie
The first param of out*() on FreeBSD is port, and the second one is data. But they are reversed in DPDK. This patch fixes it. Fixes: 756ce64b1ecd ("eal: introduce PCI ioport API") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie --- lib/librte_eal/bsdapp/eal/eal_pci.c | 6 +++--- 1 file changed, 3