sfc: Fix RX drop filters for EF10
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 16 Dec 2013 18:56:24 +0000 (18:56 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 16 Dec 2013 19:01:27 +0000 (19:01 +0000)
commita0bc3487e431eaea381c2c882a41274e9a02f028
treef33c304fe5b97e4eacd4e3774b8ca3f29a66968f
parent99691c4ac112666fe8aef30cffef1cc9f6f94f79
sfc: Fix RX drop filters for EF10

When we insert an filter, the firmware checks that the given RX queue
index is in range even if it will not be used.  In case we're
inserting a drop filter, pass the value 0.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ef10.c