]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bnx2x: Add missing afex code
authorYuval Mintz <yuvalmin@broadcom.com>
Tue, 11 Sep 2012 04:34:14 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:37:52 +0000 (16:37 -0400)
commit7b5342d9026d537cbc01fd30b7cd9bac9b07b5ad
tree8f26cbb5145f16a4f6bcd209c2ee1f064bade600
parent2ace95103df2bcb574c9da5df96807e9b46f9b38
bnx2x: Add missing afex code

Commit a334872224a67b614dc888460377862621f3dac7 added afex support but lacked
several logical changes. This lack can cause afex to crash, and also
have a slight effect on other flows (i.e., driver always assumes the Tx ring
has less available buffers than what it actually has).

This patch adds the missing segments, fixing said issues.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Barak Witkowski <barak@broadcom.com>
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c