nvethernetrm: replace numeric values with Macros

As general practice we have replaced numeric value with Macro for
MAC Filter. This will help to make it readable and scalable.

Bug 200512993

Change-Id: I4bbc676eabc85be5f0b8285328a3a91e1a7c61ee
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2131537
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Rakesh Goyal
2019-06-06 12:47:24 +05:30
committed by Bhadram Varka
parent e63a13772e
commit d73ccb3299
3 changed files with 18 additions and 20 deletions

View File

@@ -64,6 +64,9 @@
#define OSI_HASH_FILTER_MODE 1U
#define OSI_PERFECT_FILTER_MODE 0U
#define OSI_IPV6_MATCH 1U
#define OSI_SOURCE_MATCH 0U
#define OSI_L4_FILTER_TCP 0U
#define OSI_L4_FILTER_UDP 1U