]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit38abc96516d937df493799474c57b2f3e76b6580
tree84f28e61d6b2b08b87044620472a3ec0172c994c
parent2751bdf9b20b342b7ed41828d8128fef4806e7f9
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