bus/dpaa: fix Rx discard register mask
authorShreyansh Jain <shreyansh.jain@nxp.com>
Fri, 22 Feb 2019 10:09:44 +0000 (10:09 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 29 Mar 2019 13:33:21 +0000 (14:33 +0100)
commit6880caed6b33ef0a4e06ec4b3c41ab40a2b5c12a
tree1dfa66c13afe1abf0d3c5dbc396ff2218c927456
parent4764beda0daab873adec4fa0bbe65cc099689c2c
bus/dpaa: fix Rx discard register mask

Current value of 'fmbm_rfsdm' register (0x010CE3F0) doesn't include
the bit to drop colored (red) packets. New value (0x010EE3F0) fixes
this.
Check with 'fmbm_rffc' register of fm_port_bmi_regs.

Fixes: 6d6b4f49a155 ("bus/dpaa: add FMAN hardware operations")
Cc: stable@dpdk.org
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
drivers/bus/dpaa/base/fman/fman_hw.c