On 2017/1/26 0:24, David Miller wrote:
> Networking patches must be sent to net...@vger.kernel.org
>
> Thank you.
>
> .
>
it is misoperation, please ignore. sorry to interrupt you!
--
MBR,
Yankejian (Hackim Yim)
hdev->flag |= HCLGE_FLAG_DCB_ENABLE;
> + else
> + hdev->flag &= ~HCLGE_FLAG_DCB_ENABLE;
> }
>
> static void hclge_tm_pg_info_init(struct hclge_dev *hdev)
--
MBR,
Yankejian (Hackim Yim)
What in the world are you doing to the indentation here?
>
> Please read your patches before actually sending them, such things
> will be quite obvious by simple visual inspection.
>
> .
>
Hi David,
i am sorry for my carelessness. i will pay more attention next time.
Thanks for pointing it our
--
MBR,
Yankejian (Hackim Yim)
On 2016/5/13 20:59, Andy Shevchenko wrote:
> On Fri, 2016-05-13 at 16:19 +0800, Yisen Zhuang wrote:
>> From: Kejian Yan
>>
>> hns-mdio needs to register itself to mii-bus. The info of the device
>> can
>> be read by both OF and ACPI.
>> HNS tries to call Linux PHY driver to help access PHY-devic
On 2016/5/13 21:12, Andy Shevchenko wrote:
> On Fri, 2016-05-13 at 16:19 +0800, Yisen Zhuang wrote:
>> From: Kejian Yan
>>
>> Dsaf needs to get configuration parameter by ACPI, so this patch add
>> support of ACPI.
>>
> Looks like at some point better to split driver to core part, and PCI
> and
On 2016/5/13 21:15, Andy Shevchenko wrote:
> On Fri, 2016-05-13 at 16:19 +0800, Yisen Zhuang wrote:
>> From: Hanjun Guo
>>
>> acpi_match_device_ids() will be used for drivers to match
>> different hardware versions, it will be compiled in non-ACPI
>> case, but acpi_match_device_ids() in acpi_bus
On 2016/5/13 21:07, Andy Shevchenko wrote:
> On Fri, 2016-05-13 at 16:19 +0800, Yisen Zhuang wrote:
>> From: Kejian Yan
>>
>> As device_node is only used by OF case, HNS needs to treat the others
>> cases including ACPI. It needs to use uniform ways to handle both of
>> OF and ACPI. This patch c
On 2016/3/11 17:01, Andy Shevchenko wrote:
> On Fri, 2016-03-11 at 11:25 +0800, Kejian Yan wrote:
>> When we use ethtool to retrieves or configure the receive flow hash
>> indirection table, ethtool needs to call .get_rxnfc to get the ring
>> number
>> so this patchset implements the .get_rxnfc
On 2016/3/12 18:43, Leon Romanovsky wrote:
> On Fri, Mar 11, 2016 at 06:37:10PM +0800, Lijun Ou wrote:
>> It added hns_dsaf_roce_reset routine for roce driver.
>> RoCE is a feature of hns.
>> In hip06 SOC, in roce reset process, it's needed to configure
>> dsaf channel reset,port and sl map info.
On 2016/3/10 16:24, Andy Shevchenko wrote:
> On Thu, 2016-03-10 at 10:16 +0800, Kejian Yan wrote:
>> If trying to get receive flow hash indirection table by ethtool, it
>> needs
>> to call .get_rxnfc to get ring number first. So this patch implements
>> the
>> .get_rxnfc of ethtool. And the data
On 2016/3/10 16:11, Andy Shevchenko wrote:
> On Thu, 2016-03-10 at 10:16 +0800, Kejian Yan wrote:
>> Both .get_rxfh and .get_rxfh are always return 0, it should return
>> result
>> from hardware when getting or setting rss. And the rss function
>> should
>> return the correct data type.
>>
> @@ -
On 2016/3/3 21:39, Andy Shevchenko wrote:
> On Thu, 2016-03-03 at 20:02 +0800, Kejian Yan wrote:
>> It will always be passed if the soc is tested the loopback cases.
>> This
>> patch will fix this bug.
> Few style related comments.
>
>> @@ -686,6 +690,10 @@ static int hns_ae_config_loopback(struc
On 2015/12/9 18:31, Yankejian (Hackim Yim) wrote:
>
> On 2015/12/9 3:55, Al Stone wrote:
>> On 12/03/2015 03:47 AM, Graeme Gregory wrote:
>>> On Thu, Dec 03, 2015 at 09:54:43AM +0800, yankejian wrote:
>>>> Add support for getting the PHY devices on an MDIO bus by
On 2015/12/8 23:25, Rob Herring wrote:
> On Mon, Dec 07, 2015 at 04:25:06PM +0800, yankejian wrote:
>> Signed-nux start up, we get the log below:
>> "Hi-HNS_MDIO 803c.mdio: no syscon hisilicon,peri-c-subctrl
>> mdio_bus mdio@803c: mdio sys ctl reg has not mape
On 2015/12/9 2:10, Florian Fainelli wrote:
> Subject: s/specisies/specifies/?
Thanks for pointing it out. i will change it in next patchset.
Best Regards,
yankejian
> On 04/12/15 23:59, yankejian wrote:
>> enet is associating with dasf. before this patch, the association is
On 2015/12/9 3:55, Al Stone wrote:
> On 12/03/2015 03:47 AM, Graeme Gregory wrote:
>> On Thu, Dec 03, 2015 at 09:54:43AM +0800, yankejian wrote:
>>> Add support for getting the PHY devices on an MDIO bus by ACPI.
>>> Currently many of the ethernet drivers are ope
On 2015/12/9 18:00, Arnd Bergmann wrote:
> On Wednesday 09 December 2015 17:25:13 Yankejian wrote:
>> thanks a lot for pointing it out.
>>
>> It is great regret that this change breaks compatibility with old dtbs.
>> this is a new driver which is run on dev
On 2015/12/7 17:40, Arnd Bergmann wrote:
> On Monday 07 December 2015 15:14:13 Yankejian wrote:
>> On 2015/12/6 6:19, Arnd Bergmann wrote:
>>> On Saturday 05 December 2015 14:10:56 yankejian wrote:
>>>> diff --git a/Documentation/devicetree/bindings/net/
On 2015/12/7 22:12, Rob Herring wrote:
> On Sat, Dec 05, 2015 at 03:59:16PM +0800, yankejian wrote:
>> when enet specisies a reference to dsaf, the correlative config and
> s/when/When/
ok,i will pay attention to it on patch v3.
thanks.
>> documents needs to update. this
On 2015/12/8 14:30, Du, Fan wrote:
>
>
> On 2015/12/8 14:22, Yankejian (Hackim Yim) wrote:
>>
>> On 2015/12/7 16:58, Du, Fan wrote:
>>> >
>>> >
>>> >On 2015/12/5 15:32, yankejian wrote:
>>>> >>here is the patch raising
On 2015/12/7 16:58, Du, Fan wrote:
>
>
> On 2015/12/5 15:32, yankejian wrote:
>> here is the patch raising the performance of XGE by:
>> 1)changes the way page management method for enet momery, and
>> 2)reduces the count of rmb, and
>> 3)adds Memory prefetchi
On 2015/12/7 21:48, Bintian wrote:
> On 2015/12/7 21:16, Rob Herring wrote:
>> On Sat, Dec 05, 2015 at 03:54:48PM +0800, yankejian wrote:
>>> This patch adds documentation for the devicetree bindings used by the
>>> DT files of Hisilicon Hip05-D02 development b
On 2015/12/7 17:05, Joe Perches wrote:
> On Mon, 2015-12-07 at 16:58 +0800, Yankejian (Hackim Yim) wrote:
>> On 2015/12/7 11:32, Joe Perches wrote:
>>> On Sun, 2015-12-06 at 22:29 -0500, David Miller wrote:
>>>>> From: yankejian
>>>>> Date: S
On 2015/12/7 11:32, Joe Perches wrote:
> On Sun, 2015-12-06 at 22:29 -0500, David Miller wrote:
>> > From: yankejian
>> > Date: Sat, 5 Dec 2015 15:32:29 +0800
>> >
>>> > > +#if (PAGE_SIZE < 8192)
>>> > > + if (hnae_buf_size(
On 2015/12/7 11:29, David Miller wrote:
> From: yankejian
> Date: Sat, 5 Dec 2015 15:32:29 +0800
>
>> +#if (PAGE_SIZE < 8192)
>> +if (hnae_buf_size(ring) == HNS_BUFFER_SIZE_2048) {
>> +truesize = hnae_buf_size(ring);
>> +} else {
&
adds the syscon info on dts files to
fixes it. and it adds documentation for the devicetree bindings used by
DT files of Hisilicon Hip05-D02 development board.
Signed-off-by: yankejian
---
change log:
v2:
1) updates the related documented in the binding as well
2) use the normal naming co
this patchset fixes the bug that eth can't initial successful on hip05-D02
because the dts files doesn't match the source code.
yankejian (2):
dts: hisi: fixes no syscon error when init mdio
net: hns: fixes no syscon error when init mdio
---
change log:
v2:
1) update the related
as dtsi files use the normal naming conventions using '-' instead of '_'
inside of property names, the driver needs to update the phandle name
strings of the of_parse_phandle func.
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns_mdio.c | 2 +-
1 file change
On 2015/12/6 6:19, Arnd Bergmann wrote:
> On Saturday 05 December 2015 14:10:56 yankejian wrote:
>> diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt
>> b/Documentation/devicetree/bindings/net/hisilicon-hns-dsaf.txt
>> index 80411b2..ecacfa4 100644
&
On 2015/12/6 6:15, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:57 yankejian wrote:
>> #size-cells = <0>;
>> compatible = "hisilicon,hns-mdio";
>> - reg = <0x0 0x803c 0x0 0x1
>> -
On 2015/12/6 6:13, Arnd Bergmann wrote:
> On Saturday 05 December 2015 15:56:58 yankejian wrote:
>> +Required properties:
>> +- compatible : "hisilicon,peri-c-subctrl", "syscon";
>> +- reg : Register address and size
>> +
>> +The Hi
with dsaf.
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hnae.c | 17 +++--
drivers/net/ethernet/hisilicon/hns/hnae.h | 7 +--
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 4
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 10
This patch adds documentation for the devicetree bindings used by the
DT files of Hisilicon Hip05-D02 development board.
Signed-off-by: yankejian
---
.../devicetree/bindings/arm/hisilicon/hisilicon.txt | 16
1 file changed, 16 insertions(+)
diff --git a/Documentation
sorry, pls ignore this patchset.
On 2015/12/5 15:54, yankejian wrote:
> this patchset fixes the bug that eth can't initial successful on hip05-D02
> because the dts files doesn't match the source code.
>
> yankejian (3):
> dts: hisi: enables the ethX for D02 board
>
in this patchset, enet specifies a reference to dsaf. and delete the
ae-name in enet, and adds parsing the ae-handle from DT to set the
associating with dsaf.
the patchset updates the dtsi and bindings documents as well.
yankejian (2):
net: hns: enet specisies a reference to dsaf
net: hns
when enet specisies a reference to dsaf, the correlative config and
documents needs to update. this patch updates the correlative dtsi file
and bindings documents .
Signed-off-by: yankejian
---
.../devicetree/bindings/net/hisilicon-hns-dsaf.txt| 5 +
.../devicetree/bindings/net
this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.
Signed-off-by: yankejian
---
arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02
adds the syscon info on dts files to
fixes it.
Signed-off-by: yankejian
---
arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4
arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
b/arch
this patchset fixes the bug that eth can't initial successful on hip05-D02
because the dts files doesn't match the source code.
yankejian (3):
dts: hisi: enables the ethX for D02 board
dts: hisi: fixes no syscon error when init mdio
arm64: hip05-d02: Document devicetree bi
this patchset fixes the bug that eth can't initial successful on hip05-D02
because the dts files doesn't match the source code.
yankejian (3):
dts: hisi: enables the ethX for D02 board
dts: hisi: fixes no syscon error when init mdio
arm64: hip05-d02: Document devicetree bi
adds the syscon info on dts files to
fixes it.
Signed-off-by: yankejian
---
arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4
arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
b/arch
this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.
Signed-off-by: yankejian
---
arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02
This patch adds documentation for the devicetree bindings used by the
DT files of Hisilicon Hip05-D02 development board.
Signed-off-by: yankejian
---
.../devicetree/bindings/arm/hisilicon/hisilicon.txt | 16
1 file changed, 16 insertions(+)
diff --git a/Documentation
here is the patch raising the performance of XGE by:
1)changes the way page management method for enet momery, and
2)reduces the count of rmb, and
3)adds Memory prefetching
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hnae.h | 5 +-
drivers/net/ethernet/hisilicon/hns
with dsaf.
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hnae.c | 17 +++--
drivers/net/ethernet/hisilicon/hns/hnae.h | 7 +--
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 4
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 10
in this patchset, enet specifies a reference to dsaf. and delete the
ae-name in enet, and adds parsing the ae-handle from DT to set the
associating with dsaf.
the patchset updates the dtsi and bindings documents as well.
yankejian (2):
net: hns: enet specisies a reference to dsaf
net: hns
when enet specisies a reference to dsaf, the correlative config and
documents needs to update. this patch updates the correlative dtsi file
and bindings documents .
Signed-off-by: yankejian
---
.../devicetree/bindings/net/hisilicon-hns-dsaf.txt| 5 +
.../devicetree/bindings/net
Add support for getting the PHY devices on an MDIO bus by ACPI.
Currently many of the ethernet drivers are open coding a solution
for reading data out of ACPI to find the correct PHY device.
This patch implements a set of common routines are similar to of_mdio.c
Signed-off-by: yankejian
this patch enables the ethX for D02 board on hip05-d02.dts. otherwise it
cannot find hns ethX by ifconfig -a.
Signed-off-by: yankejian
---
arch/arm64/boot/dts/hisilicon/hip05-d02.dts | 16
1 file changed, 16 insertions(+)
diff --git a/arch/arm64/boot/dts/hisilicon/hip05-d02
adds the syscon info on dts files to
fixes it.
Signed-off-by: yankejian
---
arch/arm64/boot/dts/hisilicon/hip05.dtsi | 4
arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/hisilicon/hip05.dtsi
b/arch
this patchset fixes the bug that eth can't initial successful. because the
the dts files doesn't match the source code.
yankejian (3):
dts: hisi: enables the ethX for D02 board
dts: hisi: fixes no syscon error when init mdio
arm64: hip05-d02: Document devicetree bindings for His
From: Li Peng
delete action of ETHTOOL_ID_ON/ETHTOOL_ID_OFF in XGE ethtool -p,
so Hardware control the LED state instead of software.
Signed-off-by: Li Peng
Signed-off-by: Yisen Zhuang
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 9 +
1 file
在 2015/10/22 9:26, Rob Herring 写道:
> On Mon, Oct 19, 2015 at 9:36 PM, yankejian wrote:
>> updates the bindings documents and dtsi file according to the review
>> comments from Rob Herring
>>
>> Signed-off-by: yankejian
>> Signed-off-by: huangdaode
>
the global Soc configuration is treated by syscon, and sub ctrl bus is
Soc bus. it has to be treated by syscon.
Signed-off-by: yankejian
Signed-off-by: lisheng
Signed-off-by: lipeng
---
drivers/net/ethernet/hisilicon/hns_mdio.c | 21 +++--
1 file changed, 11 insertions
updates the bindings documents and dtsi file according to the review
comments from Rob Herring
Signed-off-by: yankejian
Signed-off-by: huangdaode
---
Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt | 2 +-
arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 8
This patchset fixes two bugs in hns driver.
- fixes timeout when received pause frame from the connective ports
- should be set by using ethtool -s when the devices are link down
Chenny Xu (1):
net: hns: fixes the issue by using ethtool -s
lisheng (1):
net: hns: fixes a bug about timeou
t out immediately.
this patch fixes the issue.
Signed-off-by: yankejian
Signed-off-by: Yisen Zhuang
Signed-off-by: lisheng
Signed-off-by: lipeng
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 13 ++---
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/net/eth
From: Chenny Xu
before this patch, hns driver only permits user to set the net device
by using ethtool -s when the device is link up. it is obviously not so
good. it needs to be set no matter it is link up or down. so this patch
fixes this issue.
Signed-off-by: yankejian
Signed-off-by: Yisen
-off-by: yankejian
Signed-off-by: Yisen Zhuang
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c
b/drivers/net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c
index dab5ecf
From: lipeng
this patch fixes a bug in hns driver. the link led is on at the beginning,
but at this time the ethernet port is on down status. it needs to reset
the led status on init sequence.
Signed-off-by: lipeng
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns
this patch adds support to set promisc mode. it configs the queue on
init seq when it is on promisc mode.and being enabled or disabled promisc
mode by upper level user.
Signed-off-by: yankejian
Signed-off-by: Yisen Zhuang
---
drivers/net/ethernet/hisilicon/hns/hnae.h | 1
updates the bindings documents and dtsi file according to the review
comments from Rob Herring
Signed-off-by: huangdaode
Signed-off-by: yankejian
---
Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt | 2 +-
arch/arm64/boot/dts/hisilicon/hip05_hns.dtsi | 8
62 matches
Mail list logo