On 9/12/20 8:19 AM, Oded Gabbay wrote:
> On Sat, Sep 12, 2020 at 6:07 PM Randy Dunlap wrote:
>>
>> Hi,
>>
>> On 9/12/20 7:41 AM, Oded Gabbay wrote:
>>> +#define HL_IOCTL_NIC _IOWR('H', 0x07, struct hl_nic_args)
>>
>>
>> ioctl numbers ('H') should be documented in
>> Documentation/userspace-api/ioc
On Sat, Sep 12, 2020 at 6:07 PM Randy Dunlap wrote:
>
> Hi,
>
> On 9/12/20 7:41 AM, Oded Gabbay wrote:
> > +#define HL_IOCTL_NIC _IOWR('H', 0x07, struct hl_nic_args)
>
>
> ioctl numbers ('H') should be documented in
> Documentation/userspace-api/ioctl/ioctl-number.rst
>
> Sorry if I missed seeing
Hi,
On 9/12/20 7:41 AM, Oded Gabbay wrote:
> +#define HL_IOCTL_NIC _IOWR('H', 0x07, struct hl_nic_args)
ioctl numbers ('H') should be documented in
Documentation/userspace-api/ioctl/ioctl-number.rst
Sorry if I missed seeing that. (I scanned quickly.)
thanks.
--
~Randy
From: Omer Shpigelman
Add Queue Pair (QP) opcodes to the NIC ioctl.
A QP represents a connection between two Gaudi ports. Each port currently
supports 1024 QPs where QP 0 is reserved for the driver for Ethernet.
User-space process needs to create a QP in order to communicate with other
Gaudis.