cxgb4: Add LE hash collision bug fix path in LLD driver
authorVipul Pandya <vipul@chelsio.com>
Mon, 10 Dec 2012 09:30:53 +0000 (09:30 +0000)
committerRoland Dreier <roland@purestorage.com>
Wed, 19 Dec 2012 17:28:19 +0000 (09:28 -0800)
commitdca4faeb812f665dab0607d8e0660ae564387186
tree5fd3def8d745eb588f7dc2f65833bc711371ea6f
parentf2b7e78dbc79e09fc1164b226adc03ed91a326cb
cxgb4: Add LE hash collision bug fix path in LLD driver

It supports establishing passive open connection through firmware filter work
request. Passive open connection will go through this path as now instead of
listening server we create a server filter which will redirect the incoming SYN
packet to the offload queue.

It divides filter region into regular filters and server filter portion. It
introduces new server filter region which will be exclusively used for creating
server filters. This region will not overlap with regular filter region.

It provides new API cxgb4_alloc_sftid in LLD for getting stid in case of LE
hash collision path. This new stid will be used to open server filter in the
filter region.

Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.h
drivers/net/ethernet/chelsio/cxgb4/t4_regs.h