]> git.karo-electronics.de Git - linux-beck.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)
commitaebf6244cd39ba01a6d748e8b29a4f6c7be52535
treefb5102d2a96de4f63cc838b6ad25531160c7ecaf
parent14f806a00a183c6a95d74eee29dabbe0c20ba1c4
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