Home
last modified time | relevance | path

Searched refs:mlx5_core_dev (Results 1 – 25 of 101) sorted by relevance

12345

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_core.h93 int mlx5_query_hca_caps(struct mlx5_core_dev *dev);
94 int mlx5_query_board_id(struct mlx5_core_dev *dev);
95 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, uint32_t *sw_owner_id);
96 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev);
97 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev);
98 void mlx5_core_event(struct mlx5_core_dev *dev, enum mlx5_dev_event event,
100 void mlx5_core_page_fault(struct mlx5_core_dev *dev,
102 void mlx5_port_module_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe);
103 void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force);
104 void mlx5_disable_device(struct mlx5_core_dev *dev);
[all …]
Dfs_cmd.h39 int (*create_flow_table)(struct mlx5_core_dev *dev,
46 int (*destroy_flow_table)(struct mlx5_core_dev *dev,
49 int (*modify_flow_table)(struct mlx5_core_dev *dev,
53 int (*create_flow_group)(struct mlx5_core_dev *dev,
58 int (*destroy_flow_group)(struct mlx5_core_dev *dev,
62 int (*create_fte)(struct mlx5_core_dev *dev,
67 int (*update_fte)(struct mlx5_core_dev *dev,
73 int (*delete_fte)(struct mlx5_core_dev *dev,
77 int (*update_root_ft)(struct mlx5_core_dev *dev,
83 int mlx5_cmd_fc_alloc(struct mlx5_core_dev *dev, u32 *id);
[all …]
Dfw.c40 static int mlx5_cmd_query_adapter(struct mlx5_core_dev *dev, u32 *out, in mlx5_cmd_query_adapter()
49 int mlx5_query_board_id(struct mlx5_core_dev *dev) in mlx5_query_board_id()
74 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id) in mlx5_core_query_vendor_id()
96 static int mlx5_get_pcam_reg(struct mlx5_core_dev *dev) in mlx5_get_pcam_reg()
103 static int mlx5_get_mcam_reg(struct mlx5_core_dev *dev) in mlx5_get_mcam_reg()
110 static int mlx5_get_qcam_reg(struct mlx5_core_dev *dev) in mlx5_get_qcam_reg()
117 int mlx5_query_hca_caps(struct mlx5_core_dev *dev) in mlx5_query_hca_caps()
208 int mlx5_cmd_init_hca(struct mlx5_core_dev *dev, uint32_t *sw_owner_id) in mlx5_cmd_init_hca()
225 int mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_teardown_hca()
234 int mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) in mlx5_cmd_force_teardown_hca()
[all …]
Ddev.c50 struct mlx5_core_dev *dev;
61 struct mlx5_core_dev *dev, in add_delayed_event()
83 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in delayed_event_release()
121 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_add_device()
176 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_remove_device()
204 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_attach_interface()
232 void mlx5_attach_device(struct mlx5_core_dev *dev) in mlx5_attach_device()
246 struct mlx5_core_dev *dev = container_of(priv, struct mlx5_core_dev, priv); in mlx5_detach_interface()
265 void mlx5_detach_device(struct mlx5_core_dev *dev) in mlx5_detach_device()
276 bool mlx5_device_registered(struct mlx5_core_dev *dev) in mlx5_device_registered()
[all …]
Dport.c39 int mlx5_core_access_reg(struct mlx5_core_dev *dev, void *data_in, in mlx5_core_access_reg()
77 int mlx5_query_pcam_reg(struct mlx5_core_dev *dev, u32 *pcam, u8 feature_group, in mlx5_query_pcam_reg()
89 int mlx5_query_mcam_reg(struct mlx5_core_dev *dev, u32 *mcam, u8 feature_group, in mlx5_query_mcam_reg()
101 int mlx5_query_qcam_reg(struct mlx5_core_dev *mdev, u32 *qcam, in mlx5_query_qcam_reg()
123 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps) in mlx5_set_port_caps()
137 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys, in mlx5_query_port_ptys()
149 int mlx5_set_port_beacon(struct mlx5_core_dev *dev, u16 beacon_duration) in mlx5_set_port_beacon()
160 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev, in mlx5_query_port_proto_cap()
179 int mlx5_query_port_proto_admin(struct mlx5_core_dev *dev, in mlx5_query_port_proto_admin()
198 int mlx5_query_port_link_width_oper(struct mlx5_core_dev *dev, in mlx5_query_port_link_width_oper()
[all …]
Dtransobj.c37 int mlx5_core_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn) in mlx5_core_alloc_transport_domain()
55 void mlx5_core_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn) in mlx5_core_dealloc_transport_domain()
67 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) in mlx5_core_create_rq()
81 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen) in mlx5_core_modify_rq()
93 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn) in mlx5_core_destroy_rq()
104 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out) in mlx5_core_query_rq()
116 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) in mlx5_core_create_sq()
129 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen) in mlx5_core_modify_sq()
139 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn) in mlx5_core_destroy_sq()
149 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out) in mlx5_core_query_sq()
[all …]
Dhealth.c73 static u8 get_nic_state(struct mlx5_core_dev *dev) in get_nic_state()
78 static void trigger_cmd_completions(struct mlx5_core_dev *dev) in trigger_cmd_completions()
101 static int in_fatal(struct mlx5_core_dev *dev) in in_fatal()
115 void mlx5_enter_error_state(struct mlx5_core_dev *dev, bool force) in mlx5_enter_error_state()
134 static void mlx5_handle_bad_state(struct mlx5_core_dev *dev) in mlx5_handle_bad_state()
162 struct mlx5_core_dev *dev; in health_recover()
169 dev = container_of(priv, struct mlx5_core_dev, priv); in health_recover()
187 struct mlx5_core_dev *dev; in health_care()
193 dev = container_of(priv, struct mlx5_core_dev, priv); in health_care()
236 static void print_health_info(struct mlx5_core_dev *dev) in print_health_info()
[all …]
Dlag.c43 struct mlx5_core_dev *dev;
77 static int mlx5_cmd_create_lag(struct mlx5_core_dev *dev, u8 remap_port1, in mlx5_cmd_create_lag()
92 static int mlx5_cmd_modify_lag(struct mlx5_core_dev *dev, u8 remap_port1, in mlx5_cmd_modify_lag()
108 static int mlx5_cmd_destroy_lag(struct mlx5_core_dev *dev) in mlx5_cmd_destroy_lag()
118 int mlx5_cmd_create_vport_lag(struct mlx5_core_dev *dev) in mlx5_cmd_create_vport_lag()
129 int mlx5_cmd_destroy_vport_lag(struct mlx5_core_dev *dev) in mlx5_cmd_destroy_vport_lag()
140 static int mlx5_cmd_query_cong_counter(struct mlx5_core_dev *dev, in mlx5_cmd_query_cong_counter()
151 static struct mlx5_lag *mlx5_lag_dev_get(struct mlx5_core_dev *dev) in mlx5_lag_dev_get()
192 struct mlx5_core_dev *dev0 = ldev->pf[0].dev; in mlx5_activate_lag()
209 struct mlx5_core_dev *dev0 = ldev->pf[0].dev; in mlx5_deactivate_lag()
[all …]
/Linux-v4.19/include/linux/mlx5/
Dport.h113 int mlx5_set_port_caps(struct mlx5_core_dev *dev, u8 port_num, u32 caps);
114 int mlx5_query_port_ptys(struct mlx5_core_dev *dev, u32 *ptys,
116 int mlx5_query_port_proto_cap(struct mlx5_core_dev *dev,
118 int mlx5_query_port_proto_admin(struct mlx5_core_dev *dev,
120 int mlx5_query_port_link_width_oper(struct mlx5_core_dev *dev,
122 int mlx5_query_port_ib_proto_oper(struct mlx5_core_dev *dev,
124 int mlx5_query_port_eth_proto_oper(struct mlx5_core_dev *dev,
126 int mlx5_set_port_ptys(struct mlx5_core_dev *dev, bool an_disable,
128 void mlx5_toggle_port_link(struct mlx5_core_dev *dev);
129 int mlx5_set_port_admin_status(struct mlx5_core_dev *dev,
[all …]
Dvport.h45 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport);
46 int mlx5_modify_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod,
48 int mlx5_query_nic_vport_mac_address(struct mlx5_core_dev *mdev,
50 int mlx5_query_nic_vport_min_inline(struct mlx5_core_dev *mdev,
52 void mlx5_query_min_inline(struct mlx5_core_dev *mdev, u8 *min_inline);
53 int mlx5_modify_nic_vport_min_inline(struct mlx5_core_dev *mdev,
55 int mlx5_modify_nic_vport_mac_address(struct mlx5_core_dev *dev,
57 int mlx5_query_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 *mtu);
58 int mlx5_modify_nic_vport_mtu(struct mlx5_core_dev *mdev, u16 mtu);
59 int mlx5_query_nic_vport_system_image_guid(struct mlx5_core_dev *mdev,
[all …]
Dtransobj.h38 int mlx5_core_alloc_transport_domain(struct mlx5_core_dev *dev, u32 *tdn);
39 void mlx5_core_dealloc_transport_domain(struct mlx5_core_dev *dev, u32 tdn);
40 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen,
42 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *in, int inlen);
43 void mlx5_core_destroy_rq(struct mlx5_core_dev *dev, u32 rqn);
44 int mlx5_core_query_rq(struct mlx5_core_dev *dev, u32 rqn, u32 *out);
45 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen,
47 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *in, int inlen);
48 void mlx5_core_destroy_sq(struct mlx5_core_dev *dev, u32 sqn);
49 int mlx5_core_query_sq(struct mlx5_core_dev *dev, u32 sqn, u32 *out);
[all …]
Ddriver.h203 struct mlx5_core_dev *dev;
395 struct mlx5_core_dev *dev;
509 struct mlx5_core_dev *mdev;
710 void (*pfault)(struct mlx5_core_dev *dev,
814 struct mlx5_core_dev *mdev;
823 struct mlx5_core_dev { struct
846 void (*event) (struct mlx5_core_dev *dev, argument
965 static inline struct mlx5_core_dev *pci2mlx5_core_dev(struct pci_dev *pdev) in pci2mlx5_core_dev()
972 static inline u16 fw_rev_maj(struct mlx5_core_dev *dev) in fw_rev_maj()
977 static inline u16 fw_rev_min(struct mlx5_core_dev *dev) in fw_rev_min()
[all …]
Dqp.h547 static inline struct mlx5_core_qp *__mlx5_qp_lookup(struct mlx5_core_dev *dev, u32 qpn) in __mlx5_qp_lookup()
552 static inline struct mlx5_core_mkey *__mlx5_mr_lookup(struct mlx5_core_dev *dev, u32 key) in __mlx5_mr_lookup()
557 int mlx5_core_create_dct(struct mlx5_core_dev *dev,
560 int mlx5_core_create_qp(struct mlx5_core_dev *dev,
564 int mlx5_core_qp_modify(struct mlx5_core_dev *dev, u16 opcode,
567 int mlx5_core_destroy_qp(struct mlx5_core_dev *dev,
569 int mlx5_core_destroy_dct(struct mlx5_core_dev *dev,
571 int mlx5_core_qp_query(struct mlx5_core_dev *dev, struct mlx5_core_qp *qp,
573 int mlx5_core_dct_query(struct mlx5_core_dev *dev, struct mlx5_core_dct *dct,
576 int mlx5_core_set_delay_drop(struct mlx5_core_dev *dev,
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dtls.h63 int mlx5_accel_tls_add_flow(struct mlx5_core_dev *mdev, void *flow,
67 void mlx5_accel_tls_del_flow(struct mlx5_core_dev *mdev, u32 swid,
69 int mlx5_accel_tls_resync_rx(struct mlx5_core_dev *mdev, u32 handle, u32 seq,
71 bool mlx5_accel_is_tls_device(struct mlx5_core_dev *mdev);
72 u32 mlx5_accel_tls_device_caps(struct mlx5_core_dev *mdev);
73 int mlx5_accel_tls_init(struct mlx5_core_dev *mdev);
74 void mlx5_accel_tls_cleanup(struct mlx5_core_dev *mdev);
79 mlx5_accel_tls_add_flow(struct mlx5_core_dev *mdev, void *flow, in mlx5_accel_tls_add_flow()
83 static inline void mlx5_accel_tls_del_flow(struct mlx5_core_dev *mdev, u32 swid, in mlx5_accel_tls_del_flow()
85 static inline int mlx5_accel_tls_resync_rx(struct mlx5_core_dev *mdev, u32 handle, in mlx5_accel_tls_resync_rx()
[all …]
Dipsec.h45 unsigned int mlx5_accel_ipsec_counters_count(struct mlx5_core_dev *mdev);
46 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters,
49 void *mlx5_accel_esp_create_hw_context(struct mlx5_core_dev *mdev,
56 int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev);
57 void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev);
64 mlx5_accel_esp_create_hw_context(struct mlx5_core_dev *mdev, in mlx5_accel_esp_create_hw_context()
77 static inline int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_init()
82 static inline void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_cleanup()
Dtls.c40 int mlx5_accel_tls_add_flow(struct mlx5_core_dev *mdev, void *flow, in mlx5_accel_tls_add_flow()
50 void mlx5_accel_tls_del_flow(struct mlx5_core_dev *mdev, u32 swid, in mlx5_accel_tls_del_flow()
56 int mlx5_accel_tls_resync_rx(struct mlx5_core_dev *mdev, u32 handle, u32 seq, in mlx5_accel_tls_resync_rx()
62 bool mlx5_accel_is_tls_device(struct mlx5_core_dev *mdev) in mlx5_accel_is_tls_device()
67 u32 mlx5_accel_tls_device_caps(struct mlx5_core_dev *mdev) in mlx5_accel_tls_device_caps()
72 int mlx5_accel_tls_init(struct mlx5_core_dev *mdev) in mlx5_accel_tls_init()
77 void mlx5_accel_tls_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_tls_cleanup()
Dipsec.c40 u32 mlx5_accel_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_device_caps()
46 unsigned int mlx5_accel_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_counters_count()
51 int mlx5_accel_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters, in mlx5_accel_ipsec_counters_read()
57 void *mlx5_accel_esp_create_hw_context(struct mlx5_core_dev *mdev, in mlx5_accel_esp_create_hw_context()
72 int mlx5_accel_ipsec_init(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_init()
77 void mlx5_accel_ipsec_cleanup(struct mlx5_core_dev *mdev) in mlx5_accel_ipsec_cleanup()
83 mlx5_accel_esp_create_xfrm(struct mlx5_core_dev *mdev, in mlx5_accel_esp_create_xfrm()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.h42 u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev);
43 unsigned int mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev);
44 int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, u64 *counters,
47 void *mlx5_fpga_ipsec_create_sa_ctx(struct mlx5_core_dev *mdev,
54 int mlx5_fpga_ipsec_init(struct mlx5_core_dev *mdev);
55 void mlx5_fpga_ipsec_cleanup(struct mlx5_core_dev *mdev);
59 mlx5_fpga_esp_create_xfrm(struct mlx5_core_dev *mdev,
71 static inline u32 mlx5_fpga_ipsec_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_device_caps()
77 mlx5_fpga_ipsec_counters_count(struct mlx5_core_dev *mdev) in mlx5_fpga_ipsec_counters_count()
82 static inline int mlx5_fpga_ipsec_counters_read(struct mlx5_core_dev *mdev, in mlx5_fpga_ipsec_counters_read()
[all …]
Dcmd.h75 int mlx5_fpga_caps(struct mlx5_core_dev *dev);
76 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query);
77 int mlx5_fpga_ctrl_op(struct mlx5_core_dev *dev, u8 op);
78 int mlx5_fpga_access_reg(struct mlx5_core_dev *dev, u8 size, u64 addr,
80 int mlx5_fpga_sbu_caps(struct mlx5_core_dev *dev, void *caps, int size);
82 int mlx5_fpga_create_qp(struct mlx5_core_dev *dev, void *fpga_qpc,
84 int mlx5_fpga_modify_qp(struct mlx5_core_dev *dev, u32 fpga_qpn,
86 int mlx5_fpga_query_qp(struct mlx5_core_dev *dev, u32 fpga_qpn, void *fpga_qpc);
87 int mlx5_fpga_query_qp_counters(struct mlx5_core_dev *dev, u32 fpga_qpn,
89 int mlx5_fpga_destroy_qp(struct mlx5_core_dev *dev, u32 fpga_qpn);
Dcore.h42 struct mlx5_core_dev *mdev;
81 int mlx5_fpga_init(struct mlx5_core_dev *mdev);
82 void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev);
83 int mlx5_fpga_device_start(struct mlx5_core_dev *mdev);
84 void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev);
85 void mlx5_fpga_event(struct mlx5_core_dev *mdev, u8 event, void *data);
89 static inline int mlx5_fpga_init(struct mlx5_core_dev *mdev) in mlx5_fpga_init()
94 static inline void mlx5_fpga_cleanup(struct mlx5_core_dev *mdev) in mlx5_fpga_cleanup()
98 static inline int mlx5_fpga_device_start(struct mlx5_core_dev *mdev) in mlx5_fpga_device_start()
103 static inline void mlx5_fpga_device_stop(struct mlx5_core_dev *mdev) in mlx5_fpga_device_stop()
[all …]
Dtls.h54 int mlx5_fpga_tls_add_flow(struct mlx5_core_dev *mdev, void *flow,
59 void mlx5_fpga_tls_del_flow(struct mlx5_core_dev *mdev, u32 swid,
62 bool mlx5_fpga_is_tls_device(struct mlx5_core_dev *mdev);
63 int mlx5_fpga_tls_init(struct mlx5_core_dev *mdev);
64 void mlx5_fpga_tls_cleanup(struct mlx5_core_dev *mdev);
66 static inline u32 mlx5_fpga_tls_device_caps(struct mlx5_core_dev *mdev) in mlx5_fpga_tls_device_caps()
71 int mlx5_fpga_tls_resync_rx(struct mlx5_core_dev *mdev, u32 handle, u32 seq,
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.h37 void mlx5_init_clock(struct mlx5_core_dev *mdev);
38 void mlx5_cleanup_clock(struct mlx5_core_dev *mdev);
39 void mlx5_pps_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe);
41 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
59 static inline void mlx5_init_clock(struct mlx5_core_dev *mdev) {} in mlx5_init_clock()
60 static inline void mlx5_cleanup_clock(struct mlx5_core_dev *mdev) {} in mlx5_cleanup_clock()
61 static inline void mlx5_pps_event(struct mlx5_core_dev *dev, struct mlx5_eqe *eqe) {} in mlx5_pps_event()
63 static inline int mlx5_clock_get_ptp_index(struct mlx5_core_dev *mdev) in mlx5_clock_get_ptp_index()
Dmlx5.h36 void mlx5_init_reserved_gids(struct mlx5_core_dev *dev);
37 void mlx5_cleanup_reserved_gids(struct mlx5_core_dev *dev);
38 int mlx5_core_reserve_gids(struct mlx5_core_dev *dev, unsigned int count);
39 void mlx5_core_unreserve_gids(struct mlx5_core_dev *dev, unsigned int count);
40 int mlx5_core_reserved_gid_alloc(struct mlx5_core_dev *dev, int *gid_index);
41 void mlx5_core_reserved_gid_free(struct mlx5_core_dev *dev, int gid_index);
Dmpfs.h85 int mlx5_mpfs_init(struct mlx5_core_dev *dev);
86 void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev);
87 int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac);
88 int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac);
90 static inline int mlx5_mpfs_init(struct mlx5_core_dev *dev) { return 0; } in mlx5_mpfs_init()
91 static inline void mlx5_mpfs_cleanup(struct mlx5_core_dev *dev) {} in mlx5_mpfs_cleanup()
92 static inline int mlx5_mpfs_add_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_add_mac()
93 static inline int mlx5_mpfs_del_mac(struct mlx5_core_dev *dev, u8 *mac) { return 0; } in mlx5_mpfs_del_mac()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport.h40 int mlx5e_port_linkspeed(struct mlx5_core_dev *mdev, u32 *speed);
41 int mlx5e_port_max_linkspeed(struct mlx5_core_dev *mdev, u32 *speed);
44 int mlx5e_port_query_pbmc(struct mlx5_core_dev *mdev, void *out);
45 int mlx5e_port_set_pbmc(struct mlx5_core_dev *mdev, void *in);
46 int mlx5e_port_query_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer);
47 int mlx5e_port_set_priority2buffer(struct mlx5_core_dev *mdev, u8 *buffer);

12345