net/enic: do not flush descriptor cache when opening vNIC
authorHyong Youb Kim <hyonkim@cisco.com>
Wed, 4 Apr 2018 23:54:50 +0000 (16:54 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Apr 2018 22:41:44 +0000 (00:41 +0200)
commitfe26a3bb33062799774b0de2f9e13147faf72405
treefec58c4a141220bc2ef5bf3dd339baf016574145
parent6c443d227329ac96c509b192cc9e046883096f74
net/enic: do not flush descriptor cache when opening vNIC

The firmware on new hardware models flushes the global descriptor
cache by default. Use CMD_OPENF_IG_DESCCACHE to avoid cache
flushing. This flag has no effect on older models.

Suggested-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/base/vnic_devcmd.h
drivers/net/enic/enic_main.c