get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/54284/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 54284,
    "url": "http://patches.dpdk.org/api/patches/54284/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190604054248.68510-9-leyi.rong@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20190604054248.68510-9-leyi.rong@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190604054248.68510-9-leyi.rong@intel.com",
    "date": "2019-06-04T05:42:07",
    "name": "[08/49] net/ice/base: code for removing advanced rule",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "476eddd87fc2f3ee59a1820ba95f664fe557ddad",
    "submitter": {
        "id": 1204,
        "url": "http://patches.dpdk.org/api/people/1204/?format=api",
        "name": "Leyi Rong",
        "email": "leyi.rong@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190604054248.68510-9-leyi.rong@intel.com/mbox/",
    "series": [
        {
            "id": 4879,
            "url": "http://patches.dpdk.org/api/series/4879/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4879",
            "date": "2019-06-04T05:41:59",
            "name": "shared code update",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4879/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/54284/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/54284/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C981F1B9F5;\n\tTue,  4 Jun 2019 07:44:10 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id A9EAE1B9CC\n\tfor <dev@dpdk.org>; Tue,  4 Jun 2019 07:44:02 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Jun 2019 22:44:01 -0700",
            "from lrong-srv-03.sh.intel.com ([10.67.119.177])\n\tby fmsmga008.fm.intel.com with ESMTP; 03 Jun 2019 22:44:00 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Leyi Rong <leyi.rong@intel.com>",
        "To": "qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, Leyi Rong <leyi.rong@intel.com>,\n\tShivanshu Shukla <shivanshu.shukla@intel.com>,\n\tPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>",
        "Date": "Tue,  4 Jun 2019 13:42:07 +0800",
        "Message-Id": "<20190604054248.68510-9-leyi.rong@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190604054248.68510-1-leyi.rong@intel.com>",
        "References": "<20190604054248.68510-1-leyi.rong@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 08/49] net/ice/base: code for removing advanced\n\trule",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch also contains ice_remove_adv_rule function to remove existing\nadvanced rules. it also handles the case when we have multiple VSI using\nthe same rule using the following helper functions:\n\nice_adv_rem_update_vsi_list - function to remove VS from VSI list for\nadvanced rules.\n\nSigned-off-by: Shivanshu Shukla <shivanshu.shukla@intel.com>\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Leyi Rong <leyi.rong@intel.com>\n---\n drivers/net/ice/base/ice_switch.c | 309 +++++++++++++++++++++++++++++-\n drivers/net/ice/base/ice_switch.h |   9 +\n 2 files changed, 310 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex ca0497ca7..3719ac4bb 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -2217,17 +2217,38 @@ ice_find_vsi_list_entry(struct ice_hw *hw, u8 recp_id, u16 vsi_handle,\n {\n \tstruct ice_vsi_list_map_info *map_info = NULL;\n \tstruct ice_switch_info *sw = hw->switch_info;\n-\tstruct ice_fltr_mgmt_list_entry *list_itr;\n \tstruct LIST_HEAD_TYPE *list_head;\n \n \tlist_head = &sw->recp_list[recp_id].filt_rules;\n-\tLIST_FOR_EACH_ENTRY(list_itr, list_head, ice_fltr_mgmt_list_entry,\n-\t\t\t    list_entry) {\n-\t\tif (list_itr->vsi_count == 1 && list_itr->vsi_list_info) {\n-\t\t\tmap_info = list_itr->vsi_list_info;\n-\t\t\tif (ice_is_bit_set(map_info->vsi_map, vsi_handle)) {\n-\t\t\t\t*vsi_list_id = map_info->vsi_list_id;\n-\t\t\t\treturn map_info;\n+\tif (sw->recp_list[recp_id].adv_rule) {\n+\t\tstruct ice_adv_fltr_mgmt_list_entry *list_itr;\n+\n+\t\tLIST_FOR_EACH_ENTRY(list_itr, list_head,\n+\t\t\t\t    ice_adv_fltr_mgmt_list_entry,\n+\t\t\t\t    list_entry) {\n+\t\t\tif (list_itr->vsi_list_info) {\n+\t\t\t\tmap_info = list_itr->vsi_list_info;\n+\t\t\t\tif (ice_is_bit_set(map_info->vsi_map,\n+\t\t\t\t\t\t   vsi_handle)) {\n+\t\t\t\t\t*vsi_list_id = map_info->vsi_list_id;\n+\t\t\t\t\treturn map_info;\n+\t\t\t\t}\n+\t\t\t}\n+\t\t}\n+\t} else {\n+\t\tstruct ice_fltr_mgmt_list_entry *list_itr;\n+\n+\t\tLIST_FOR_EACH_ENTRY(list_itr, list_head,\n+\t\t\t\t    ice_fltr_mgmt_list_entry,\n+\t\t\t\t    list_entry) {\n+\t\t\tif (list_itr->vsi_count == 1 &&\n+\t\t\t    list_itr->vsi_list_info) {\n+\t\t\t\tmap_info = list_itr->vsi_list_info;\n+\t\t\t\tif (ice_is_bit_set(map_info->vsi_map,\n+\t\t\t\t\t\t   vsi_handle)) {\n+\t\t\t\t\t*vsi_list_id = map_info->vsi_list_id;\n+\t\t\t\t\treturn map_info;\n+\t\t\t\t}\n \t\t\t}\n \t\t}\n \t}\n@@ -5562,6 +5583,278 @@ ice_add_adv_rule(struct ice_hw *hw, struct ice_adv_lkup_elem *lkups,\n \n \treturn status;\n }\n+\n+/**\n+ * ice_adv_rem_update_vsi_list\n+ * @hw: pointer to the hardware structure\n+ * @vsi_handle: VSI handle of the VSI to remove\n+ * @fm_list: filter management entry for which the VSI list management needs to\n+ *\t     be done\n+ */\n+static enum ice_status\n+ice_adv_rem_update_vsi_list(struct ice_hw *hw, u16 vsi_handle,\n+\t\t\t    struct ice_adv_fltr_mgmt_list_entry *fm_list)\n+{\n+\tstruct ice_vsi_list_map_info *vsi_list_info;\n+\tenum ice_sw_lkup_type lkup_type;\n+\tenum ice_status status;\n+\tu16 vsi_list_id;\n+\n+\tif (fm_list->rule_info.sw_act.fltr_act != ICE_FWD_TO_VSI_LIST ||\n+\t    fm_list->vsi_count == 0)\n+\t\treturn ICE_ERR_PARAM;\n+\n+\t/* A rule with the VSI being removed does not exist */\n+\tif (!ice_is_bit_set(fm_list->vsi_list_info->vsi_map, vsi_handle))\n+\t\treturn ICE_ERR_DOES_NOT_EXIST;\n+\n+\tlkup_type = ICE_SW_LKUP_LAST;\n+\tvsi_list_id = fm_list->rule_info.sw_act.fwd_id.vsi_list_id;\n+\tstatus = ice_update_vsi_list_rule(hw, &vsi_handle, 1, vsi_list_id, true,\n+\t\t\t\t\t  ice_aqc_opc_update_sw_rules,\n+\t\t\t\t\t  lkup_type);\n+\tif (status)\n+\t\treturn status;\n+\n+\tfm_list->vsi_count--;\n+\tice_clear_bit(vsi_handle, fm_list->vsi_list_info->vsi_map);\n+\tvsi_list_info = fm_list->vsi_list_info;\n+\tif (fm_list->vsi_count == 1) {\n+\t\tstruct ice_fltr_info tmp_fltr;\n+\t\tu16 rem_vsi_handle;\n+\n+\t\trem_vsi_handle = ice_find_first_bit(vsi_list_info->vsi_map,\n+\t\t\t\t\t\t    ICE_MAX_VSI);\n+\t\tif (!ice_is_vsi_valid(hw, rem_vsi_handle))\n+\t\t\treturn ICE_ERR_OUT_OF_RANGE;\n+\n+\t\t/* Make sure VSI list is empty before removing it below */\n+\t\tstatus = ice_update_vsi_list_rule(hw, &rem_vsi_handle, 1,\n+\t\t\t\t\t\t  vsi_list_id, true,\n+\t\t\t\t\t\t  ice_aqc_opc_update_sw_rules,\n+\t\t\t\t\t\t  lkup_type);\n+\t\tif (status)\n+\t\t\treturn status;\n+\t\ttmp_fltr.fltr_rule_id = fm_list->rule_info.fltr_rule_id;\n+\t\tfm_list->rule_info.sw_act.fltr_act = ICE_FWD_TO_VSI;\n+\t\ttmp_fltr.fltr_act = ICE_FWD_TO_VSI;\n+\t\ttmp_fltr.fwd_id.hw_vsi_id =\n+\t\t\tice_get_hw_vsi_num(hw, rem_vsi_handle);\n+\t\tfm_list->rule_info.sw_act.fwd_id.hw_vsi_id =\n+\t\t\tice_get_hw_vsi_num(hw, rem_vsi_handle);\n+\n+\t\t/* Update the previous switch rule of \"MAC forward to VSI\" to\n+\t\t * \"MAC fwd to VSI list\"\n+\t\t */\n+\t\tstatus = ice_update_pkt_fwd_rule(hw, &tmp_fltr);\n+\t\tif (status) {\n+\t\t\tice_debug(hw, ICE_DBG_SW,\n+\t\t\t\t  \"Failed to update pkt fwd rule to FWD_TO_VSI on HW VSI %d, error %d\\n\",\n+\t\t\t\t  tmp_fltr.fwd_id.hw_vsi_id, status);\n+\t\t\treturn status;\n+\t\t}\n+\t}\n+\n+\tif (fm_list->vsi_count == 1) {\n+\t\t/* Remove the VSI list since it is no longer used */\n+\t\tstatus = ice_remove_vsi_list_rule(hw, vsi_list_id, lkup_type);\n+\t\tif (status) {\n+\t\t\tice_debug(hw, ICE_DBG_SW,\n+\t\t\t\t  \"Failed to remove VSI list %d, error %d\\n\",\n+\t\t\t\t  vsi_list_id, status);\n+\t\t\treturn status;\n+\t\t}\n+\n+\t\tLIST_DEL(&vsi_list_info->list_entry);\n+\t\tice_free(hw, vsi_list_info);\n+\t\tfm_list->vsi_list_info = NULL;\n+\t}\n+\n+\treturn status;\n+}\n+\n+/**\n+ * ice_rem_adv_rule - removes existing advanced switch rule\n+ * @hw: pointer to the hardware structure\n+ * @lkups: information on the words that needs to be looked up. All words\n+ *         together makes one recipe\n+ * @lkups_cnt: num of entries in the lkups array\n+ * @rinfo: Its the pointer to the rule information for the rule\n+ *\n+ * This function can be used to remove 1 rule at a time. The lkups is\n+ * used to describe all the words that forms the \"lookup\" portion of the\n+ * rule. These words can span multiple protocols. Callers to this function\n+ * need to pass in a list of protocol headers with lookup information along\n+ * and mask that determines which words are valid from the given protocol\n+ * header. rinfo describes other information related to this rule such as\n+ * forwarding IDs, priority of this rule, etc.\n+ */\n+enum ice_status\n+ice_rem_adv_rule(struct ice_hw *hw, struct ice_adv_lkup_elem *lkups,\n+\t\t u16 lkups_cnt, struct ice_adv_rule_info *rinfo)\n+{\n+\tstruct ice_adv_fltr_mgmt_list_entry *list_elem;\n+\tstruct ice_prot_lkup_ext lkup_exts;\n+\tu16 rule_buf_sz, pkt_len, i, rid;\n+\tenum ice_status status = ICE_SUCCESS;\n+\tbool remove_rule = false;\n+\tstruct ice_lock *rule_lock; /* Lock to protect filter rule list */\n+\tconst u8 *pkt = NULL;\n+\tu16 vsi_handle;\n+\n+\tice_memset(&lkup_exts, 0, sizeof(lkup_exts), ICE_NONDMA_MEM);\n+\tfor (i = 0; i < lkups_cnt; i++) {\n+\t\tu16 count;\n+\n+\t\tif (lkups[i].type >= ICE_PROTOCOL_LAST)\n+\t\t\treturn ICE_ERR_CFG;\n+\n+\t\tcount = ice_fill_valid_words(&lkups[i], &lkup_exts);\n+\t\tif (!count)\n+\t\t\treturn ICE_ERR_CFG;\n+\t}\n+\trid = ice_find_recp(hw, &lkup_exts);\n+\t/* If did not find a recipe that match the existing criteria */\n+\tif (rid == ICE_MAX_NUM_RECIPES)\n+\t\treturn ICE_ERR_PARAM;\n+\n+\trule_lock = &hw->switch_info->recp_list[rid].filt_rule_lock;\n+\tlist_elem = ice_find_adv_rule_entry(hw, lkups, lkups_cnt, rid, rinfo);\n+\t/* the rule is already removed */\n+\tif (!list_elem)\n+\t\treturn ICE_SUCCESS;\n+\tice_acquire_lock(rule_lock);\n+\tif (list_elem->rule_info.sw_act.fltr_act != ICE_FWD_TO_VSI_LIST) {\n+\t\tremove_rule = true;\n+\t} else if (list_elem->vsi_count > 1) {\n+\t\tlist_elem->vsi_list_info->ref_cnt--;\n+\t\tremove_rule = false;\n+\t\tvsi_handle = rinfo->sw_act.vsi_handle;\n+\t\tstatus = ice_adv_rem_update_vsi_list(hw, vsi_handle, list_elem);\n+\t} else {\n+\t\tvsi_handle = rinfo->sw_act.vsi_handle;\n+\t\tstatus = ice_adv_rem_update_vsi_list(hw, vsi_handle, list_elem);\n+\t\tif (status) {\n+\t\t\tice_release_lock(rule_lock);\n+\t\t\treturn status;\n+\t\t}\n+\t\tif (list_elem->vsi_count == 0)\n+\t\t\tremove_rule = true;\n+\t}\n+\tice_release_lock(rule_lock);\n+\tif (remove_rule) {\n+\t\tstruct ice_aqc_sw_rules_elem *s_rule;\n+\n+\t\tice_find_dummy_packet(lkups, lkups_cnt, rinfo->tun_type, &pkt,\n+\t\t\t\t      &pkt_len);\n+\t\trule_buf_sz = ICE_SW_RULE_RX_TX_NO_HDR_SIZE + pkt_len;\n+\t\ts_rule =\n+\t\t\t(struct ice_aqc_sw_rules_elem *)ice_malloc(hw,\n+\t\t\t\t\t\t\t\t   rule_buf_sz);\n+\t\tif (!s_rule)\n+\t\t\treturn ICE_ERR_NO_MEMORY;\n+\t\ts_rule->pdata.lkup_tx_rx.act = 0;\n+\t\ts_rule->pdata.lkup_tx_rx.index =\n+\t\t\tCPU_TO_LE16(list_elem->rule_info.fltr_rule_id);\n+\t\ts_rule->pdata.lkup_tx_rx.hdr_len = 0;\n+\t\tstatus = ice_aq_sw_rules(hw, (struct ice_aqc_sw_rules *)s_rule,\n+\t\t\t\t\t rule_buf_sz, 1,\n+\t\t\t\t\t ice_aqc_opc_remove_sw_rules, NULL);\n+\t\tif (status == ICE_SUCCESS) {\n+\t\t\tice_acquire_lock(rule_lock);\n+\t\t\tLIST_DEL(&list_elem->list_entry);\n+\t\t\tice_free(hw, list_elem->lkups);\n+\t\t\tice_free(hw, list_elem);\n+\t\t\tice_release_lock(rule_lock);\n+\t\t}\n+\t\tice_free(hw, s_rule);\n+\t}\n+\treturn status;\n+}\n+\n+/**\n+ * ice_rem_adv_rule_by_id - removes existing advanced switch rule by ID\n+ * @hw: pointer to the hardware structure\n+ * @remove_entry: data struct which holds rule_id, VSI handle and recipe ID\n+ *\n+ * This function is used to remove 1 rule at a time. The removal is based on\n+ * the remove_entry parameter. This function will remove rule for a given\n+ * vsi_handle with a given rule_id which is passed as parameter in remove_entry\n+ */\n+enum ice_status\n+ice_rem_adv_rule_by_id(struct ice_hw *hw,\n+\t\t       struct ice_rule_query_data *remove_entry)\n+{\n+\tstruct ice_adv_fltr_mgmt_list_entry *list_itr;\n+\tstruct LIST_HEAD_TYPE *list_head;\n+\tstruct ice_adv_rule_info rinfo;\n+\tstruct ice_switch_info *sw;\n+\n+\tsw = hw->switch_info;\n+\tif (!sw->recp_list[remove_entry->rid].recp_created)\n+\t\treturn ICE_ERR_PARAM;\n+\tlist_head = &sw->recp_list[remove_entry->rid].filt_rules;\n+\tLIST_FOR_EACH_ENTRY(list_itr, list_head, ice_adv_fltr_mgmt_list_entry,\n+\t\t\t    list_entry) {\n+\t\tif (list_itr->rule_info.fltr_rule_id ==\n+\t\t    remove_entry->rule_id) {\n+\t\t\trinfo = list_itr->rule_info;\n+\t\t\trinfo.sw_act.vsi_handle = remove_entry->vsi_handle;\n+\t\t\treturn ice_rem_adv_rule(hw, list_itr->lkups,\n+\t\t\t\t\t\tlist_itr->lkups_cnt, &rinfo);\n+\t\t}\n+\t}\n+\treturn ICE_ERR_PARAM;\n+}\n+\n+/**\n+ * ice_rem_adv_for_vsi - removes existing advanced switch rules for a\n+ *                       given VSI handle\n+ * @hw: pointer to the hardware structure\n+ * @vsi_handle: VSI handle for which we are supposed to remove all the rules.\n+ *\n+ * This function is used to remove all the rules for a given VSI and as soon\n+ * as removing a rule fails, it will return immediately with the error code,\n+ * else it will return ICE_SUCCESS\n+ */\n+enum ice_status\n+ice_rem_adv_rule_for_vsi(struct ice_hw *hw, u16 vsi_handle)\n+{\n+\tstruct ice_adv_fltr_mgmt_list_entry *list_itr;\n+\tstruct ice_vsi_list_map_info *map_info;\n+\tstruct LIST_HEAD_TYPE *list_head;\n+\tstruct ice_adv_rule_info rinfo;\n+\tstruct ice_switch_info *sw;\n+\tenum ice_status status;\n+\tu16 vsi_list_id = 0;\n+\tu8 rid;\n+\n+\tsw = hw->switch_info;\n+\tfor (rid = 0; rid < ICE_MAX_NUM_RECIPES; rid++) {\n+\t\tif (!sw->recp_list[rid].recp_created)\n+\t\t\tcontinue;\n+\t\tif (!sw->recp_list[rid].adv_rule)\n+\t\t\tcontinue;\n+\t\tlist_head = &sw->recp_list[rid].filt_rules;\n+\t\tmap_info = NULL;\n+\t\tLIST_FOR_EACH_ENTRY(list_itr, list_head,\n+\t\t\t\t    ice_adv_fltr_mgmt_list_entry, list_entry) {\n+\t\t\tmap_info = ice_find_vsi_list_entry(hw, rid, vsi_handle,\n+\t\t\t\t\t\t\t   &vsi_list_id);\n+\t\t\tif (!map_info)\n+\t\t\t\tcontinue;\n+\t\t\trinfo = list_itr->rule_info;\n+\t\t\trinfo.sw_act.vsi_handle = vsi_handle;\n+\t\t\tstatus = ice_rem_adv_rule(hw, list_itr->lkups,\n+\t\t\t\t\t\t  list_itr->lkups_cnt, &rinfo);\n+\t\t\tif (status)\n+\t\t\t\treturn status;\n+\t\t\tmap_info = NULL;\n+\t\t}\n+\t}\n+\treturn ICE_SUCCESS;\n+}\n+\n /**\n  * ice_replay_fltr - Replay all the filters stored by a specific list head\n  * @hw: pointer to the hardware structure\ndiff --git a/drivers/net/ice/base/ice_switch.h b/drivers/net/ice/base/ice_switch.h\nindex 890df13dd..a6e17e861 100644\n--- a/drivers/net/ice/base/ice_switch.h\n+++ b/drivers/net/ice/base/ice_switch.h\n@@ -443,6 +443,15 @@ enum ice_status\n ice_add_adv_rule(struct ice_hw *hw, struct ice_adv_lkup_elem *lkups,\n \t\t u16 lkups_cnt, struct ice_adv_rule_info *rinfo,\n \t\t struct ice_rule_query_data *added_entry);\n+enum ice_status\n+ice_rem_adv_rule_for_vsi(struct ice_hw *hw, u16 vsi_handle);\n+enum ice_status\n+ice_rem_adv_rule_by_id(struct ice_hw *hw,\n+\t\t       struct ice_rule_query_data *remove_entry);\n+enum ice_status\n+ice_rem_adv_rule(struct ice_hw *hw, struct ice_adv_lkup_elem *lkups,\n+\t\t u16 lkups_cnt, struct ice_adv_rule_info *rinfo);\n+\n enum ice_status ice_replay_all_fltr(struct ice_hw *hw);\n \n enum ice_status ice_init_def_sw_recp(struct ice_hw *hw);\n",
    "prefixes": [
        "08/49"
    ]
}