Home
last modified time | relevance | path

Searched hist:a4abd7a80addb4a9547f7dfc7812566b60ec505c (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/include/linux/usb/
H A Dusbnet.hdiff a4abd7a80addb4a9547f7dfc7812566b60ec505c Wed Dec 06 13:21:24 CST 2017 Bjørn Mork <bjorn@mork.no> usbnet: fix alignment for frames with no ethernet header

The qmi_wwan minidriver support a 'raw-ip' mode where frames are
received without any ethernet header. This causes alignment issues
because the skbs allocated by usbnet are "IP aligned".

Fix by allowing minidrivers to disable the additional alignment
offset. This is implemented using a per-device flag, since the same
minidriver also supports 'ethernet' mode.

Fixes: 32f7adf633b9 ("net: qmi_wwan: support "raw IP" mode")
Reported-and-tested-by: Jay Foster <jay@systech.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
/openbmc/linux/drivers/net/usb/
H A Dusbnet.cdiff a4abd7a80addb4a9547f7dfc7812566b60ec505c Wed Dec 06 13:21:24 CST 2017 Bjørn Mork <bjorn@mork.no> usbnet: fix alignment for frames with no ethernet header

The qmi_wwan minidriver support a 'raw-ip' mode where frames are
received without any ethernet header. This causes alignment issues
because the skbs allocated by usbnet are "IP aligned".

Fix by allowing minidrivers to disable the additional alignment
offset. This is implemented using a per-device flag, since the same
minidriver also supports 'ethernet' mode.

Fixes: 32f7adf633b9 ("net: qmi_wwan: support "raw IP" mode")
Reported-and-tested-by: Jay Foster <jay@systech.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dqmi_wwan.cdiff a4abd7a80addb4a9547f7dfc7812566b60ec505c Wed Dec 06 13:21:24 CST 2017 Bjørn Mork <bjorn@mork.no> usbnet: fix alignment for frames with no ethernet header

The qmi_wwan minidriver support a 'raw-ip' mode where frames are
received without any ethernet header. This causes alignment issues
because the skbs allocated by usbnet are "IP aligned".

Fix by allowing minidrivers to disable the additional alignment
offset. This is implemented using a per-device flag, since the same
minidriver also supports 'ethernet' mode.

Fixes: 32f7adf633b9 ("net: qmi_wwan: support "raw IP" mode")
Reported-and-tested-by: Jay Foster <jay@systech.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>