The driver currently support only vlan priority zero. So map the
vlan priorities to zero flow in hardware.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/ether
Addressed comments from Andrew Lunn and Grygorii Strashko
against v2.
v2 - Addressed following comments on initial version
- split patch 3/5 to multiple patches from Andrew Lunn
Murali Karicheri (11):
soc: ti: K2G: enhancement to support QMSS in K2G NAVSS
soc: ti: K2G: provide APIs
As a preparatory patch to add support for 2u cpsw hardware found on
K2G SoC, make sgmii configuration conditional. This is required
since 2u uses RGMII interface instead of SGMII and to allow for driver
re-use.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ether
As the probe sequence is not guaranteed contrary to the assumption
of the commit 2d8e276a9030, same has to be reverted.
commit 2d8e276a9030 ("net: netcp: remove dead code from the driver")
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/
The stats block in 2u cpsw hardware is similar to the one on nu
and hence handle it in a similar way by using a macro that includes
2u hardware as well.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 2 +-
1 file changed, 1 insertion
The netcp driver shouldn't proceed until the knav qmss and dma
devices are ready. So return -EPROBE_DEFER if these devices are not
ready.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_core.c | 4
1 file changed, 4 insertions(+)
diff --git a/d
driver, needs to defer probe until
knav devices are probed and ready to service. To do this,
add an API to query the device ready status from the knav
dma and qmss devices.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/soc/ti/knav_dma.c| 8
drivers/
with index
less than regions0_size is in region 0. So update the size accordingly in
the regions0_size bits of the linking ram size 0 register.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
Reviewed-by: Rob Herring <r...@kernel.o
The phy used for K2G allows for internal delays to be added optionally
to the clock circuitry based on board desing. To add this support,
enhance the driver to use of_get_phy_mode() to read the phy-mode from
the phy device and pass the same to phy through of_phy_connect().
Signed-off-by: Murali
patch. Currently
rx modes supported are PROMISCUOUS and NON_PROMISCUOUS
modes.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 1 +
drivers/net/ethernet/ti/netcp_core.c | 19 ++
Introduce rgmii link status to handle link state events for 2u
cpsw hardware on K2G.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 34 +++---
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/drive
2u cpsw hardware on K2G uses rgmii link to interface with Phy. So add
support for this interface in the code so that driver can be re-used
for 2u hardware.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 2 ++
drivers/net/ether
scuous mode, ALE will not flood
all unicast packets to host port, while in promiscuous
mode, it will pass all received unicast packets to
host port.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/
similar issue with
checking XBE version by re-using existing macro IS_SS_ID_XGBE().
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/drivers/net/et
Andrew,
On 04/06/2018 10:30 AM, Andrew Lunn wrote:
> On Thu, Apr 05, 2018 at 03:35:06PM -0700, Florian Fainelli wrote:
>> On 04/05/2018 01:20 PM, David Miller wrote:
>>> From: Murali Karicheri <m-kariche...@ti.com>
>>> Date: Thu, 5 Apr 2018 16:14:49 -0400
On 04/05/2018 06:35 PM, Florian Fainelli wrote:
> On 04/05/2018 01:20 PM, David Miller wrote:
>> From: Murali Karicheri <m-kariche...@ti.com>
>> Date: Thu, 5 Apr 2018 16:14:49 -0400
>>
>>> Is there a standard way to implement and configure storm prevention
>&
packets allowed in a certain period of time. Is there a standard way
of passing this information from user space to driver?
Thanks in advance for your input!
--
Murali Karicheri
Linux Kernel, Keystone
On 04/02/2018 12:28 PM, David Miller wrote:
> From: Murali Karicheri <m-kariche...@ti.com>
> Date: Mon, 2 Apr 2018 12:17:17 -0400
>
>> This patch adds support for promiscuous mode in network driver for K2G
>> SoC. This depends on v3 of my series at
>> htt
Andrew,
Thanks for reviewing this!
On 04/02/2018 12:47 PM, Andrew Lunn wrote:
> On Mon, Apr 02, 2018 at 12:17:19PM -0400, Murali Karicheri wrote:
>> +static int gbe_set_rx_mode(void *intf_priv, bool promisc)
>> +{
>> +struct gbe_intf *gbe_intf = intf_priv;
>> +
scuous mode, ALE will not flood
all unicast packets to host port, while in promiscuous
mode, it will pass all received unicast packets to
host port.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/
This patch adds support for promiscuous mode in network driver for K2G
SoC. This depends on v3 of my series at
https://www.spinics.net/lists/kernel/msg2765942.html
I plan to fold this to the above series and submit again when the net-next
merge windows opens. At this time, please review and let
patch. Currently
rx modes supported are PROMISCUOUS and NON_PROMISCUOUS
modes.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 1 +
drivers/net/ethernet/ti/netcp_core.c | 19 ++
On 04/02/2018 10:40 AM, David Miller wrote:
>
> The net-next tree is closed, please resubmit this after the merge window and
> the net-next tree is open back up again.
>
Ok. Will do. Thanks
--
Murali Karicheri
Linux Kernel, Keystone
2u cpsw hardware on K2G uses sgmii link to interface with Phy. So add
support for this interface in the code so that drover can be re-used
for 2u hardware.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 2 ++
drivers/net/ether
similar issue with
checking XBE version by re-using existing macro IS_SS_ID_XGBE().
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 29 -
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/drivers/net/et
The stats block in 2u cpsw hardware is similar to the one on nu
and hence handle it in a similar way by using a macro that includes
2u hardware as well.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 2 +-
1 file changed, 1 insertion
The driver currently support only vlan priority zero. So map the
vlan priorities to zero flow in hardware.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/ether
with index
less than regions0_size is in region 0. So update the size accordingly in
the regions0_size bits of the linking ram size 0 register.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
.../bindings/soc/ti/keystone-navi
Andrew Lunn and Grygorii Strashko
against v2.
v2 - Addressed following comments on initial version
- split patch 3/5 to multiple patches from Andrew Lunn
Murali Karicheri (11):
soc: ti: K2G: enhancement to support QMSS in K2G NAVSS
soc: ti: K2G: provide APIs to support driver probe
The phy used for K2G allows for internal delays to be added optionally
to the clock circuitry based on board desing. To add this support,
enhance the driver to use of_get_phy_mode() to read the phy-mode from
the phy device and pass the same to phy through of_phy_connect().
Signed-off-by: Murali
driver, needs to defer probe until
knav devices are probed and ready to service. To do this,
add an API to query the device ready status from the knav
dma and qmss devices.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/soc/ti/knav_dma.c| 8
drivers/
As the probe sequence is not guaranteed contrary to the assumption
of the commit 2d8e276a9030, same has to be reverted.
commit 2d8e276a9030 ("net: netcp: remove dead code from the driver")
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/
As a preparatory patch to add support for 2u cpsw hardware found on
K2G SoC, make call to gbe_sgmii_config() conditional. This is required
since 2u uses RGMII interface instead of SGMII and to allow for driver
re-use.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/et
The netcp driver shouldn't proceed until the knav qmss and dma
devices are ready. So return -EPROBE_DEFER if these devices are not
ready.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_core.c | 4
1 file changed, 4 insertions(+)
diff --git a/d
Introduce rgmii link status to handle link state events for 2u
cpsw hardware on K2G.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 34 +++---
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/drive
t; something which is not RGMII?
>
Ok. Make sense.
> Andrew
>
--
Murali Karicheri
Linux Kernel, Keystone
On 03/27/2018 01:29 PM, Andrew Lunn wrote:
> On Tue, Mar 27, 2018 at 12:31:44PM -0400, Murali Karicheri wrote:
>> Introduce rgmii link status to handle link state events for 2u
>> cpsw hardware on K2G.
>>
>> Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
&
On 03/27/2018 01:18 PM, Andrew Lunn wrote:
> On Tue, Mar 27, 2018 at 12:31:42PM -0400, Murali Karicheri wrote:
>> As a preparatory patch to add support for 2u cpsw hardware found on
>> K2G SoC, make call to gbe_sgmii_config() conditional. This is required
>> since 2u uses RG
0,6 +1749,10 @@ static int knav_queue_probe(struct platform_device
>> *pdev)
>> return -ENOMEM;
>> }
>>
>> +match = of_match_device(of_match_ptr(keystone_qmss_of_match), dev);
>> +if (match && match->data)
>> +kdev->version = QMSS_LITE;
>
> if (match)
> kdev->version = match->data;
> else
> error?
Similar to above. This private memory is allocated using kzalloc which
initializes
everything to zero. So the else part is unnecessary.
Murali
> [...]
>
--
Murali Karicheri
Linux Kernel, Keystone
Hi Grygorii,
Thanks for reviewing this!
On 03/28/2018 03:01 PM, Grygorii Strashko wrote:
> Hi Murali,
>
> On 03/27/2018 11:31 AM, Murali Karicheri wrote:
>> Navigator Subsystem (NSS) available on K2G SoC has a cut down
>> version of QMSS with less number of queues,
On 03/27/2018 01:29 PM, Andrew Lunn wrote:
> On Tue, Mar 27, 2018 at 12:31:44PM -0400, Murali Karicheri wrote:
>> Introduce rgmii link status to handle link state events for 2u
>> cpsw hardware on K2G.
>>
>> Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
&
On 03/27/2018 01:18 PM, Andrew Lunn wrote:
> On Tue, Mar 27, 2018 at 12:31:42PM -0400, Murali Karicheri wrote:
>> As a preparatory patch to add support for 2u cpsw hardware found on
>> K2G SoC, make call to gbe_sgmii_config() conditional. This is required
>> since 2u uses RG
On 03/27/2018 01:13 PM, Andrew Lunn wrote:
> On Tue, Mar 27, 2018 at 12:31:42PM -0400, Murali Karicheri wrote:
>> As a preparatory patch to add support for 2u cpsw hardware found on
>> K2G SoC, make call to gbe_sgmii_config() conditional. This is required
>> since 2u uses RG
)
is at https://pastebin.ubuntu.com/p/6Vh55DW8vT/
This series applies to net-next master branch.
Change history:
v2 - Addressed following comments on initial version
- split patch 3/5 to multiple patches from Andrew Lunn
Murali Karicheri (10):
soc: ti: K2G: enhancement to support QMSS in NSS
soc
Introduce rgmii link status to handle link state events for 2u
cpsw hardware on K2G.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 27 +++
1 file changed, 23 insertions(+), 4 deletions(-)
diff --git a/drive
The stats block in 2u cpsw hardware is similar to the one on nu
and hence handle it in a similar way by using a macro that includes
2u hardware as well.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 2 +-
1 file changed, 1 insertion
driver, needs to defer probe until
knav devices are probed and ready to service. To do this,
add an API to query the device ready status from the knav
dma and qmss devices.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/soc/ti/knav_dma.c| 8
drivers/
The driver currently support only vlan priority zero. So map the
vlan priorities to zero flow in hardware.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_ethss.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/net/ether
As a preparatory patch to add support for 2u cpsw hardware found on
K2G SoC, make call to gbe_sgmii_config() conditional. This is required
since 2u uses RGMII interface instead of SGMII and to allow for driver
re-use.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/et
The phy used for K2G allows for internal delays to be added optionally
to the clock circuitry based on board desing. To add this support,
enhance the driver to use of_get_phy_mode() to read the phy-mode from
the phy device and pass the same to phy through of_phy_connect().
Signed-off-by: Murali
The netcp driver shouldn't proceed until the knav qmss and dma
devices are ready. So return -EPROBE_DEFER if these devices are not
ready.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_core.c | 4
1 file changed, 4 insertions(+)
diff --git a/d
2u cpsw hardware on K2G uses sgmii link to interface with Phy. So add
support for this interface in the code so that drover can be re-used
for 2u hardware.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 2 ++
drivers/net/ether
escriptors with index less than regions0_size is in
region 0. So update the size accordingly in the regions0_size bits
of the linking ram size 0 register.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
.../bindings/soc/ti/keyst
As the probe sequence is not guaranteed contrary to the assumption
of the commit 2d8e276a9030, same has to be reverted.
commit 2d8e276a9030 ("net: netcp: remove dead code from the driver")
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/
ressed.
Regards,
Murali
> If this was an old hardware which is slowly going away, it would not
> be an issue. But it seems like there are new variants of the hardware
> being released. So maybe you should go back and re-write the DMA
> driver, rather than paper over the cracks?
>
> Andrew
>
--
Murali Karicheri
Linux Kernel, Keystone
Hello Andrew,
On 03/26/2018 04:48 PM, Andrew Lunn wrote:
> On Mon, Mar 26, 2018 at 04:15:09PM -0400, Murali Karicheri wrote:
>> This patch provide APIs to allow client drivers to support
>> probe deferral. On K2G SoC, devices can be probed only
>> after the ti_sci_pm_dom
On 03/26/2018 04:28 PM, Andrew Lunn wrote:
> On Mon, Mar 26, 2018 at 04:15:10PM -0400, Murali Karicheri wrote:
>> K2G SoC uses 2u cpsw h/w. It uses RGMII instead of SGMII to interface with
>> Phy. This patch enhances the driver to check RGMII status instead of SGMII
>>
As the probe sequence is not guaranteed contrary to the assumption
of the commit 2d8e276a9030, same has to be reverted.
commit 2d8e276a9030 ("net: netcp: remove dead code from the driver")
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/
escriptors with index less than regions0_size is in
region 0. So update the size accordingly in the regions0_size bits
of the linking ram size 0 register.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
---
.../bindings/soc/ti/keyst
to priority zero.
Additionally, When a phy with rgmii interface requires internal delay, the
same is set in the phy driver. To support such phy devices, add a phy-mode
handling code in the driver using of_get_phy_mode() and pass the obtained
phy mode to of_phy_connect()
Signed-off-by: Murali
)
is at https://pastebin.ubuntu.com/p/6Vh55DW8vT/
This series applies to net-next master branch.
Murali Karicheri (5):
soc: ti: K2G: enhancement to support QMSS in NSS
soc: ti: K2G: provide APIs to support driver probe deferral
net: netcp: ethss enhancements to support 2u cpsw h/w on K2G SoC
Revert
driver, needs to defer probe until
knav devices are probed and ready to service. To do this,
add an API to query the device ready status from the knav
dma and qmss devices.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/soc/ti/knav_dma.c| 8
drivers/
The netcp driver shouldn't proceed until the knav qmss and dma
devices are ready. So return -EPROBE_DEFER if these devices are not
ready.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_core.c | 4
1 file changed, 4 insertions(+)
diff --git a/d
a
bridge.
So your expert opinion is needed. Thanks.
--
Murali Karicheri
Linux Kernel, Keystone
Hi David,
On 08/08/2017 07:00 PM, David Miller wrote:
> From: Murali Karicheri <m-kariche...@ti.com>
> Date: Tue, 8 Aug 2017 18:17:52 -0400
>
>> Is there an skb_alloc function that can be used from interrupt handler?
>> Looks like netdev_alloc_skb()
>> can't be
;stats.rx_bytes += pkt_info.length;
ndev->stats.rx_packets++;
Also want to know if there is a real SKB alloc function that can be used from
hard irq context.
--
Murali Karicheri
Linux Kernel, Keystone
+0x374/0x554 [prueth])
[ 652.481793] [] (emac_rx_hardirq [prueth]) from []
(__handle_irq_event_percpu+0x9c/0x128)
This is running under RT kernel off 4.9.y
--
Murali Karicheri
Linux Kernel, Keystone
This fix coding style issues detected by running checkpatch.pl -f
option on files under net/hsr.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
- applies to net-next/master
- Test logs at http://pastebin.ubuntu.com/24917637/
net/hsr/hsr_device.c | 49 +---
[]
(mld_sendpack+0x420/0x744)
As this is an expected path to hsr_get_node() with frame coming from
the master interface, add a check to ensure packet is not from the
master port and then warn.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
v1 - sending as a separate patch to apply
vel,
> how it is doing it, and why it is doing it that way.
>
> For this, submit the erroneous warning removal against 'net' as a single
> patch. And then once that propagates into the 'net-next' tree you can
> submit the coding style cleanups against 'net-next', thanks.
>
Thanks. Wi
This fix coding style issues detected by running checkpatch.pl -f
option on files under net/hsr.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
Logs at http://pastebin.ubuntu.com/24787763/
net/hsr/hsr_device.c | 55 ++--
net/hsr/hsr_forward.c
[]
(mld_sendpack+0x420/0x744)
As this is an expected path to hsr_get_node() with frame coming from
the master interface, add a check to ensure packet is not from the
master port and then warn.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
Logs at http://pastebin.ubuntu.com/24
On 04/18/2017 06:37 PM, Cong Wang wrote:
> On Tue, Apr 18, 2017 at 10:20 AM, Murali Karicheri <m-kariche...@ti.com>
> wrote:
>> On 04/18/2017 01:12 PM, Murali Karicheri wrote:
>>> On 04/17/2017 05:38 PM, Cong Wang wrote:
>>>> Hello,
>>>>
>&g
On 04/18/2017 01:12 PM, Murali Karicheri wrote:
> On 04/17/2017 05:38 PM, Cong Wang wrote:
>> Hello,
>>
>> On Thu, Apr 13, 2017 at 9:36 AM, Murali Karicheri <m-kariche...@ti.com>
>> wrote:
>>> On 03/22/2017 11:04 AM, Murali Karicheri wrote:
>>
On 04/17/2017 05:38 PM, Cong Wang wrote:
> Hello,
>
> On Thu, Apr 13, 2017 at 9:36 AM, Murali Karicheri <m-kariche...@ti.com> wrote:
>> On 03/22/2017 11:04 AM, Murali Karicheri wrote:
>>> This is going directly to the slave Ethernet interface.
>>&
On 03/22/2017 11:04 AM, Murali Karicheri wrote:
> Hi Liu,
>
> I saw that you have sent patches to the list for IGMP and have a question on
> IGMP on IPv6.
> Hope you can clarify. I have posted the question already to the list and is
> reproduced
> below. Let me know
00 01 01
This is going directly to the slave Ethernet interface.
When I put a WARN_ONCE, I found this is coming directly from
mld_ifc_timer_expire() -> mld_sendpack() -> ip6_output()
Do you think this is fixed in latest kernel at master? If so, could
you point me to some commits.
to the slave Ethernet interface.
When I put a WARN_ONCE, I found this is coming directly from
mld_ifc_timer_expire() -> mld_sendpack() -> ip6_output()
Do you think this is fixed in latest kernel at master? If so, could
you point me to some commits.
Thanks
--
Murali Karicheri
Linux Kernel, Keystone
On 02/13/2017 10:38 AM, Arvid Brodin wrote:
> On 2017-02-09 21:32, Murali Karicheri wrote:
>> Hi Arvid,
>>
>> While I work to add PRP support to the existing Linux HSR driver, I came
>> across
>> a piece of code related to prune node function. The hsr_
sabled?
--
Murali Karicheri
Linux Kernel, Keystone
...@trash.net
> ...
> */
>
> Regards,
> Rami Rosen
>
Hi, Rami,
Thanks for confirming. I will send out a patch for fixing this when I get a
chance to
test hsr for my work in the next few days.
--
Murali Karicheri
Linux Kernel, Keystone
.print_opt = hsr_print_opt,
.print_help = hsr_print_help,
};
This appears to be a cut-n-paste bug as the source is based on
ip/iplink_vlan.c and should be fixed to IFLA_HSR_MAX. If yes,
I will send a patch for this.
Thanks.
--
Murali Karicheri
Linux Kernel, Keystone
bindings. Also update the DT document
accordingly.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
- I had sent this earlier and some how it didn't get through and
I haven't seen any comment for this. So sending this again.
- Appli
add the below HACK, this works fine.
commit e5bd8bfe7f544df03772c094331bb27e1a5a5600
Author: Murali Karicheri <m-kariche...@ti.com>
Date: Fri Jan 6 12:22:13 2017 -0500
TEMP: work around in marvel Phy driver for u-boot dhcp timeout
Signed-off-by: Murali Karicheri <m-kariche.
, not just 3 port. The version mask is
3 bits in NU Switch ALE vs 8 bits on other ALE types.
While at it, change the debug print to info print so that ALE
version gets displayed in boot log.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
t;m-scher...@ti.com>
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 18 ++
drivers/net/ethernet/ti/netcp_core.c | 68 +---
2 files changed, 74 insertions(+
processing.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 1 +
drivers/net/ethernet/ti/netcp_core.c | 20 +---
include/linux/soc/ti/knav_dma.h | 2 ++
3 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/d
Some of the newer Ethernet switch hw (such as that on k2e/l/g) can
strip the Etherenet FCS from packet at the port 0 egress of the switch.
So use this capability instead of doing it in software.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek.
in the macros. The parameter nu_switch_ale is configured by
the caller driver to indicate the ALE is for that switch and is used in
the ALE driver to do customization as needed.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
drivers/net
to 2048 per User guide
http://www.ti.com/lit/ug/spruhj5/spruhj5.pdf
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
drivers/net/ethernet/ti/cpsw_ale.c| 31 ++-
drivers/net/ethernet/ti/netcp_ethss.c
The psdata is populated with command data by netcp modules
to the tail of the buffer and set_words() copy the same
to the front of the psdata. So remove the redundant memmov
function call.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
---
drivers/net/ethernet/ti/netcp_core
Currently to parse phy-handle, driver doesn't check if the interface is
MAC to PHY. This patch add this check for all MAC to PHY interface types
supported by the driver.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
drivers/net
in 64 bits
Murali Karicheri (7):
net: netcp: extract eflag from desc for rx_hook handling
net: netcp: remove the redundant memmov()
net: netcp: ethss: get phy-handle only if link interface is MAC-to-PHY
net: netcp: use hw capability to remove FCS word from rx packets
net: netcp: ale
On 01/05/2017 03:42 PM, Murali Karicheri wrote:
> Rob,
>
> On 12/22/2016 04:24 PM, Rob Herring wrote:
>> On Tue, Dec 20, 2016 at 05:09:44PM -0500, Murali Karicheri wrote:
>>> From: WingMan Kwok <w-kw...@ti.com>
>>>
>>> 10gbe phy driver needs to
Rob,
On 12/22/2016 04:24 PM, Rob Herring wrote:
> On Tue, Dec 20, 2016 at 05:09:44PM -0500, Murali Karicheri wrote:
>> From: WingMan Kwok <w-kw...@ti.com>
>>
>> 10gbe phy driver needs to access the 10gbe subsystem control
>> register during phy initialization. T
David,
On 12/20/2016 07:03 PM, David Miller wrote:
>
> The net-next tree is not open, do not resubmit this series until it
> is open again.
>
> Thanks.
>
Ok. Thanks
--
Murali Karicheri
Linux Kernel, Keystone
Currently to parse phy-handle, driver doesn't check if the interface is
MAC to PHY. This patch add this check for all MAC to PHY interface types
supported by the driver.
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
drivers/net
This series is for net-next. This propagates enhancements and minor
bug fixes from internal version of the driver to keep the upstream
in sync. Please review and apply if this looks good.
Tested on all of K2HK/E/L boards.
Thanks
Murali Karicheri
Michael Scherban (1):
net: netcp: store network
hernet link is up or not depends also on the status of the
block-lock bit of the PCSR. This patch adds the checking of that
bit in order to determine the link status.
Signed-off-by: WingMan Kwok <w-kw...@ti.com>
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by:
t;m-scher...@ti.com>
Signed-off-by: Murali Karicheri <m-kariche...@ti.com>
Signed-off-by: Sekhar Nori <nsek...@ti.com>
---
drivers/net/ethernet/ti/netcp.h | 18 ++
drivers/net/ethernet/ti/netcp_core.c | 68 +---
2 files changed, 74 insertions(+
1 - 100 of 198 matches
Mail list logo