cxgb4: Initialize RSS mode for all Ports
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 6 May 2015 14:18:37 +0000 (19:48 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:33:10 +0000 (16:33 -0400)
commitc035e183ebfe6905dd0d31f7fe356cc3cfe00893
tree84f28e61d6b2b08b87044620472a3ec0172c994c
parentb2a6c326b252fe86482ae2f256409ba96bafc7b5
cxgb4: Initialize RSS mode for all Ports

Implements t4_init_rss_mode() to initialize the rss_mode for all the ports. If
Tunnel All Lookup isn't specified in the global RSS Configuration, then we need
to specify a default Ingress Queue for any ingress packets which aren't hashed.
We'll use our first ingress queue.

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