RE: USB GADGET: have a question about usb2eth

2016-10-18 Thread Felipe Balbi
rg; >> linux-ker...@vger.kernel.org >> Subject: RE: USB GADGET: have a question about usb2eth >> >> >> Hi, >> >> (please, avoid top-posting: http://daringfireball.net/2007/07/on_top) >> >> Lipengcheng <lpc...@hisilicon.com> writ

RE: USB GADGET: have a question about usb2eth

2016-10-17 Thread Lipengcheng
> -Original Message- > From: Felipe Balbi [mailto:ba...@kernel.org] > Sent: Monday, October 17, 2016 5:29 PM > To: Lipengcheng; Peter Chen > Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org > Subject: RE: USB GADGET: have a q

RE: USB GADGET: have a question about usb2eth

2016-10-17 Thread Felipe Balbi
Hi, (please, avoid top-posting: http://daringfireball.net/2007/07/on_top) Lipengcheng 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

RE: USB GADGET: have a question about usb2eth

2016-10-17 Thread Lipengcheng
October 17, 2016 9:56 AM > To: Lipengcheng > Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org > Subject: Re: USB GADGET: have a question about usb2eth > > On Sat, Oct 15, 2016 at 09:19:33AM +, Lipengcheng wrote: >

Re: USB GADGET: have a question about usb2eth

2016-10-16 Thread Peter Chen
On Sat, Oct 15, 2016 at 09:19:33AM +, Lipengcheng wrote: > Hi, > 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

USB GADGET: have a question about usb2eth

2016-10-15 Thread Lipengcheng
Hi, 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