Subject: Re: [PATCH v4 net-next 08/10] net/ncsi: Support NCSI packet generation

From: Andrew Lunn <[email-masked]>
Date: Wed, 3 May 2017 14:52:54 +0200

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