]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
cxgb4: Assign filter server TIDs properly
authorKumar Sanghvi <kumaras@chelsio.com>
Wed, 18 Dec 2013 11:08:21 +0000 (16:38 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Dec 2013 23:09:07 +0000 (18:09 -0500)
commit470c60c47a03f74f0ec1a83576eb6000025634a9
tree257d63a656d02f0af3d57ac0fd072b33a82e12e3
parent7c89e5550ccb2a3118854639d9525847e896c686
cxgb4: Assign filter server TIDs properly

The LE workaround code is incorrectly reusing the TCAM TIDs
(meant for allocation by firmware in case of hash collisions) for filter
servers. This patch assigns the filter server TIDs properly starting from
sftid_base index.

Based on original work by Santosh Rastapur <santosh@chelsio.com>

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h