RE: [Patch v3 01/17] net/mana: add basic driver, build environment and doc

2022-07-07 Thread Long Li
> Subject: Re: [Patch v3 01/17] net/mana: add basic driver, build environment > and > doc > > On Thu, 7 Jul 2022 13:30:06 -0700 > lon...@linuxonhyperv.com wrote: > > > + file = fopen(path, "rb"); > > Minor nit, if you make any later changes. >

Re: [Patch v3 01/17] net/mana: add basic driver, build environment and doc

2022-07-07 Thread Stephen Hemminger
On Thu, 7 Jul 2022 13:30:06 -0700 lon...@linuxonhyperv.com wrote: > +static int mana_pci_probe_mac(struct rte_pci_driver *pci_drv __rte_unused, > + struct rte_pci_device *pci_dev, > + struct rte_ether_addr *mac_addr) > +{ > + struct ibv_devi

Re: [Patch v3 01/17] net/mana: add basic driver, build environment and doc

2022-07-07 Thread Stephen Hemminger
On Thu, 7 Jul 2022 13:30:06 -0700 lon...@linuxonhyperv.com wrote: > + file = fopen(path, "rb"); Minor nit, if you make any later changes. "rb" is same as "r" on Linux. b means binary, and this is actually a text file.

[Patch v3 01/17] net/mana: add basic driver, build environment and doc

2022-07-07 Thread longli
From: Long Li MANA is a PCI device. It uses IB verbs to access hardware through the kernel RDMA layer. This patch introduces build environment and basic device probe functions. Signed-off-by: Long Li --- Change log: v2: Fix typos. Make the driver build only on x86-64 and Linux. Remove unused he