OSDN Git Service

bnx2x: fix L2-GRE TCP issues
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 4 Feb 2014 15:43:03 +0000 (17:43 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Feb 2014 04:34:06 +0000 (20:34 -0800)
commite8c37aff2a392c31fefa62ec045058a0877c45a1
treec8d9fc690fc4dc356c8492706e9043121208053e
parentfbd3a77d813f211060f86cc7a2f8416caf0e03b1
bnx2x: fix L2-GRE TCP issues

When configuring GRE tunnel using OVS, tcp stream is distributed over
all RSS queues which may cause TCP reordering. It happens since OVS
uses L2GRE protocol when kernel gre uses IPGRE.
Patch defaults gre tunnel to L2GRE which allows proper RSS for L2GRE
packets and (implicitly) disables RSS for IPGRE traffic.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h