]> git.baikalelectronics.ru Git - kernel.git/commit
skbuff: Move definition of NETDEV_FRAG_PAGE_MAX_SIZE
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 8 Feb 2013 10:17:15 +0000 (10:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2013 22:33:35 +0000 (17:33 -0500)
commit7ab31eb74385e2b308390f1ee3c60467e9293705
treebeff2a5540f816b58213da8af6275f7be81a86a7
parent2ba79a323412af4b4635c41e48fe4e919fc7f1a6
skbuff: Move definition of NETDEV_FRAG_PAGE_MAX_SIZE

In order to address the fact that some devices cannot support the full 32K
frag size we need to have the value accessible somewhere so that we can use it
to do comparisons against what the device can support.  As such I am moving
the values out of skbuff.c and into skbuff.h.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c