]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
net: hns3: Refine the MSIX allocation for PF
[mirror_ubuntu-bionic-kernel.git] / drivers / net / ethernet / hisilicon / hns3 / hns3pf / hclge_cmd.h
index 564d54b6e07d733b0eb618c54e2ef1f49cd6a1b6..821d4c2f84bd3e7415a3a83c9de566fcea9ac491 100644 (file)
@@ -359,6 +359,8 @@ struct hclge_pf_res_cmd {
        __le16 buf_size;
        __le16 msixcap_localid_ba_nic;
        __le16 msixcap_localid_ba_rocee;
+#define HCLGE_MSIX_OFT_ROCEE_S         0
+#define HCLGE_MSIX_OFT_ROCEE_M         GENMASK(15, 0)
 #define HCLGE_PF_VEC_NUM_S             0
 #define HCLGE_PF_VEC_NUM_M             GENMASK(7, 0)
        __le16 pf_intr_vector_number;