Added two specific execptions for ETH_SPEED_10G
and ETH_SPEED_25G to avoid there name change.

Signed-off-by: Aman Singh <aman.deep.si...@intel.com>
---
 devtools/cocci/namespace_ethdev.cocci | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devtools/cocci/namespace_ethdev.cocci 
b/devtools/cocci/namespace_ethdev.cocci
index d5de41e117..3afa1fb386 100644
--- a/devtools/cocci/namespace_ethdev.cocci
+++ b/devtools/cocci/namespace_ethdev.cocci
@@ -16,7 +16,8 @@ exception_matches = 
["ETH_VLAN_FILTER_CLASSIFY","ETH_VLAN_FILTER_ANY",
 "RTE_FDIR_NO","RTE_FDIR_REPORT","ETH_MAX_RX_CLIENTS_E1H",
 "ETH_MAX_AGGREGATION_QUEUES_E1","ETH_RSS_ENGINE_NUM","ETH_NUM_MAC_FILTERS",
 "ETH_MAX_NUM_RX_QUEUES_PER_VF_QUAD","ETH_RSS_IND_TABLE_ENTRIES_NUM",
-"ETH_RSS_KEY_SIZE_REGS","ETH_NUM_STATISTIC_COUNTERS","ETH_SPEED_"]
+"ETH_RSS_KEY_SIZE_REGS","ETH_NUM_STATISTIC_COUNTERS","ETH_SPEED_10G",
+"ETH_SPEED_25G"]
 
 if any(x in I for x in exception_matches):
         coccinelle .J= I;
-- 
2.25.1

Reply via email to