netdev
[Top] [All Lists]

FW: destructor use in skb

To: "'Netdev'" <netdev@xxxxxxxxxxx>
Subject: FW: destructor use in skb
From: "Raj, Ashok" <ashok.raj@xxxxxxxxx>
Date: Wed, 28 Mar 2001 12:16:41 -0800
Sender: owner-netdev@xxxxxxxxxxx
Hello.

Iam looking for a way so that a networking device
driver, after it hands the sk_buff up the protocol stack (netif_rx)

right when its appropriate for the buffer to go to the free pool
it checks for ref counts and then calls the destructor function with
the skb ptr. 

Most usages dont seem to use this one, but just use this as a means to 
allocate another skb (using some private fields from here) and just
disregard this
buffer. 

Alan seemed to indicate there is some possible work going on here 
and this recycle of skb's back to the network device driver
would be a big plus for us. 

any pointers here would be greatly apprecited


ashokr

-----Original Message-----
From: Alan Cox [mailto:alan@xxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, March 28, 2001 12:00 PM
To: ashok.raj@xxxxxxxxx
Cc: alan@xxxxxxxxxxxxxxxxxxx
Subject: Re: destructor use in skb


Currently its there for AF_UNIX garbage collecting. I know Dave & Ingo 
experimented with per device recycling. You might want to ask the
netdev@xxxxxxxxxxx list.



<Prev in Thread] Current Thread [Next in Thread>
  • FW: destructor use in skb, Raj, Ashok <=