ravb: Add ESF in RCR for enabling separation filter
authorMasaru Nagai <masaru.nagai.vx@renesas.com>
Tue, 31 May 2016 18:01:28 +0000 (03:01 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jun 2016 23:00:45 +0000 (16:00 -0700)
commit8d9c418b865cf4b45b9b1f63bdf7cce837773a6c
tree8bfbe9c807ff27369ce5d037e338523ffb78199a
parent6b15d6650c5301ce023d8df0cc3a60b1a76d377e
ravb: Add ESF in RCR for enabling separation filter

The H/W manual recommends B'10 or B'11 in a value of the separation
filtering select bits in the receive configuration register (RCR.ESF).
When B'10 is set, frames from non-matching streams are discarded.
When B'11 is set, frames from non-matching streams are processed in
reception queue 0 (best effort).
This patch sets B'11 in ESF.

[ykaneko0929@gmail.com: revised this commit message]
Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com>
Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Acked-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/renesas/ravb_main.c