net/qede/base: check device personality for feature setting
authorRasesh Mody <rasesh.mody@cavium.com>
Sat, 7 Oct 2017 06:31:07 +0000 (23:31 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 12 Oct 2017 00:36:58 +0000 (01:36 +0100)
commit955770f25437a4ba6168ba6233253502659c66e9
tree3f1a19d6423d279e43e9273e431b9eefe44e587f
parentb9ebba32cc3e68f62ce13cee4a7ca364d9ac01b9
net/qede/base: check device personality for feature setting

- Add non-L2 personality macros and add a personality check before
  setting the HW features

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
drivers/net/qede/base/ecore.h
drivers/net/qede/base/ecore_dev.c