]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: receive pkts with L3, L4 errors on VFs
authorSomnath Kotur <somnath.kotur@avagotech.com>
Wed, 6 May 2015 09:30:34 +0000 (05:30 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:27:03 +0000 (16:27 -0400)
commitbd624ce71844de099f7bcca7fb5ea41f325d863c
treeb4f36b0643a8d417f9e73693dd163e2073547747
parentc3166d7e62c5705a193014da6eeb3c26baf19d13
be2net: receive pkts with L3, L4 errors on VFs

Currently pkts with L3 or L4 errors received on PFs are not dropped
by the adapter, but instead sent to the stack. This helps the network stack
to better reflect error statistics. This was not being done on BE3 VFs.
This patch fixes this for BE3 VFs.

Signed-off-by: Somnath Kotur <somnath.kotur@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c