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)
  • [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)
  • two scary syslog kernel messages
    ... Sep 20 03:46:06 marvin kernel: kernel BUG at mm/rmap.c:482! ... ACPI: Local APIC address 0xfee00000 ... Allocating PCI resources starting at 80000000 ... ** driver failed to call pci_enable_device. ...
    (Debian-User)
  • Re: [PATCH, RFT, v4] sata_mv: convert to new EH
    ... check both new and old drives with SMART ... Use a HIGHMEM enabled kernel. ... ACPI: PM-Timer IO Port: 0xe408 ... Real Time Clock Driver v1.12ac ...
    (Linux-Kernel)
  • Re: [PATCH 18-rc3] Fix typos in /Documentation : Q-R
    ... The driver will receive them again on the ... The kernel is entered with r3 pointing to an area of memory that is ... Bits are then right shifted into the GP_SAMPLE register at the specified ... you get an interrupt when a full DWORD is recieved. ...
    (Linux-Kernel)