OSDN Git Service

cxgb4: Add CLIP support to store compressed IPv6 address
authorVipul Pandya <vipul@chelsio.com>
Thu, 4 Jul 2013 10:40:46 +0000 (16:10 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 12 Aug 2013 19:33:37 +0000 (12:33 -0700)
commit01bcca68c38300745ea8e2d4e9513111406fd923
tree691143608d5203d7475c4c92f493f8af93a1b5be
parent80f40c1f7a722d754a73027931a80746420c7c89
cxgb4: Add CLIP support to store compressed IPv6 address

The Compressed LIP region is used to hold a limited number of Local
IPv6 addresses.  This region is primarily used to reduce the TCAM
space consumed for an IPv6 offloaded connection.  A 128-bit LIP will
be reduced to 13-bit and stored in the TCAM if there is a match
between the IPv6 tuple's LIP and the one stored in the CLIP 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/t4fw_api.h