<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/ethernet/brocade, branch master</title>
<subtitle>Linux Kernel</subtitle>
<id>https://git.etezian.org/cgit.cgi/linux.git/atom?h=master</id>
<link rel='self' href='https://git.etezian.org/cgit.cgi/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/'/>
<updated>2016-12-17T16:56:57+00:00</updated>
<entry>
<title>bna: use designated initializers</title>
<updated>2016-12-17T16:56:57+00:00</updated>
<author>
<name>Kees Cook</name>
<email>keescook@chromium.org</email>
</author>
<published>2016-12-17T01:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=9751362a4fe7ad37115d20344ce6d914a088268d'/>
<id>urn:sha1:9751362a4fe7ad37115d20344ce6d914a088268d</id>
<content type='text'>
Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers. These were identified during
allyesconfig builds of x86, arm, and arm64, with most initializer fixes
extracted from grsecurity.

Signed-off-by: Kees Cook &lt;keescook@chromium.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: brocade: bna: use new api ethtool_{get|set}_link_ksettings</title>
<updated>2016-11-30T15:29:02+00:00</updated>
<author>
<name>Philippe Reynes</name>
<email>tremyfr@gmail.com</email>
</author>
<published>2016-11-28T22:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=377fa64f19ff45d49dc95d4f9d9a0a95fea7f768'/>
<id>urn:sha1:377fa64f19ff45d49dc95d4f9d9a0a95fea7f768</id>
<content type='text'>
The ethtool api {get|set}_settings is deprecated.
We move this driver to new api {get|set}_link_ksettings.

Signed-off-by: Philippe Reynes &lt;tremyfr@gmail.com&gt;
Acked-by: Rasesh Mody &lt;Rasesh.Mody@cavium.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2016-11-15T15:54:36+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2016-11-15T15:54:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=bb598c1b8c9bf56981927dcb8c0dc34b8ff95342'/>
<id>urn:sha1:bb598c1b8c9bf56981927dcb8c0dc34b8ff95342</id>
<content type='text'>
Several cases of bug fixes in 'net' overlapping other changes in
'net-next-.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bna: Add synchronization for tx ring.</title>
<updated>2016-11-09T18:31:10+00:00</updated>
<author>
<name>Benjamin Poirier</name>
<email>bpoirier@suse.com</email>
</author>
<published>2016-11-07T09:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=d667f78514c656a6a8bf0b3d6134a7fe5cd4d317'/>
<id>urn:sha1:d667f78514c656a6a8bf0b3d6134a7fe5cd4d317</id>
<content type='text'>
We received two reports of BUG_ON in bnad_txcmpl_process() where
hw_consumer_index appeared to be ahead of producer_index. Out of order
write/read of these variables could explain these reports.

bnad_start_xmit(), as a producer of tx descriptors, has a few memory
barriers sprinkled around writes to producer_index and the device's
doorbell but they're not paired with anything in bnad_txcmpl_process(), a
consumer.

Since we are synchronizing with a device, we must use mandatory barriers,
not smp_*. Also, I didn't see the purpose of the last smp_mb() in
bnad_start_xmit().

Signed-off-by: Benjamin Poirier &lt;bpoirier@suse.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.etezian.org/cgit.cgi/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>Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net</title>
<updated>2016-09-23T10:46:57+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2016-09-23T10:46:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=d6989d4bbe6c4d1c2a76696833a07f044e85694d'/>
<id>urn:sha1:d6989d4bbe6c4d1c2a76696833a07f044e85694d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bna: fix crash in bnad_get_strings()</title>
<updated>2016-09-17T14:18:02+00:00</updated>
<author>
<name>Ivan Vecera</name>
<email>ivecera@redhat.com</email>
</author>
<published>2016-09-15T20:47:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=37dd348270c1a48f0234354a06c0ce052b6c85b1'/>
<id>urn:sha1:37dd348270c1a48f0234354a06c0ce052b6c85b1</id>
<content type='text'>
Commit 6e7333d "net: add rx_nohandler stat counter" added the new entry
rx_nohandler into struct rtnl_link_stats64. Unfortunately the bna
driver foolishly depends on the structure. It uses part of it for
ethtool statistics and it's not bad but the driver assumes its size
is constant as it defines string for each existing entry. The problem
occurs when the structure is extended because you need to modify bna
driver as well. If not any attempt to retrieve ethtool statistics results
in crash in bnad_get_strings().
The patch changes BNAD_ETHTOOL_STATS_NUM so it counts real number of
strings in the array and also removes rtnl_link_stats64 entries that
are not used in output and are always zero.

Fixes: 6e7333d "net: add rx_nohandler stat counter"
Signed-off-by: Ivan Vecera &lt;ivecera@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bna: add missing per queue ethtool stat</title>
<updated>2016-09-17T14:18:02+00:00</updated>
<author>
<name>Ivan Vecera</name>
<email>ivecera@redhat.com</email>
</author>
<published>2016-09-15T20:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=2835d2d9e366a2985b24051d228333bfba82f3a7'/>
<id>urn:sha1:2835d2d9e366a2985b24051d228333bfba82f3a7</id>
<content type='text'>
Commit ba5ca784 "bna: check for dma mapping errors" added besides other
things a statistic that counts number of DMA buffer mapping failures
per each Rx queue. This counter is not included in ethtool stats output.

Fixes: ba5ca784 "bna: check for dma mapping errors"
Signed-off-by: Ivan Vecera &lt;ivecera@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bna: remove global bnad_list_mutex</title>
<updated>2016-08-08T22:41:27+00:00</updated>
<author>
<name>Ivan Vecera</name>
<email>ivecera@redhat.com</email>
</author>
<published>2016-07-29T17:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=09e3636047c6b44dd4cffdbd7cf95fcd3edd3d2e'/>
<id>urn:sha1:09e3636047c6b44dd4cffdbd7cf95fcd3edd3d2e</id>
<content type='text'>
Remove global bnad_list_mutex as it is not used anymore. This makes
bnad_add_to_list() and bnad_remove_from_list() empty so remove them too.

Signed-off-by: Ivan Vecera &lt;ivecera@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>bna: change type of bna_id to atomic_t</title>
<updated>2016-08-08T22:41:27+00:00</updated>
<author>
<name>Ivan Vecera</name>
<email>ivecera@redhat.com</email>
</author>
<published>2016-07-29T17:52:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.etezian.org/cgit.cgi/linux.git/commit/?id=285eb9c37281c8c34bd604346a48d6627db51007'/>
<id>urn:sha1:285eb9c37281c8c34bd604346a48d6627db51007</id>
<content type='text'>
Change type of bna_id to atomic_t. The bnad_list_mutex is used to prevent
a race when bna_id is incremented. After the change the mutex can be
removed in the next step.

Signed-off-by: Ivan Vecera &lt;ivecera@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
