<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/net/ethernet/huawei, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/net/ethernet/huawei?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/net/ethernet/huawei?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-10-21T04:09:48Z</updated>
<entry>
<title>net: hinic: fix the issue of double release MBOX callback of VF</title>
<updated>2022-10-21T04:09:48Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-10-19T09:57:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8ec2f4c6b2e11a4249bba77460f0cfe6d95a82f8'/>
<id>urn:sha1:8ec2f4c6b2e11a4249bba77460f0cfe6d95a82f8</id>
<content type='text'>
In hinic_vf_func_init(), if VF fails to register information with PF
through the MBOX, the MBOX callback function of VF is released once. But
it is released again in hinic_init_hwdev(). Remove one.

Fixes: 7dd29ee12865 ("hinic: add sriov feature support")
Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: fix the issue of CMDQ memory leaks</title>
<updated>2022-10-21T04:09:47Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-10-19T09:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=363cc87767f6ddcfb9158ad2e2afa2f8d5c4b94e'/>
<id>urn:sha1:363cc87767f6ddcfb9158ad2e2afa2f8d5c4b94e</id>
<content type='text'>
When hinic_set_cmdq_depth() fails in hinic_init_cmdqs(), the cmdq memory is
not released correctly. Fix it.

Fixes: 72ef908bb3ff ("hinic: add three net_device_ops of vf")
Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: fix memory leak when reading function table</title>
<updated>2022-10-21T04:09:47Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-10-19T09:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4c1f602df8956bc0decdafd7e4fc7eef50c550b1'/>
<id>urn:sha1:4c1f602df8956bc0decdafd7e4fc7eef50c550b1</id>
<content type='text'>
When the input parameter idx meets the expected case option in
hinic_dbg_get_func_table(), read_data is not released. Fix it.

Fixes: 5215e16244ee ("hinic: add support to query function table")
Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()</title>
<updated>2022-10-21T04:09:46Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-10-19T09:57:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c0605cd6750f2db9890c43a91ea4d77be8fb4908'/>
<id>urn:sha1:c0605cd6750f2db9890c43a91ea4d77be8fb4908</id>
<content type='text'>
The value of lli_credit_cnt is incorrectly assigned, fix it.

Fixes: a0337c0dee68 ("hinic: add support to set and get irq coalesce")
Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: remove the unused input parameter prod_idx in sq_prepare_ctrl()</title>
<updated>2022-09-23T00:41:28Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-09-21T12:33:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=c706df6d8f6ed63f096a5b4dc07817c955e881f6'/>
<id>urn:sha1:c706df6d8f6ed63f096a5b4dc07817c955e881f6</id>
<content type='text'>
The input parameter prod_idx is not used in sq_prepare_ctrl(), remove it.

Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: replace magic numbers with macro</title>
<updated>2022-09-23T00:41:28Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-09-21T12:33:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=57ac57154d83618a1052080d6c1dc3e4f3e90d9c'/>
<id>urn:sha1:57ac57154d83618a1052080d6c1dc3e4f3e90d9c</id>
<content type='text'>
Replace magic numbers with macro.

Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: remove unused enumerated value</title>
<updated>2022-09-23T00:41:28Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-09-21T12:33:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=566ad0ed6b12a16b3562cef66b835b95267ca71f'/>
<id>urn:sha1:566ad0ed6b12a16b3562cef66b835b95267ca71f</id>
<content type='text'>
remove unused enumerated value.

Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: change hinic_deinit_vf_hw() to void</title>
<updated>2022-09-23T00:41:27Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-09-21T12:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=dcbe72d25594e4a52b5ce29d52e57514dd305c79'/>
<id>urn:sha1:dcbe72d25594e4a52b5ce29d52e57514dd305c79</id>
<content type='text'>
When hinic_pci_sriov_disable() calls hinic_deinit_vf_hw(), it doesn't
care about the return value of hinic_deinit_vf_hw(). Also
hinic_deinit_vf_hw() is return 0, so change it to void.

Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: simplify code logic</title>
<updated>2022-09-23T00:41:27Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-09-21T12:33:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4f304250c39b4c6bae40521524cc9235ba8ab327'/>
<id>urn:sha1:4f304250c39b4c6bae40521524cc9235ba8ab327</id>
<content type='text'>
simplify code logic in hinic_ndo_set_vf_trust() and
hinic_ndo_set_vf_spoofchk().

Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>net: hinic: remove duplicate macro definition</title>
<updated>2022-09-23T00:41:27Z</updated>
<author>
<name>Zhengchao Shao</name>
<email>shaozhengchao@huawei.com</email>
</author>
<published>2022-09-21T12:33:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=97d6a3e642bfe1671c746d6bed478eabf2c23d73'/>
<id>urn:sha1:97d6a3e642bfe1671c746d6bed478eabf2c23d73</id>
<content type='text'>
The macro HINIC_WAIT_SRIOV_CFG_TIMEOUT is defined twice, remove one.

Signed-off-by: Zhengchao Shao &lt;shaozhengchao@huawei.com&gt;
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
</feed>
