]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Be more forgiving toward SW GRO
authorDmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Mon, 25 Aug 2014 14:48:32 +0000 (17:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Aug 2014 00:30:22 +0000 (17:30 -0700)
commit5d3c6e5ed076b3e983800c579f61e35078074d08
treefb5102d2a96de4f63cc838b6ad25531160c7ecaf
parent08f543db95468f361c4f75ddc53b19ba74b56add
bnx2x: Be more forgiving toward SW GRO

This introduces 2 new relaxations in the bnx2x driver regarding GRO:
  1. Don't prevent SW GRO if HW GRO is disabled.
  2. If all aggregations are disabled, when GRO configuration changes
     there's no need to perform an inner-reload [since it will have no
     actual effect].

Signed-off-by: Dmitry Kravkov <Dmitry.Kravkov@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: Ariel Elior <Ariel.Elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c