Re: what is CONFIG_OF

2014-11-18 Thread Tom Chen
于 2014年11月18日 15:58, manty kuma 写道: > Hi, > > What is CONFIG_OF? I see that it is being widely used at many places but > could not understand in what scenarios i need to use it. There is no > help documentation available in kconfig for this. > Device Tree support? see: http://lwn.net/Articles/4236

Re: what is CONFIG_OF

2014-11-18 Thread Robert P. J. Day
On Tue, 18 Nov 2014, manty kuma wrote: > Hi, > > What is CONFIG_OF? I see that it is being widely used at many places > but could not understand in what scenarios i need to use it. There > is no help documentation available in kconfig for this. Open Firmware, aka Device trees. rday -- =

Re: Userspace agent crash and kernel module

2014-11-18 Thread Pranay Srivastava
Hi Kevin On Tue, Nov 18, 2014 at 1:19 PM, Kevin Wilson wrote: > Hi, > I want to write a kernel module which interacts with a userspace daemon. > There are cases when the userspace daemon can terminate by some signals. > There are also cases where the userspace daemon can crash (in some abnorma

Re: what is CONFIG_OF

2014-11-18 Thread manty kuma
Thank you all. I got it. Generally naming in kernel is very precise but in this case I feel it is little confusing. Thank you again. On Tue, Nov 18, 2014 at 7:20 PM, sanjeev sharma wrote: > This option will let you know whether you would like to leverage support > of Device tree or not ? > > Re

Re: what is CONFIG_OF

2014-11-18 Thread sanjeev sharma
This option will let you know whether you would like to leverage support of Device tree or not ? Regards Sanjeev Sharma On Tue, Nov 18, 2014 at 1:38 PM, Robert P. J. Day wrote: > On Tue, 18 Nov 2014, manty kuma wrote: > > > Hi, > > > > What is CONFIG_OF? I see that it is being widely used at ma

Re: Choosing the right environment

2014-11-18 Thread Gusman Dharma Putra
-- Original Message -- From: "Philipp Muhoray" To: kernelnewbies@kernelnewbies.org Sent: 11/1/2014 9:41:36 PM Subject: Choosing the right environment Hello there, After reading LDD and LKD, I feel ready to start some actual kernel hacking. Therefore I wanted to ask you what environm

Re: Choosing the right environment

2014-11-18 Thread Saket Sinha
> - I could go with a virtual machine on one of my main machines – But I'm not > quite sure whether the hardware-abstraction will give me troubles when > hacking on hardware drivers (which I want to start with) > Developing on virtual machine(you can try VirtualBox) is the best option, if you int

Re: Choosing the right environment

2014-11-18 Thread Valdis . Kletnieks
On Tue, 18 Nov 2014 20:54:05 +0530, somebody said: > > - I could go with a virtual machine on one of my main machines – But I'm > > not > > quite sure whether the hardware-abstraction will give me troubles when > > hacking on hardware drivers (which I want to start with) If you're hacking at ha

Re: Choosing the right environment

2014-11-18 Thread Philipp Muhoray
Am 2014-11-18 um 16:36 schrieb valdis.kletni...@vt.edu: > On Tue, 18 Nov 2014 20:54:05 +0530, somebody said: >>> - I could go with a virtual machine on one of my main machines – But I'm >>> not >>> quite sure whether the hardware-abstraction will give me troubles when >>> hacking on hardware dr

skb headroom and tailroom

2014-11-18 Thread Varun Sharma
Hi, I have few basic question regarding headroom and tailroom in skb. 1. At time of skb allocation sk->sk_prot->max_header value is 272 . If we add tcp header+ip header+mac header outcome will always less than 272 .Then why allocate more ? Is it for future case ? 2. Why space left in headroom

gso vs tso

2014-11-18 Thread Varun Sharma
Hi, I have basic question about gso(generic segmentation offload) vs tso(TCP segmentation offload) 1. How both are different to each other? 2. If both are ON using ethtool which one is perform segmentation gso or tso ? Regards varun ___ Kernelnewbie

Re: gso vs tso

2014-11-18 Thread Raj Ravi
TSO is a hardware feature whereas GSO is a software feature. In the sense, TSO needs "the device" to break the frame into MTU sized segments. BUT, GSO is a strategy followed by kernel to avoid processing smaller packets throughout the stack. Refer this: http://blogs.gnome.org/markmc/2008/05/28/c

Re: gso vs tso

2014-11-18 Thread Varun Sharma
If both are ON then which one works tso or gso ? On Wed, Nov 19, 2014 at 12:22 PM, Varun Sharma wrote: > If both are ON then which one works tso or gso ? > > > > On Wed, Nov 19, 2014 at 12:07 PM, Raj Ravi wrote: >> TSO is a hardware feature whereas GSO is a software feature. >> >> In the sense,