Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1501821
| From | Felipe Balbi <balbi@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | RE: USB GADGET: have a question about usb2eth |
| Date | 2016-10-17 11:40 +0200 |
| Message-ID | <stcyK-1Fs-23@gated-at.bofh.it> (permalink) |
| References | <sstih-5E9-3@gated-at.bofh.it> <st5nz-5hC-5@gated-at.bofh.it> <sta3U-8rr-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, (please, avoid top-posting: http://daringfireball.net/2007/07/on_top) Lipengcheng <lpc.li@hisilicon.com> writes: > Hi, > thank you for your suggestion. > > I have a question about usb2eth. In the function gen_ndis_set_resp > of the rndis.c, the value of *params->filter may be 0x20 from the > pc set command; Howerver the value is used cdc_filter = > dev->port_usb->cdc_filter in the function eth_start_xmit of the u_ether.c. > If we do not judge the RNDIS_PACKET_TYPE_PROMISCUOUS and the value is > 0x20, the broadcast packet can not send the pc win7; At the result, > the linux ping the win7 is slow an the first. At the same time, Why are > different value between RNDIS_PACKET_TYPE_PROMISCUOUS and > USB_CDC_PACKET_TYPE_PROMISCUOUS? If the value of RNDIS_PACKET_TYPE_PROMISCUOUS because they are defined by different specifications. You should read both CDC specification from USB.org and RNDIS spec from Microsoft to understand the details of that. > and USB_CDC_PACKET_TYPE_PROMISCUOUS is same, then the linux ping the win7 is > normal speed. I don't understand what's going on here. Care to describe which kernel you're using, which USB peripheral controller, what is the actual problem you're trying to solve? -- balbi
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
USB GADGET: have a question about usb2eth Lipengcheng <lpc.li@hisilicon.com> - 2016-10-15 11:20 +0200
Re: USB GADGET: have a question about usb2eth Peter Chen <hzpeterchen@gmail.com> - 2016-10-17 04:00 +0200
RE: USB GADGET: have a question about usb2eth Lipengcheng <lpc.li@hisilicon.com> - 2016-10-17 09:00 +0200
RE: USB GADGET: have a question about usb2eth Felipe Balbi <balbi@kernel.org> - 2016-10-17 11:40 +0200
RE: USB GADGET: have a question about usb2eth Lipengcheng <lpc.li@hisilicon.com> - 2016-10-18 05:30 +0200
RE: USB GADGET: have a question about usb2eth Felipe Balbi <balbi@kernel.org> - 2016-10-18 09:20 +0200
csiph-web