net/e1000: do not error out if Rx drop enable is set
authorLuca Boccassi <bluca@debian.org>
Fri, 27 Jul 2018 17:26:07 +0000 (18:26 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:56:02 +0000 (18:56 +0200)
commitd7812ffd83588c724d2f291f2030c9994f9d1113
tree7a7b1716ce0324e61d909b313389f96fe5e72db2
parent2ed2fe5f0a9c0891dd3e0d35309d179b5fb26b62
net/e1000: do not error out if Rx drop enable is set

rx_drop_en is an optimization that does nothing on single-queue
devices like e1000. Do not force applications that do not care to
select per-devices optimizations flags by returning an error, just
log it and carry on.

Fixes: 805803445a02 ("e1000: support EM devices (also known as e1000/e1000e)")
Cc: stable@dpdk.org
Signed-off-by: Luca Boccassi <bluca@debian.org>
Acked-by: Wei Zhao <wei.zhao1@intel.com>
drivers/net/e1000/em_rxtx.c