qed.h (526d1d05e456c9cfc077694d18b5f521e2338f18) qed.h (456a584947d5b92d5e5a62cc68125ab5f150aa8c)
1/* QLogic qed NIC Driver
2 * Copyright (c) 2015-2017 QLogic Corporation
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 775 unchanged lines hidden (view full) ---

784int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);
785void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev,
786 struct qed_ptt *p_ptt,
787 u32 min_pf_rate);
788
789void qed_clean_wfq_db(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
790int qed_device_num_engines(struct qed_dev *cdev);
791int qed_device_get_port_id(struct qed_dev *cdev);
1/* QLogic qed NIC Driver
2 * Copyright (c) 2015-2017 QLogic Corporation
3 *
4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:

--- 775 unchanged lines hidden (view full) ---

784int qed_configure_vport_wfq(struct qed_dev *cdev, u16 vp_id, u32 rate);
785void qed_configure_vp_wfq_on_link_change(struct qed_dev *cdev,
786 struct qed_ptt *p_ptt,
787 u32 min_pf_rate);
788
789void qed_clean_wfq_db(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
790int qed_device_num_engines(struct qed_dev *cdev);
791int qed_device_get_port_id(struct qed_dev *cdev);
792void qed_set_fw_mac_addr(__le16 *fw_msb,
793 __le16 *fw_mid, __le16 *fw_lsb, u8 *mac);
792
793#define QED_LEADING_HWFN(dev) (&dev->hwfns[0])
794
795/* Flags for indication of required queues */
796#define PQ_FLAGS_RLS (BIT(0))
797#define PQ_FLAGS_MCOS (BIT(1))
798#define PQ_FLAGS_LB (BIT(2))
799#define PQ_FLAGS_OOO (BIT(3))

--- 41 unchanged lines hidden ---
794
795#define QED_LEADING_HWFN(dev) (&dev->hwfns[0])
796
797/* Flags for indication of required queues */
798#define PQ_FLAGS_RLS (BIT(0))
799#define PQ_FLAGS_MCOS (BIT(1))
800#define PQ_FLAGS_LB (BIT(2))
801#define PQ_FLAGS_OOO (BIT(3))

--- 41 unchanged lines hidden ---