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

@@ -81,7 +81,7 @@ struct osi_vlan_filter {
/**
* Struct osi_l2_da_filter - L2 filter function depedent parameter
* @perfect_hash: perfect(0) or hash(1)
* @perfect_inverse_match: perfect(0) or hash(1)
* @perfect_inverse_match: perfect(0) or inverse(1)
*/
struct osi_l2_da_filter {
unsigned int perfect_hash;
@@ -781,7 +781,7 @@ int osi_config_l2_da_perfect_inverse_match(struct osi_core_priv_data *osi_core,
unsigned int perfect_inverse_match);
/**
* osi_update_vlan_id - invoke osi call to get VLAn ID
* osi_update_vlan_id - invoke osi call to update VLAN ID
*
* @osi_core: OSI private data structure.
* @vid: VLAN ID