]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
net: allow multiple dev per napi with GRO
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 1 Apr 2009 11:20:20 +0000 (11:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2009 08:07:37 +0000 (01:07 -0700)
commitf2bde7328633269ee935d9ed96535ade15cc348f
tree5691cd6965cc7dae9d29b79fd9facfdc4c18199e
parentd78ad8cbfe73ad568de38814a75e9c92ad0a907c
net: allow multiple dev per napi with GRO

GRO assumes that there is a one-to-one relationship between NAPI
structure and network device. Some devices like sky2 share multiple
devices on a single interrupt so only have one NAPI handler. Rather than
split GRO from NAPI, just have GRO assume if device changes that
it is a different flow.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c