[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170503125254.GF8029@lunn.ch>
Date: Wed, 3 May 2017 14:52:54 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Gavin Shan <gwshan@...ux.vnet.ibm.com>
Cc: netdev@...r.kernel.org, joe@...ches.com, kubakici@...pl,
f.fainelli@...il.com, davem@...emloft.net
Subject: Re: [PATCH v4 net-next 08/10] net/ncsi: Support NCSI packet
generation
On Wed, May 03, 2017 at 02:44:39PM +1000, Gavin Shan wrote:
> This introduces /sys/kernel/debug/ncsi/eth0/pkt. The debugfs entry
> can accept parameters to produce NCSI command packet. The received
> NCSI response packet is dumped on read. Below is an example to send
> CIS command and dump its response.
>
> # echo CIS,0,0 > /sys/kernel/debug/ncsi/eth0/pkt
> # cat /sys/kernel/debug/ncsi/eth0/pkt
> NCSI response [CIS] packet received
>
> 00 01 dd 80 00 0004 0000 0000
Hi Gavin
Could this be done with a raw socket for Tx and
libpcap/tcpdump/wireshart for Rx?
Andrew
Powered by blists - more mailing lists