<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/net, branch v5.15</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.15</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.15'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2021-10-28T15:23:03Z</updated>
<entry>
<title>Revert "net: hns3: fix pause config problem after autoneg disabled"</title>
<updated>2021-10-28T15:23:03Z</updated>
<author>
<name>Guangbin Huang</name>
<email>huangguangbin2@huawei.com</email>
</author>
<published>2021-10-28T14:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=35392da51b1ab7ba0c63de0a553e2a93c2314266'/>
<id>urn:sha1:35392da51b1ab7ba0c63de0a553e2a93c2314266</id>
<content type='text'>
This reverts commit 3bda2e5df476417b6d08967e2d84234a59d57b1c.

According to discussion with Andrew as follow:
https://lore.kernel.org/netdev/09eda9fe-196b-006b-6f01-f54e75715961@huawei.com/

HNS3 driver needs to separate pause autoneg from general autoneg, so revert
this incorrect patch.

Signed-off-by: Guangbin Huang &lt;huangguangbin2@huawei.com&gt;
Link: https://lore.kernel.org/r/20211028140624.53149-1-huangguangbin2@huawei.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>octeontx2-af: Fix possible null pointer dereference.</title>
<updated>2021-10-28T13:47:37Z</updated>
<author>
<name>Rakesh Babu Saladi</name>
<email>rsaladi2@marvell.com</email>
</author>
<published>2021-10-27T17:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2d4c543f74c90f883e8ec62a31973ae8807d354'/>
<id>urn:sha1:c2d4c543f74c90f883e8ec62a31973ae8807d354</id>
<content type='text'>
This patch fixes possible null pointer dereference in files
"rvu_debugfs.c" and "rvu_nix.c"

Fixes: 8756828a8148 ("octeontx2-af: Add NPA aura and pool contexts to debugfs")
Fixes: 9a946def264d ("octeontx2-af: Modify nix_vtag_cfg mailbox to support TX VTAG entries")
Signed-off-by: Rakesh Babu Saladi &lt;rsaladi2@marvell.com&gt;
Signed-off-by: Subbaraya Sundeep &lt;sbhatta@marvell.com&gt;
Signed-off-by: Sunil Goutham &lt;sgoutham@marvell.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>octeontx2-af: Display all enabled PF VF rsrc_alloc entries.</title>
<updated>2021-10-28T13:47:37Z</updated>
<author>
<name>Rakesh Babu</name>
<email>rsaladi2@marvell.com</email>
</author>
<published>2021-10-27T17:32:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e77bcdd1f639809950c45234b08647ac6d3ffe7b'/>
<id>urn:sha1:e77bcdd1f639809950c45234b08647ac6d3ffe7b</id>
<content type='text'>
Currently, we are using a fixed buffer size of length 2048 to display
rsrc_alloc output. As a result a maximum of 2048 characters of
rsrc_alloc output is displayed, which may lead sometimes to display only
partial output. This patch fixes this dependency on max limit of buffer
size and displays all PF VF entries.

Each column of the debugfs entry "rsrc_alloc" uses a fixed width of 12
characters to print the list of LFs of each block for a PF/VF. If the
length of list of LFs of a block exceeds this fixed width then the list
gets truncated and displays only a part of the list. This patch fixes
this by using the maximum possible length of list of LFs among all
blocks of all PFs and VFs entries as the width size.

Fixes: f7884097141b ("octeontx2-af: Formatting debugfs entry rsrc_alloc.")
Fixes: 23205e6d06d4 ("octeontx2-af: Dump current resource provisioning status")
Signed-off-by: Rakesh Babu &lt;rsaladi2@marvell.com&gt;
Signed-off-by: Nithin Dabilpuram &lt;ndabilpuram@marvell.com&gt;
Signed-off-by: Sunil Kovvuri Goutham &lt;Sunil.Goutham@cavium.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>octeontx2-af: Check whether ipolicers exists</title>
<updated>2021-10-28T13:47:36Z</updated>
<author>
<name>Subbaraya Sundeep</name>
<email>sbhatta@marvell.com</email>
</author>
<published>2021-10-27T17:32:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=cc45b96e2de7ada26520f101dada0abafa4ba997'/>
<id>urn:sha1:cc45b96e2de7ada26520f101dada0abafa4ba997</id>
<content type='text'>
While displaying ingress policers information in
debugfs check whether ingress policers exist in
the hardware or not because some platforms(CN9XXX)
do not have this feature.

Fixes: e7d8971763f3 ("octeontx2-af: cn10k: Debugfs support for bandwidth")
Signed-off-by: Subbaraya Sundeep &lt;sbhatta@marvell.com&gt;
Signed-off-by: Rakesh Babu &lt;rsaladi2@marvell.com&gt;
Signed-off-by: Sunil Kovvuri Goutham &lt;sgoutham@marvell.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: ethernet: microchip: lan743x: Fix skb allocation failure</title>
<updated>2021-10-28T13:45:07Z</updated>
<author>
<name>Yuiko Oshino</name>
<email>yuiko.oshino@microchip.com</email>
</author>
<published>2021-10-27T18:23:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e8684db191e4164f3f5f3ad7dec04a6734c25f1c'/>
<id>urn:sha1:e8684db191e4164f3f5f3ad7dec04a6734c25f1c</id>
<content type='text'>
The driver allocates skb during ndo_open with GFP_ATOMIC which has high chance of failure when there are multiple instances.
GFP_KERNEL is enough while open and use GFP_ATOMIC only from interrupt context.

Fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver")
Signed-off-by: Yuiko Oshino &lt;yuiko.oshino@microchip.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>nfp: bpf: relax prog rejection for mtu check through max_pkt_offset</title>
<updated>2021-10-28T11:59:32Z</updated>
<author>
<name>Yu Xiao</name>
<email>yu.xiao@corigine.com</email>
</author>
<published>2021-10-28T10:00:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=90a881fc352a953f1c8beb61977a2db0818157d4'/>
<id>urn:sha1:90a881fc352a953f1c8beb61977a2db0818157d4</id>
<content type='text'>
MTU change is refused whenever the value of new MTU is bigger than
the max packet bytes that fits in NFP Cluster Target Memory (CTM).
However, an eBPF program doesn't always need to access the whole
packet data.

The maximum direct packet access (DPA) offset has always been
caculated by verifier and stored in the max_pkt_offset field of prog
aux data.

Signed-off-by: Yu Xiao &lt;yu.xiao@corigine.com&gt;
Reviewed-by: Yinjun Zhang &lt;yinjun.zhang@corigine.com&gt;
Reviewed-by: Niklas Soderlund &lt;niklas.soderlund@corigine.com&gt;
Signed-off-by: Simon Horman &lt;simon.horman@corigine.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>vmxnet3: do not stop tx queues after netif_device_detach()</title>
<updated>2021-10-28T11:51:17Z</updated>
<author>
<name>Dongli Zhang</name>
<email>dongli.zhang@oracle.com</email>
</author>
<published>2021-10-26T21:50:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=9159f102402a64ac85e676b75cc1f9c62c5b4b73'/>
<id>urn:sha1:9159f102402a64ac85e676b75cc1f9c62c5b4b73</id>
<content type='text'>
The netif_device_detach() conditionally stops all tx queues if the queues
are running. There is no need to call netif_tx_stop_all_queues() again.

Signed-off-by: Dongli Zhang &lt;dongli.zhang@oracle.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>r8169: Add device 10ec:8162 to driver r8169</title>
<updated>2021-10-28T00:07:28Z</updated>
<author>
<name>Janghyub Seo</name>
<email>jhyub06@gmail.com</email>
</author>
<published>2021-10-26T07:12:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=72f898ca0ab85fde6facf78b14d9f67a4a7b32d1'/>
<id>urn:sha1:72f898ca0ab85fde6facf78b14d9f67a4a7b32d1</id>
<content type='text'>
This patch makes the driver r8169 pick up device Realtek Semiconductor Co.
, Ltd. Device [10ec:8162].

Signed-off-by: Janghyub Seo &lt;jhyub06@gmail.com&gt;
Suggested-by: Rushab Shah &lt;rushabshah32@gmail.com&gt;
Link: https://lore.kernel.org/r/1635231849296.1489250046.441294000@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>usbnet: fix error return code in usbnet_probe()</title>
<updated>2021-10-27T19:06:15Z</updated>
<author>
<name>Wang Hai</name>
<email>wanghai38@huawei.com</email>
</author>
<published>2021-10-26T12:40:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6f7c88691191e6c52ef2543d6f1da8d360b27a24'/>
<id>urn:sha1:6f7c88691191e6c52ef2543d6f1da8d360b27a24</id>
<content type='text'>
Return error code if usb_maxpacket() returns 0 in usbnet_probe()

Fixes: 397430b50a36 ("usbnet: sanity check for maxpacket")
Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Wang Hai &lt;wanghai38@huawei.com&gt;
Reviewed-by: Johan Hovold &lt;johan@kernel.org&gt;
Link: https://lore.kernel.org/r/20211026124015.3025136-1-wanghai38@huawei.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hns3: adjust string spaces of some parameters of tx bd info in debugfs</title>
<updated>2021-10-27T13:47:33Z</updated>
<author>
<name>Guangbin Huang</name>
<email>huangguangbin2@huawei.com</email>
</author>
<published>2021-10-27T12:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=630a6738da82e2c29e1c38eafd6f8328e0a4963c'/>
<id>urn:sha1:630a6738da82e2c29e1c38eafd6f8328e0a4963c</id>
<content type='text'>
This patch adjusts the string spaces of some parameters of tx bd info in
debugfs according to their maximum needs.

Signed-off-by: Guangbin Huang &lt;huangguangbin2@huawei.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
