]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
be2net: enable RSS for ipv6 pkts
authorSathya Perla <sathya.perla@emulex.com>
Thu, 23 Feb 2012 18:50:16 +0000 (18:50 +0000)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Mon, 7 May 2012 21:44:22 +0000 (14:44 -0700)
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_cmds.c

index c5a8886e6930d6f587d0cf32cdf197dbce706848..d023cd3bd47c81f431bfab4a71b315f99a9473b3 100644 (file)
@@ -1699,7 +1699,8 @@ int be_cmd_rss_config(struct be_adapter *adapter, u8 *rsstable, u16 table_size)
                OPCODE_ETH_RSS_CONFIG, sizeof(*req), wrb, NULL);
 
        req->if_id = cpu_to_le32(adapter->if_handle);
-       req->enable_rss = cpu_to_le16(RSS_ENABLE_TCP_IPV4 | RSS_ENABLE_IPV4);
+       req->enable_rss = cpu_to_le16(RSS_ENABLE_TCP_IPV4 | RSS_ENABLE_IPV4 |
+                                     RSS_ENABLE_TCP_IPV6 | RSS_ENABLE_IPV6);
        req->cpu_table_size_log2 = cpu_to_le16(fls(table_size) - 1);
        memcpy(req->cpu_table, rsstable, table_size);
        memcpy(req->hash, myhash, sizeof(myhash));