Hi guys,

Did someone succeed to turn P0_LED, P1_LED leds by writing values to registers 
on XL710?
I made an all according to the data sheet, but I don't succeed, that any LED is 
turned ON or blinking.
My card with XL710 consists of 2 ports (interface p6p1, p6p2).
I use command "ethtool -p p6p1" and all is OK; LED is blinking.

Now I try to do it by writing to register GLGEN_GPIO_CTL[n] (11.2.2.1.4 
according to the data sheet)
I change field N% 10 - LED INVERT from 0 state to 1 state in the loop.
Below is the script:

#!/bin/bash

#Define Registers
GLGEN_GPIO_CTL=0x00088100
GLGEN_LED_CTL=0x00088178
GLGEN_GPIO_STAT=0x0008817c

for i in `seq 0 20`;
do
        find /sys/kernel/debug/i40e/ -name command -exec sh -c 'echo  "write 
'$GLGEN_GPIO_CTL' 0x03f1f090 " > {}' {} ';'
        sleep 1
        find /sys/kernel/debug/i40e/ -name command -exec sh -c 'echo  "write 
'$GLGEN_GPIO_CTL' 0x03f1f490 " > {}' {} ';'
        sleep 1
done


But all LEDs are turned off.

What did I wrong? Is something missed? Maybe need more registers for this?

Please advice

Vladimir
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit 
http://communities.intel.com/community/wired

Reply via email to