ethdev: remove old flow director APIs
PATCH 1/1 ethdev: remove old flow director APIs
Old flow director APIs have been replaced by rte_eth_dev_filter_ctrl since release 2.0. And no drivers in current code support these APIs. All the removed APIs are list below:
- rte_eth_dev_fdir_add_perfect_filter;
- rte_eth_dev_fdir_add_signature_filter;
- rte_eth_dev_fdir_get_infos;
- rte_eth_dev_fdir_remove_perfect_filter;
- rte_eth_dev_fdir_remove_signature_filter;
- rte_eth_dev_fdir_set_masks;
- rte_eth_dev_fdir_update_perfect_filter;
- rte_eth_dev_fdir_update_signature_filter;
--- drivers/net/enic/enic_ethdev.c | 1 - lib/librte_ether/rte_ethdev.c | 228 ------------------------- lib/librte_ether/rte_ethdev.h | 380 ----------------------------------------- 3 files changed, 609 deletions(-)
drivers/net/enic/enic_ethdev.c +0 -1
@@ -576,7 +576,6 @@ static const struct eth_dev_ops enicpmd_eth_dev_ops = { .priority_flow_ctrl_set = NULL, .mac_addr_add = enicpmd_add_mac_addr, .mac_addr_remove = enicpmd_remove_mac_addr, - .fdir_set_masks = NULL, .filter_ctrl = enicpmd_dev_filter_ctrl, };
lib/librte_ether/rte_ethdev.c +0 -228
234 lines not on this page · raw message
lib/librte_ether/rte_ethdev.h +0 -380
404 lines not on this page · raw message
Signature · 1 line
2.4.0
Hi,
Quoted 19 lines
-----Original Message-----
From: Wu, Jingjing
Sent: Monday, September 21, 2015 3:34 PM
To: [email protected]
Cc: Wu, Jingjing; Zhang, Helin; Lu, Wenzhuo
Subject: [PATCH] ethdev: remove old flow director APIsOld flow director APIs have been replaced by
rte_eth_dev_filter_ctrlsince release 2.0. And no drivers in current code support these APIs. All the removed APIs are list below:
-rte_eth_dev_fdir_add_perfect_filter;
-rte_eth_dev_fdir_add_signature_filter;
-rte_eth_dev_fdir_get_infos;
-rte_eth_dev_fdir_remove_perfect_filter;
-rte_eth_dev_fdir_remove_signature_filter;
-rte_eth_dev_fdir_set_masks;
-rte_eth_dev_fdir_update_perfect_filter;
-rte_eth_dev_fdir_update_signature_filter;
Quoted 1 line
Signed-off-by Jingjing Wu <[email protected]>
2015-09-21 08:05, Lu, Wenzhuo:
Quoted 13 lines
From: Wu, Jingjing
Quoted 12 lines
Old flow director APIs have been replaced by
rte_eth_dev_filter_ctrlsince release 2.0. And no drivers in current code support these APIs. All the removed APIs are list below:
-rte_eth_dev_fdir_add_perfect_filter;
-rte_eth_dev_fdir_add_signature_filter;
-rte_eth_dev_fdir_get_infos;
-rte_eth_dev_fdir_remove_perfect_filter;
-rte_eth_dev_fdir_remove_signature_filter;
-rte_eth_dev_fdir_set_masks;
-rte_eth_dev_fdir_update_perfect_filter;
-rte_eth_dev_fdir_update_signature_filter;
Quoted 2 lines
Quoted 1 line
Signed-off-by Jingjing Wu <[email protected]>Acked-by Wenzhuo Lu <[email protected]>
The mlx4 driver does not build.
And you forgot to update the release notes (deprecation and API changes).
This time, I fixed and applied it.