bnx2x: add support for ndo_ll_poll
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 18 Jun 2013 22:36:04 +0000 (01:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 01:32:16 +0000 (18:32 -0700)
commit8f20aa575c0a69ccbdce325818f2b3878bfed61c
tree7c92c5dea857e403d9e7311b07383be7ed7acbfc
parent8501841a4483e678ebd1b7872019621244d0098a
bnx2x: add support for ndo_ll_poll

Adds ndo_ll_poll method and locking for FPs between LL and the napi.

When receiving a packet we use skb_mark_ll to record the napi it came from.
Add each napi to the napi_hash right after netif_napi_add().

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c