Lines Matching defs:qed_eth_dcbnl_ops

192 struct qed_eth_dcbnl_ops {  struct
194 int (*ieee_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
195 int (*ieee_setpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
196 int (*ieee_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
197 int (*ieee_setets)(struct qed_dev *cdev, struct ieee_ets *ets);
198 int (*ieee_peer_getets)(struct qed_dev *cdev, struct ieee_ets *ets);
199 int (*ieee_peer_getpfc)(struct qed_dev *cdev, struct ieee_pfc *pfc);
200 int (*ieee_getapp)(struct qed_dev *cdev, struct dcb_app *app);
201 int (*ieee_setapp)(struct qed_dev *cdev, struct dcb_app *app);
204 u8 (*getstate)(struct qed_dev *cdev);
205 u8 (*setstate)(struct qed_dev *cdev, u8 state);
206 void (*getpgtccfgtx)(struct qed_dev *cdev, int prio, u8 *prio_type,
208 void (*getpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
209 void (*getpgtccfgrx)(struct qed_dev *cdev, int prio, u8 *prio_type,
211 void (*getpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 *bw_pct);
212 void (*getpfccfg)(struct qed_dev *cdev, int prio, u8 *setting);
213 void (*setpfccfg)(struct qed_dev *cdev, int prio, u8 setting);
214 u8 (*getcap)(struct qed_dev *cdev, int capid, u8 *cap);
215 int (*getnumtcs)(struct qed_dev *cdev, int tcid, u8 *num);
216 u8 (*getpfcstate)(struct qed_dev *cdev);
217 int (*getapp)(struct qed_dev *cdev, u8 idtype, u16 id);
218 u8 (*getfeatcfg)(struct qed_dev *cdev, int featid, u8 *flags);
221 u8 (*getdcbx)(struct qed_dev *cdev);
222 void (*setpgtccfgtx)(struct qed_dev *cdev, int prio,
224 void (*setpgtccfgrx)(struct qed_dev *cdev, int prio,
226 void (*setpgbwgcfgtx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
227 void (*setpgbwgcfgrx)(struct qed_dev *cdev, int pgid, u8 bw_pct);
228 u8 (*setall)(struct qed_dev *cdev);
229 int (*setnumtcs)(struct qed_dev *cdev, int tcid, u8 num);
230 void (*setpfcstate)(struct qed_dev *cdev, u8 state);
231 int (*setapp)(struct qed_dev *cdev, u8 idtype, u16 idval, u8 up);
232 u8 (*setdcbx)(struct qed_dev *cdev, u8 state);
233 u8 (*setfeatcfg)(struct qed_dev *cdev, int featid, u8 flags);
236 int (*peer_getappinfo)(struct qed_dev *cdev,
239 int (*peer_getapptable)(struct qed_dev *cdev, struct dcb_app *table);
264 const struct qed_eth_dcbnl_ops *dcb; argument