linux/drivers/net/ethernet/chelsio
Kumar Sanghvi 15f63b74c2 cxgb4: Account for stid entries properly in case of IPv6
IPv6 uses 2 TIDs with CLIP enabled and 4 TIDs without CLIP.
Currently we are incrementing STIDs in use by 1 for both IPv4 and IPv6 which
is wrong.

Further, driver currently does not have interface to query if CLIP is programmed
for particular IPv6 address. So, in this patch we increment/decrement TIDs in use
by 4 for IPv6 assuming absence of CLIP. Such assumption keeps us on safe side and
we don't end up allocating more stids for IPv6 than actually supported.

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>
2013-12-22 18:09:08 -05:00
..
cxgb net: cxgb2: remove unnecessary pci_set_drvdata() 2013-10-18 00:03:30 -04:00
cxgb3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-11-04 13:48:30 -05:00
cxgb4 cxgb4: Account for stid entries properly in case of IPv6 2013-12-22 18:09:08 -05:00
cxgb4vf cxgb4vf: added much cleaner implementation of is_t4() 2013-12-03 16:55:40 -05:00
Kconfig cxgb3: Restore dependency on INET 2012-11-28 17:40:59 -05:00
Makefile