Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • net
  • ixgbe
  • ixgbe.h
Find file BlameHistoryPermalink
  • Jesse Brandeburg's avatar
    ixbge: fix bug when using large pages and jumbo frames · 32344a39
    Jesse Brandeburg authored Feb 24, 2009
    
    
    it was pointed out on the list that ixgbe was failing when using 64kB pages
    and large 16kB MTU.
    
    since with a 64kB PAGE_SIZE MAX_SKB_FRAGS = 3, the way the driver was
    configuring page usage was assuming 2kB is half a page, and was only
    ever dmaing that much data to a half page.
    
    (16kB - header size) / 2048 = 7 or 8 pages, which would far exceed 3
    
    adjust the driver to account for these large pages, the hardware can
    support DMA to up to 16kB for each descriptor.
    Signed-off-by: default avatarJesse Brandeburg <jesse.brandeburg@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    32344a39

Replace ixgbe.h

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.