<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/net/ethernet/amazon, branch dev-4.10</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.10</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.10'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2016-10-26T21:21:59+00:00</updated>
<entry>
<title>net: ena: use setup_timer() and mod_timer()</title>
<updated>2016-10-26T21:21:59+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyongjun1@huawei.com</email>
</author>
<published>2016-10-22T14:36:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f850b4a77d71a9cac513dadff91891a78c12ba05'/>
<id>urn:sha1:f850b4a77d71a9cac513dadff91891a78c12ba05</id>
<content type='text'>
Use setup_timer() instead of init_timer(), being the preferred/standard
way to set a timer up.

Also, quoting the mod_timer() function comment:
-&gt; mod_timer() is a more efficient way to update the expire field of an
   active timer (if the timer is inactive it will be activated).

Use setup_timer and mod_timer to setup and arm a timer, to make the code
cleaner and easier to read.

Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ethernet: use net core MTU range checking in more drivers</title>
<updated>2016-10-20T18:51:08+00:00</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2016-10-20T17:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=d894be57ca92c8a8819ab544d550809e8731137b'/>
<id>urn:sha1:d894be57ca92c8a8819ab544d550809e8731137b</id>
<content type='text'>
Somehow, I missed a healthy number of ethernet drivers in the last pass.
Most of these drivers either were in need of an updated max_mtu to make
jumbo frames possible to enable again. In a few cases, also setting a
different min_mtu to match previous lower bounds. There are also a few
drivers that had no upper bounds checking, so they're getting a brand new
ETH_MAX_MTU that is identical to IP_MAX_MTU, but accessible by includes
all ethernet and ethernet-like drivers all have already.

acenic:
- min_mtu = 0, max_mtu = 9000

amazon/ena:
- min_mtu = 128, max_mtu = adapter-&gt;max_mtu

amd/xgbe:
- min_mtu = 0, max_mtu = 9000

sb1250:
- min_mtu = 0, max_mtu = 1518

cxgb3:
- min_mtu = 81, max_mtu = 65535

cxgb4:
- min_mtu = 81, max_mtu = 9600

cxgb4vf:
- min_mtu = 81, max_mtu = 65535

benet:
- min_mtu = 256, max_mtu = 9000

ibmveth:
- min_mtu = 68, max_mtu = 65535

ibmvnic:
- min_mtu = adapter-&gt;min_mtu, max_mtu = adapter-&gt;max_mtu
- remove now redundant ibmvnic_change_mtu

jme:
- min_mtu = 1280, max_mtu = 9202

mv643xx_eth:
- min_mtu = 64, max_mtu = 9500

mlxsw:
- min_mtu = 0, max_mtu = 65535
- Basically bypassing the core checks, and instead relying on dynamic
  checks in the respective switch drivers' ndo_change_mtu functions

ns83820:
- min_mtu = 0
- remove redundant ns83820_change_mtu, only checked for mtu &gt; 1500

netxen:
- min_mtu = 0, max_mtu = 8000 (P2), max_mtu = 9600 (P3)

qlge:
- min_mtu = 1500, max_mtu = 9000
- driver only supports setting mtu to 1500 or 9000, so the core check only
  rules out &lt; 1500 and &gt; 9000, qlge_change_mtu still needs to check that
  the value is 1500 or 9000

qualcomm/emac:
- min_mtu = 46, max_mtu = 9194

xilinx_axienet:
- min_mtu = 64, max_mtu = 9000

Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking")
CC: netdev@vger.kernel.org
CC: Jes Sorensen &lt;jes@trained-monkey.org&gt;
CC: Netanel Belgazal &lt;netanel@annapurnalabs.com&gt;
CC: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;
CC: Santosh Raspatur &lt;santosh@chelsio.com&gt;
CC: Hariprasad S &lt;hariprasad@chelsio.com&gt;
CC: Sathya Perla &lt;sathya.perla@broadcom.com&gt;
CC: Ajit Khaparde &lt;ajit.khaparde@broadcom.com&gt;
CC: Sriharsha Basavapatna &lt;sriharsha.basavapatna@broadcom.com&gt;
CC: Somnath Kotur &lt;somnath.kotur@broadcom.com&gt;
CC: Thomas Falcon &lt;tlfalcon@linux.vnet.ibm.com&gt;
CC: John Allen &lt;jallen@linux.vnet.ibm.com&gt;
CC: Guo-Fu Tseng &lt;cooldavid@cooldavid.org&gt;
CC: Sebastian Hesselbarth &lt;sebastian.hesselbarth@gmail.com&gt;
CC: Jiri Pirko &lt;jiri@mellanox.com&gt;
CC: Ido Schimmel &lt;idosch@mellanox.com&gt;
CC: Manish Chopra &lt;manish.chopra@qlogic.com&gt;
CC: Sony Chacko &lt;sony.chacko@qlogic.com&gt;
CC: Rajesh Borundia &lt;rajesh.borundia@qlogic.com&gt;
CC: Timur Tabi &lt;timur@codeaurora.org&gt;
CC: Anirudha Sarangi &lt;anirudh@xilinx.com&gt;
CC: John Linn &lt;John.Linn@xilinx.com&gt;
Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ena: change the return type of ena_set_push_mode() to be void.</title>
<updated>2016-08-24T00:42:33+00:00</updated>
<author>
<name>Rami Rosen</name>
<email>ramirose@gmail.com</email>
</author>
<published>2016-08-23T17:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=184b49c89f39f5c5ad262a6456248284e10984c6'/>
<id>urn:sha1:184b49c89f39f5c5ad262a6456248284e10984c6</id>
<content type='text'>
This patch changes the return type of ena_set_push_mode() to be void,
as it always returns 0.

Signed-off-by: Rami Rosen &lt;ramirose@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ena: Fix error return code in ena_device_init()</title>
<updated>2016-08-15T23:16:11+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyj.lk@gmail.com</email>
</author>
<published>2016-08-15T22:51:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=6e22066fd02b675260b980b3e42b7d616a9839c5'/>
<id>urn:sha1:6e22066fd02b675260b980b3e42b7d616a9839c5</id>
<content type='text'>
Fix to return a negative error code from the invalid dma width
error handling case instead of 0.

Signed-off-by: Wei Yongjun &lt;weiyj.lk@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ena: Remove unnecessary pci_set_drvdata()</title>
<updated>2016-08-15T23:16:10+00:00</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyj.lk@gmail.com</email>
</author>
<published>2016-08-15T22:50:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=557bc7d44d52d52374bc72e9cc3b0beb41026886'/>
<id>urn:sha1:557bc7d44d52d52374bc72e9cc3b0beb41026886</id>
<content type='text'>
The driver core clears the driver data to NULL after device_release
or on probe failure. Thus, it is not needed to manually clear the
device driver data to NULL.

Signed-off-by: Wei Yongjun &lt;weiyj.lk@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)</title>
<updated>2016-08-13T00:12:08+00:00</updated>
<author>
<name>Netanel Belgazal</name>
<email>netanel@annapurnalabs.com</email>
</author>
<published>2016-08-10T11:03:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=1738cd3ed342294360d6a74d4e58800004bff854'/>
<id>urn:sha1:1738cd3ed342294360d6a74d4e58800004bff854</id>
<content type='text'>
This is a driver for the ENA family of networking devices.

Signed-off-by: Netanel Belgazal &lt;netanel@annapurnalabs.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
