How to get the kernel to send my network driver fragmented skbs?



Hello -


I wrote a network driver and am currently testing it. This driver sets
the
NETIF_F_SG flag in its features on kernel 2.6.13.3.

While it seems to work, I don't see any incoming skbs from the kernel
(i.e. going to the driver's hard_start_xmit()) that has the
skbsh_info's
nr_frags set to > 0.

I've run several generally available programs (e.g. Apache, telnet,
ssh)
over my driver but still don't see any fragmented skb. I'd like to get
some
to test this part of my code.

(While writing this, I remembered that gather/scather io of the file
operations,
would this create those skbs?? I'll give it a try.)

Thanks,
Ching

.



Relevant Pages

  • How to get the kernel to send my network driver fragmented skbs?
    ... I wrote a network driver and am currently testing it. ... This driver sets ... NETIF_F_SG flag in its features on kernel 2.6.13.3. ... I don't see any incoming skbs from the kernel ...
    (comp.os.linux.development.system)
  • Re: 2.6.30-rc4 kernel
    ... I think there may be a problem with the 2.6.30 kernel that is ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • 2.6.30-rc4 kernel
    ... kernel panic - not syncing: ... # Generic Driver Options ... # PCI IDE chipsets support ... # Other IDE chipsets support ...
    (Linux-Kernel)
  • [PATCH 18-rc2] Fix typos in /Documentation : N-P
    ... Again, if you're not gonna do synchronization with disk drives (dang, ... -the kernel. ... There are two options specific to PSX driver portion. ... The driver uses the settings from the EEPROM set in the SCSI BIOS ...
    (Linux-Kernel)
  • Re: PROBLEM: kernel BUG at drivers/media/video/em28xx/em28xx-video.c:891
    ... I am using a Pinnacle Dazzle DVC100 Rev 1.1 USB frame grabber card, and each time I stop capturing video the driver crashes. ... This happens both in an unpatched 2.6.37 kernel and in the debian 2.6.32-5 kernel. ... em28xx driver crashes and usb subsystem hangs when video capturing stops. ...
    (Linux-Kernel)