enic: enable rq before updating rq descriptors
authorGovindarajulu Varadarajan <gvaradar@cisco.com>
Thu, 1 Mar 2018 19:07:23 +0000 (11:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 4 Mar 2018 23:19:26 +0000 (18:19 -0500)
commite8588e268509292550634d9a35f2723a207683b2
treeb7c06e5b570c7ecf5b530f7805e9d1aff2b76f03
parent48398b6e7065691011b09f34d6c31d74013090b6
enic: enable rq before updating rq descriptors

rq should be enabled before posting the buffers to rq desc. If not hw sees
stale value and casuses DMAR errors.

Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c