• Jie Wang's avatar
    net: hns3: create new common cmd code for PF and VF modules · 43710bfe
    Jie Wang authored
    Currently PF and VF use two sets of command code for modules to interact
    with firmware. These codes values are same espect the macro names. It is
    redundent to keep two sets of command code for same functions between PF
    and VF.
    
    So this patch firstly creates a unified command code for PF and VF module.
    We keep the macro name same with the PF command code name to avoid too many
    meaningless modifications. Secondly the new common command codes are used
    to replace the old ones in VF and deletes the old ones.
    Signed-off-by: default avatarJie Wang <wangjie125@huawei.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    43710bfe
hclgevf_cmd.h 3.11 KB