Lines Matching defs:qed_eth_dcbnl_ops

203 struct qed_eth_dcbnl_ops {  struct
205 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
206 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
207 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
208 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets);
209 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
210 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
211 int (*ieee_getapp)(struct qed_dev *cdev, struct dcb_app *app);
212 int (*ieee_setapp)(struct qed_dev *cdev, struct dcb_app *app);
215 u8 (*getstate)(struct qed_dev *cdev);
216 u8 (*setstate)(struct qed_dev *cdev, u8 state);
217 void (*getpgtccfgtx)(struct qed_dev *cdev, int prio, u8 *prio_type,
219 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
220 void (*getpgtccfgrx)(struct qed_dev *cdev, int prio, u8 *prio_type,
222 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
223 void (*getpfccfg)(struct qed_dev *cdev, int prio, u8 *setting);
224 void (*setpfccfg)(struct qed_dev *cdev, int prio, u8 setting);
225 u8 (*getcap)(struct qed_dev *cdev, int capid, u8 *cap);
226 int (*getnumtcs)(struct qed_dev *cdev, int tcid, u8 *num);
227 u8 (*getpfcstate)(struct qed_dev *cdev);
228 int (*getapp)(struct qed_dev *cdev, u8 idtype, u16 id);
229 u8 (*getfeatcfg)(struct qed_dev *cdev, int featid, u8 *flags);
232 u8 (*getdcbx)(struct qed_dev *cdev);
233 void (*setpgtccfgtx)(struct qed_dev *cdev, int prio,
235 void (*setpgtccfgrx)(struct qed_dev *cdev, int prio,
237 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
238 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
239 u8 (*setall)(struct qed_dev *cdev);
240 int (*setnumtcs)(struct qed_dev *cdev, int tcid, u8 num);
241 void (*setpfcstate)(struct qed_dev *cdev, u8 state);
242 int (*setapp)(struct qed_dev *cdev, u8 idtype, u16 idval, u8 up);
243 u8 (*setdcbx)(struct qed_dev *cdev, u8 state);
244 u8 (*setfeatcfg)(struct qed_dev *cdev, int featid, u8 flags);
247 int (*peer_getappinfo)(struct qed_dev *cdev,
250 int (*peer_getapptable)(struct qed_dev *cdev, struct dcb_app *table);
275 const struct qed_eth_dcbnl_ops *dcb; argument