<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/net/ethernet/nvidia, branch v4.14.2</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.14.2</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.14.2'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2017-08-11T21:25:35+00:00</updated>
<entry>
<title>forcedeth: replace init_timer_deferrable with setup_deferrable_timer</title>
<updated>2017-08-11T21:25:35+00:00</updated>
<author>
<name>Zhu Yanjun</name>
<email>yanjun.zhu@oracle.com</email>
</author>
<published>2017-08-10T08:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d24d39d906fa8944024f154e0ea3f031252c06c1'/>
<id>urn:sha1:d24d39d906fa8944024f154e0ea3f031252c06c1</id>
<content type='text'>
Replace init_timer_deferrable with setup_deferrable_timer to simplify
the source code.

Signed-off-by: Zhu Yanjun &lt;yanjun.zhu@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>forcedeth: remove unnecessary carrier status check</title>
<updated>2017-05-04T14:57:41+00:00</updated>
<author>
<name>Zhu Yanjun</name>
<email>yanjun.zhu@oracle.com</email>
</author>
<published>2017-05-03T04:43:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5d826b7b98a66c890920d690d101bf54d220ea92'/>
<id>urn:sha1:5d826b7b98a66c890920d690d101bf54d220ea92</id>
<content type='text'>
Since netif_carrier_on() will do nothing if device's
carrier is already on, so it's unnecessary to do
carrier status check.

It's the same for netif_carrier_off().

Signed-off-by: Zhu Yanjun &lt;yanjun.zhu@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>forcedeth: Remove return from a void function</title>
<updated>2017-02-23T15:55:07+00:00</updated>
<author>
<name>Zhu Yanjun</name>
<email>yanjun.zhu@oracle.com</email>
</author>
<published>2017-02-23T08:22:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ca92aea9781691bae3bafde95048cc3840a70ad8'/>
<id>urn:sha1:ca92aea9781691bae3bafde95048cc3840a70ad8</id>
<content type='text'>
In a void function, it is not necessary to append a return statement in it.

Signed-off-by: Zhu Yanjun &lt;yanjun.zhu@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: nvidia: forcedeth: use new api ethtool_{get|set}_link_ksettings</title>
<updated>2017-02-17T16:05:33+00:00</updated>
<author>
<name>Philippe Reynes</name>
<email>tremyfr@gmail.com</email>
</author>
<published>2017-02-14T22:36:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0fa9e2899c5d128723056d2ecc950bda7b51af20'/>
<id>urn:sha1:0fa9e2899c5d128723056d2ecc950bda7b51af20</id>
<content type='text'>
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.

As I don't have the hardware, I'd be very pleased if
someone may test this patch.

Signed-off-by: Philippe Reynes &lt;tremyfr@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers: net: generalize napi_complete_done()</title>
<updated>2017-01-30T20:10:42+00:00</updated>
<author>
<name>Eric Dumazet</name>
<email>edumazet@google.com</email>
</author>
<published>2017-01-30T16:22:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6ad20165d376fa07919a70e4f43dfae564601829'/>
<id>urn:sha1:6ad20165d376fa07919a70e4f43dfae564601829</id>
<content type='text'>
napi_complete_done() allows to opt-in for gro_flush_timeout,
added back in linux-3.19, commit 3b47d30396ba
("net: gro: add a per device gro flush timer")

This allows for more efficient GRO aggregation without
sacrifying latencies.

Signed-off-by: Eric Dumazet &lt;edumazet@google.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: make ndo_get_stats64 a void function</title>
<updated>2017-01-08T22:51:44+00:00</updated>
<author>
<name>stephen hemminger</name>
<email>stephen@networkplumber.org</email>
</author>
<published>2017-01-07T03:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bc1f44709cf27fb2a5766cadafe7e2ad5e9cb221'/>
<id>urn:sha1:bc1f44709cf27fb2a5766cadafe7e2ad5e9cb221</id>
<content type='text'>
The network device operation for reading statistics is only called
in one place, and it ignores the return value. Having a structure
return value is potentially confusing because some future driver could
incorrectly assume that the return value was used.

Fix all drivers with ndo_get_stats64 to have a void function.

Signed-off-by: Stephen Hemminger &lt;sthemmin@microsoft.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>ethernet: use core min/max MTU checking</title>
<updated>2016-10-18T15:34:22+00:00</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2016-10-17T19:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=44770e1180decf9b483d9b537fdad385a4fbf462'/>
<id>urn:sha1:44770e1180decf9b483d9b537fdad385a4fbf462</id>
<content type='text'>
et131x: min_mtu 64, max_mtu 9216

altera_tse: min_mtu 64, max_mtu 1500

amd8111e: min_mtu 60, max_mtu 9000

bnad: min_mtu 46, max_mtu 9000

macb: min_mtu 68, max_mtu 1500 or 10240 depending on hardware capability

xgmac: min_mtu 46, max_mtu 9000

cxgb2: min_mtu 68, max_mtu 9582 (pm3393) or 9600 (vsc7326)

enic: min_mtu 68, max_mtu 9000

gianfar: min_mtu 50, max_mu 9586

hns_enet: min_mtu 68, max_mtu 9578 (v1) or 9706 (v2)

ksz884x: min_mtu 60, max_mtu 1894

myri10ge: min_mtu 68, max_mtu 9000

natsemi: min_mtu 64, max_mtu 2024

nfp: min_mtu 68, max_mtu hardware-specific

forcedeth: min_mtu 64, max_mtu 1500 or 9100, depending on hardware

pch_gbe: min_mtu 46, max_mtu 10300

pasemi_mac: min_mtu 64, max_mtu 9000

qcaspi: min_mtu 46, max_mtu 1500
- remove qcaspi_netdev_change_mtu as it is now redundant

rocker: min_mtu 68, max_mtu 9000

sxgbe: min_mtu 68, max_mtu 9000

stmmac: min_mtu 46, max_mtu depends on hardware

tehuti: min_mtu 60, max_mtu 16384
- driver had no max mtu checking, but product docs say 16k jumbo packets
  are supported by the hardware

netcp: min_mtu 68, max_mtu 9486
- remove netcp_ndo_change_mtu as it is now redundant

via-velocity: min_mtu 64, max_mtu 9000

octeon: min_mtu 46, max_mtu 65370

CC: netdev@vger.kernel.org
CC: Mark Einon &lt;mark.einon@gmail.com&gt;
CC: Vince Bridgers &lt;vbridger@opensource.altera.com&gt;
CC: Rasesh Mody &lt;rasesh.mody@qlogic.com&gt;
CC: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
CC: Santosh Raspatur &lt;santosh@chelsio.com&gt;
CC: Hariprasad S &lt;hariprasad@chelsio.com&gt;
CC:  Christian Benvenuti &lt;benve@cisco.com&gt;
CC: Sujith Sankar &lt;ssujith@cisco.com&gt;
CC: Govindarajulu Varadarajan &lt;_govind@gmx.com&gt;
CC: Neel Patel &lt;neepatel@cisco.com&gt;
CC: Claudiu Manoil &lt;claudiu.manoil@freescale.com&gt;
CC: Yisen Zhuang &lt;yisen.zhuang@huawei.com&gt;
CC: Salil Mehta &lt;salil.mehta@huawei.com&gt;
CC: Hyong-Youb Kim &lt;hykim@myri.com&gt;
CC: Jakub Kicinski &lt;jakub.kicinski@netronome.com&gt;
CC: Olof Johansson &lt;olof@lixom.net&gt;
CC: Jiri Pirko &lt;jiri@resnulli.us&gt;
CC: Byungho An &lt;bh74.an@samsung.com&gt;
CC: Girish K S &lt;ks.giri@samsung.com&gt;
CC: Vipul Pandya &lt;vipul.pandya@samsung.com&gt;
CC: Giuseppe Cavallaro &lt;peppe.cavallaro@st.com&gt;
CC: Alexandre Torgue &lt;alexandre.torgue@st.com&gt;
CC: Andy Gospodarek &lt;andy@greyhouse.net&gt;
CC: Wingman Kwok &lt;w-kwok2@ti.com&gt;
CC: Murali Karicheri &lt;m-karicheri2@ti.com&gt;
CC: Francois Romieu &lt;romieu@fr.zoreil.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>forcedeth: Use setup_timer()</title>
<updated>2016-02-25T21:51:05+00:00</updated>
<author>
<name>Amitoj Kaur Chawla</name>
<email>amitoj1606@gmail.com</email>
</author>
<published>2016-02-24T13:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=de55558dc4e6562197bf0ea0fe249cbd7ccebae5'/>
<id>urn:sha1:de55558dc4e6562197bf0ea0fe249cbd7ccebae5</id>
<content type='text'>
Convert a call to init_timer and accompanying intializations of
the timer's data and function fields to a call to setup_timer.

The Coccinelle semantic patch that fixes this problem is
as follows:

// &lt;smpl&gt;
@@
expression t,f,d;
@@

-init_timer(&amp;t);
+setup_timer(&amp;t,f,d);
-t.data = d;
-t.function = f;
// &lt;/smpl&gt;

Signed-off-by: Amitoj Kaur Chawla &lt;amitoj1606@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>forcedeth: fix unilateral interrupt disabling in netpoll path</title>
<updated>2015-10-28T02:45:23+00:00</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@tuxdriver.com</email>
</author>
<published>2015-10-26T16:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0b7c874348ea14ec3c358fe95e56d6f830540248'/>
<id>urn:sha1:0b7c874348ea14ec3c358fe95e56d6f830540248</id>
<content type='text'>
Forcedeth currently uses disable_irq_lockdep and enable_irq_lockdep, which in
some configurations simply calls local_irq_disable.  This causes errant warnings
in the netpoll path as in netpoll_send_skb_on_dev, where we disable irqs using
local_irq_save, leading to the following warning:

WARNING: at net/core/netpoll.c:352 netpoll_send_skb_on_dev+0x243/0x250() (Not
tainted)
Hardware name:
netpoll_send_skb_on_dev(): eth0 enabled interrupts in poll
(nv_start_xmit_optimized+0x0/0x860 [forcedeth])
Modules linked in: netconsole(+) configfs ipv6 iptable_filter ip_tables ppdev
parport_pc parport sg microcode serio_raw edac_core edac_mce_amd k8temp
snd_hda_codec_realtek snd_hda_codec_generic forcedeth snd_hda_intel
snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore
snd_page_alloc i2c_nforce2 i2c_core shpchp ext4 jbd2 mbcache sr_mod cdrom sd_mod
crc_t10dif pata_amd ata_generic pata_acpi sata_nv dm_mirror dm_region_hash
dm_log dm_mod [last unloaded: scsi_wait_scan]
Pid: 1940, comm: modprobe Not tainted 2.6.32-573.7.1.el6.x86_64.debug #1
Call Trace:
 [&lt;ffffffff8107bbc1&gt;] ? warn_slowpath_common+0x91/0xe0
 [&lt;ffffffff8107bcc6&gt;] ? warn_slowpath_fmt+0x46/0x60
 [&lt;ffffffffa00fe5b0&gt;] ? nv_start_xmit_optimized+0x0/0x860 [forcedeth]
 [&lt;ffffffff814b3593&gt;] ? netpoll_send_skb_on_dev+0x243/0x250
 [&lt;ffffffff814b37c9&gt;] ? netpoll_send_udp+0x229/0x270
 [&lt;ffffffffa02e3299&gt;] ? write_msg+0x39/0x110 [netconsole]
 [&lt;ffffffffa02e331b&gt;] ? write_msg+0xbb/0x110 [netconsole]
 [&lt;ffffffff8107bd55&gt;] ? __call_console_drivers+0x75/0x90
 [&lt;ffffffff8107bdba&gt;] ? _call_console_drivers+0x4a/0x80
 [&lt;ffffffff8107c445&gt;] ? release_console_sem+0xe5/0x250
 [&lt;ffffffff8107d200&gt;] ? register_console+0x190/0x3e0
 [&lt;ffffffffa02e71a6&gt;] ? init_netconsole+0x1a6/0x216 [netconsole]
 [&lt;ffffffffa02e7000&gt;] ? init_netconsole+0x0/0x216 [netconsole]
 [&lt;ffffffff810020d0&gt;] ? do_one_initcall+0xc0/0x280
 [&lt;ffffffff810d4933&gt;] ? sys_init_module+0xe3/0x260
 [&lt;ffffffff8100b0d2&gt;] ? system_call_fastpath+0x16/0x1b
---[ end trace f349c7af88e6a6d5 ]---
console [netcon0] enabled
netconsole: network logging started

Fix it by modifying the forcedeth code to use
disable_irq_nosync_lockdep_irqsavedisable_irq_nosync_lockdep_irqsave instead,
which saves and restores irq state properly.  This also saves us a little code
in the process

Tested by the reporter, with successful restuls

Patch applies to the head of the net tree

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
CC: "David S. Miller" &lt;davem@davemloft.net&gt;
Reported-by: Vasily Averin &lt;vvs@sw.ru&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>drivers/net: remove all references to obsolete Ethernet-HOWTO</title>
<updated>2015-06-23T13:50:35+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2015-06-21T20:28:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=138b15ed877eff8149ae32c12fa1f4795c9cb4cf'/>
<id>urn:sha1:138b15ed877eff8149ae32c12fa1f4795c9cb4cf</id>
<content type='text'>
This howto made sense in the 1990s when users had to manually configure
ISA cards with jumpers or vendor utilities, but with the implementation
of PCI it became increasingly less and less relevant, to the point where
it has been well over a decade since I last updated it.  And there is
no value in anyone else taking over updating it either.

However the references to it continue to spread as boiler plate text
from one Kconfig file into the next.  We are not doing end users any
favours by pointing them at this old document, so lets kill it with
fire, once and for all, to hopefully stop any further spread.

No code is changed in this commit, just Kconfig help text.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
