<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/mlx4/cmd.h, branch v3.10.36</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.36</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.36'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-04-27T03:29:14Z</updated>
<entry>
<title>net/mlx4: Add support to get VF config</title>
<updated>2013-04-27T03:29:14Z</updated>
<author>
<name>Rony Efraim</name>
<email>ronye@mellanox.com</email>
</author>
<published>2013-04-25T05:22:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2cccb9e4f3476da916146c2ec571c4f3eff738b1'/>
<id>urn:sha1:2cccb9e4f3476da916146c2ec571c4f3eff738b1</id>
<content type='text'>
Support getting VF config.

Signed-off-by: Rony Efraim &lt;ronye@mellanox.com&gt;
Signed-off-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/mlx4: Add VF MAC spoof checking support</title>
<updated>2013-04-27T03:29:14Z</updated>
<author>
<name>Rony Efraim</name>
<email>ronye@mellanox.com</email>
</author>
<published>2013-04-25T05:22:29Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e6b6a2316379feebebacec0979b3ebc5743e7502'/>
<id>urn:sha1:e6b6a2316379feebebacec0979b3ebc5743e7502</id>
<content type='text'>
Add ndo_set_vf_spoofchk support

Signed-off-by: Rony Efraim &lt;ronye@mellanox.com&gt;
Signed-off-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/mlx4: Add set VF default vlan ID and priority support</title>
<updated>2013-04-27T03:29:13Z</updated>
<author>
<name>Rony Efraim</name>
<email>ronye@mellanox.com</email>
</author>
<published>2013-04-25T05:22:28Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3f7fb021d081c8aaac1d0cf69a288d21625e872e'/>
<id>urn:sha1:3f7fb021d081c8aaac1d0cf69a288d21625e872e</id>
<content type='text'>
Add support to ndo_set_vf_vlan in the driver. Once this call is used the vport
is considered to be in VST mode. In this mode, the PPF driver configures
Ethernet QPs created by this VF to use this vlan id and priority. Currently
RoCE isn't supported on that mode.

The special values of VID=4095 or VID=0,UP=0 are considered as VGT.

Signed-off-by: Rony Efraim &lt;ronye@mellanox.com&gt;
Signed-off-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/mlx4: Add set VF mac address support</title>
<updated>2013-04-27T03:29:13Z</updated>
<author>
<name>Rony Efraim</name>
<email>ronye@mellanox.com</email>
</author>
<published>2013-04-25T05:22:27Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8f7ba3ca12f6f16526fa4a8aaf2cae91563eee69'/>
<id>urn:sha1:8f7ba3ca12f6f16526fa4a8aaf2cae91563eee69</id>
<content type='text'>
Add ndo_set_vf_mac support which allows to set the MAC address
for mlx4 VF Ethernet NICs from the host.

Signed-off-by: Rony Efraim &lt;ronye@mellanox.com&gt;
Signed-off-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/mlx4_core: Add firmware commands to support device managed flow steering</title>
<updated>2012-07-07T23:23:05Z</updated>
<author>
<name>Hadar Hen Zion</name>
<email>hadarh@mellanox.co.il</email>
</author>
<published>2012-07-05T04:03:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8fcfb4db74352d3d447b7a559ad54f7577074d19'/>
<id>urn:sha1:8fcfb4db74352d3d447b7a559ad54f7577074d19</id>
<content type='text'>
Add support for firmware commands to attach/detach a new device managed
steering mode. Such network steering rules allow the user to provide an
L2/L3/L4 flow specification to the firmware and have the device to steer
traffic that matches that specification to the provided QP.

Signed-off-by: Hadar Hen Zion &lt;hadarh@mellanox.co.il&gt;
Signed-off-by: Or Gerlitz &lt;ogerlitz@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net/mlx4_core: set port QoS attributes</title>
<updated>2012-04-05T09:08:03Z</updated>
<author>
<name>Amir Vadai</name>
<email>amirv@mellanox.com</email>
</author>
<published>2012-04-04T21:33:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e5395e92a470769d67369c002a41e59619f5214b'/>
<id>urn:sha1:e5395e92a470769d67369c002a41e59619f5214b</id>
<content type='text'>
Adding QoS firmware commands:
- mlx4_en_SET_PORT_PRIO2TC - set UP &lt;=&gt; TC
- mlx4_en_SET_PORT_SCHEDULER - set promised BW, max BW and PG number

Signed-off-by: Amir Vadai &lt;amirv@mellanox.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Modify driver initialization flow to accommodate SRIOV for Ethernet</title>
<updated>2011-12-13T18:56:08Z</updated>
<author>
<name>Jack Morgenstein</name>
<email>jackm@dev.mellanox.co.il</email>
</author>
<published>2011-12-13T04:18:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ab9c17a009ee8eb8c667f22dc0be0709effceab9'/>
<id>urn:sha1:ab9c17a009ee8eb8c667f22dc0be0709effceab9</id>
<content type='text'>
1. Added module parameters sr_iov and probe_vf for controlling enablement of
   SRIOV mode.
2. Increased default max num-qps, num-mpts and log_num_macs to accomodate
   SRIOV mode
3. Added port_type_array as a module parameter to allow driver startup with
   ports configured as desired.
   In SRIOV mode, only ETH is supported, and this array is ignored; otherwise,
   for the case where the FW supports both port types (ETH and IB), the
   port_type_array parameter is used.
   By default, the port_type_array is set to configure both ports as IB.
4. When running in sriov mode, the master needs to initialize the ICM eq table
   to hold the eq's for itself and also for all the slaves.
5. mlx4_set_port_mask() now invoked from mlx4_init_hca, instead of in mlx4_dev_cap.
6. Introduced sriov VF (slave) device startup/teardown logic (mainly procedures
   mlx4_init_slave, mlx4_slave_exit, mlx4_slave_cap, mlx4_slave_exit and flow
   modifications in __mlx4_init_one, mlx4_init_hca, and mlx4_setup_hca).
   VFs obtain their startup information from the PF (master) device via the
   comm channel.
7. In SRIOV mode (both PF and VF), MSI_X must be enabled, or the driver
   aborts loading the device.
8. Do not allow setting port type via sysfs when running in SRIOV mode.
9. mlx4_get_ownership:  Currently, only one PF is supported by the driver.
   If the HCA is burned with FW which enables more than one PF, only one
   of the PFs is allowed to run.  The first one up grabs a FW ownership
   semaphone -- all other PFs will find that semaphore taken, and the
   driver will not allow them to run.

Signed-off-by: Jack Morgenstein &lt;jackm@dev.mellanox.co.il&gt;
Signed-off-by: Yevgeny Petrilin &lt;yevgenyp@mellanox.co.il&gt;
Signed-off-by: Liran Liss &lt;liranl@mellanox.co.il&gt;
Signed-off-by: Marcel Apfelbaum &lt;marcela@mellanox.co.il&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Add "native" argument to mlx4_cmd and its callers (where needed)</title>
<updated>2011-12-13T18:56:05Z</updated>
<author>
<name>Jack Morgenstein</name>
<email>jackm@dev.mellanox.co.il</email>
</author>
<published>2011-12-13T04:10:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f9baff509f8a05a79626defdbdf4f4aa4efd373b'/>
<id>urn:sha1:f9baff509f8a05a79626defdbdf4f4aa4efd373b</id>
<content type='text'>
For SRIOV, some Hypervisor commands can be executed directly (native = 1).
Others should go through the command wrapper flow (for tracking resource
usage, for example, or for changing some HCA configurations that slaves
need to be notified of).

This patch sets the groundwork for this capability -- adding the correct
value of "native" in each case.

Note that if SRIOV is not activated, this parameter has no effect.

Signed-off-by: Jack Morgenstein &lt;jackm@dev.mellanox.co.il&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mlx4_core: initial header-file changes for SRIOV support</title>
<updated>2011-12-13T18:56:05Z</updated>
<author>
<name>Jack Morgenstein</name>
<email>jackm@dev.mellanox.co.il</email>
</author>
<published>2011-12-13T04:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=623ed84b1f9553bc962c2aca92f488aa6f27ecd1'/>
<id>urn:sha1:623ed84b1f9553bc962c2aca92f488aa6f27ecd1</id>
<content type='text'>
These changes will not affect module operation as yet. They
are only to get some structs and enums in place for use by
subsequent patches (making those smaller).

Added here:
* sriov state structs and inlines (mlx4_is_master/slave/mfunc)
* comm-channel and vhcr support structures
* enum values for new FW and comm-channel virtual commands
  (i.e., commands, passed via the comm channel to the PF-driver).
* prototypes for many command wrapper functions (used by the
  PF context for processing FW commands passed to it by the VFs).
* struct mlx4_eqe is moved from eq.c to mlx4.h (it will be used
  by other mlx4_core source files).

Signed-off-by: Jack Morgenstein &lt;jackm@dev.mellanox.co.il&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>mlx4_core: Add network flow counters</title>
<updated>2011-07-19T04:04:34Z</updated>
<author>
<name>Or Gerlitz</name>
<email>ogerlitz@mellanox.com</email>
</author>
<published>2011-06-15T14:47:14Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f2a3f6a32cf64db1495b5ced8625b9a80bde44e5'/>
<id>urn:sha1:f2a3f6a32cf64db1495b5ced8625b9a80bde44e5</id>
<content type='text'>
ConnectX devices support a set of flow counters that can be attached
to a set containing one or more QPs.  Each such counter tracks receive
and transmit packets and bytes of these QPs.  This patch queries the
device to check support for counters, handles initialization of the
HCA to enable counters, and initializes a bitmap allocator to control
counter allocations.  Derived from patch by Eli Cohen &lt;eli@mellanox.co.il&gt;.

Signed-off-by: Or Gerlitz &lt;ogerlitz@mellanox.co.il&gt;
Signed-off-by: Roland Dreier &lt;roland@purestorage.com&gt;
</content>
</entry>
</feed>
