]> git.karo-electronics.de Git - mv-sheeva.git/commit
usbnet: changes for upcoming cdc_ncm driver
authorAlexey Orishko <alexey.orishko@gmail.com>
Mon, 29 Nov 2010 23:23:27 +0000 (23:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 20:59:02 +0000 (12:59 -0800)
commit073285fd392f6dc901da7c698d46e1e2a7e26436
tree5207bc21a56d42eb9f86811068a8c55772b451f0
parent5ee493767352314893520ac40aec5bb07d0147e0
usbnet: changes for upcoming cdc_ncm driver

Changes:
include/linux/usb/usbnet.h:
- a new flag to indicate driver's capability to accumulate IP packets in Tx
 direction and extract several packets from single skb in Rx direction.
drivers/net/usb/usbnet.c:
- the procedure of counting packets in usbnet was updated due to the
 accumulating of IP packets in the driver
- no short packets are sent if indicated by the flag in driver_info
 structure

Signed-off-by: Alexey Orishko <alexey.orishko@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/usbnet.c
include/linux/usb/usbnet.h