Re: [PATCH] NTB: ntb_tool: Add full multi-port NTB API support

2017-08-08 Thread Logan Gunthorpe
On 08/08/17 04:11 AM, Serge Semin wrote: > +static ssize_t tool_db_event_write(struct file *filep, > +const char __user *ubuf, > +size_t size, loff_t *offp) > +{ > + struct tool_ctx *tc = filep->private_data; > + u64 val; > +

Re: [PATCH] NTB: ntb_tool: Add full multi-port NTB API support

2017-08-08 Thread Logan Gunthorpe
On 08/08/17 04:11 AM, Serge Semin wrote: > NTB API has been updated to support multi-port devices like IDT > 89HPESx series or Microsemi Switchtec. Message registers > functionality has also been added to new API. In order to keep > the new hardware and corresponding capabilities well tested, NTB

[PATCH] NTB: ntb_tool: Add full multi-port NTB API support

2017-08-08 Thread Serge Semin
NTB API has been updated to support multi-port devices like IDT 89HPESx series or Microsemi Switchtec. Message registers functionality has also been added to new API. In order to keep the new hardware and corresponding capabilities well tested, NTB tool driver is accordingly altered. Signed-off-by