]> 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)
commitf55280baf3a8cbb12ff63fe6b1f40a19090bc1a5
tree84f28e61d6b2b08b87044620472a3ec0172c994c
parent92feed4ab729887639d17138f904cfa3597a59e1
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