Re: [PATCH RFC 2/6] net/ncsi: Packet handler

2015-11-08 Thread Benjamin Herrenschmidt
On Mon, 2015-11-09 at 11:10 +1100, Gavin Shan wrote: > + > +   /* Send NCSI packet */ > +   skb_get(nr->nr_cmd); > +   ret = dev_queue_xmit_sk(NULL, nr->nr_cmd); > +   if (ret) > +   goto out; > + Probably just dev_queue_xmit() in recent kernels This means the queue ne

[PATCH RFC 2/6] net/ncsi: Packet handler

2015-11-08 Thread Gavin Shan
NCSI packet encapsulated in ethernet frame is recognized by the protocol field (0x88F8) of the ethernet frame header. According to NCSI spec, the destination MAC field should be 0xFF's, but the source MAC field could be arbitrary one since channel field in NCSI header indicates the originator of th