Lines Matching full:netdev
29 * @dev: the corresponding netdev
67 * @dev: the corresponding netdev
100 * @netdev: the corresponding netdev
105 static int i40e_dcbnl_ieee_setets(struct net_device *netdev, in i40e_dcbnl_ieee_setets() argument
108 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets()
148 * @netdev: the corresponding netdev
153 static int i40e_dcbnl_ieee_setpfc(struct net_device *netdev, in i40e_dcbnl_ieee_setpfc() argument
156 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc()
187 * @netdev: the corresponding netdev
192 static int i40e_dcbnl_ieee_setapp(struct net_device *netdev, in i40e_dcbnl_ieee_setapp() argument
195 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setapp()
208 ret = dcb_ieee_setapp(netdev, app); in i40e_dcbnl_ieee_setapp()
238 * @netdev: the corresponding netdev
244 static int i40e_dcbnl_ieee_delapp(struct net_device *netdev, in i40e_dcbnl_ieee_delapp() argument
247 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_delapp()
255 ret = dcb_ieee_delapp(netdev, app); in i40e_dcbnl_ieee_delapp()
303 * @netdev: the corresponding netdev
307 static u8 i40e_dcbnl_getstate(struct net_device *netdev) in i40e_dcbnl_getstate() argument
309 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getstate()
318 * @netdev: the corresponding netdev
323 static u8 i40e_dcbnl_setstate(struct net_device *netdev, u8 state) in i40e_dcbnl_setstate() argument
325 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setstate()
356 * @netdev: the corresponding netdev
365 static void i40e_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in i40e_dcbnl_set_pg_tc_cfg_tx() argument
369 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_tx()
395 * @netdev: the corresponding netdev
401 static void i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_tx() argument
404 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_tx()
421 * @netdev: the corresponding netdev
431 static void i40e_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, in i40e_dcbnl_set_pg_tc_cfg_rx() argument
438 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_rx()
445 * @netdev: the corresponding netdev
452 static void i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_rx() argument
455 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_rx()
462 * @netdev: the corresponding netdev
471 static void i40e_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, in i40e_dcbnl_get_pg_tc_cfg_tx() argument
477 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_tc_cfg_tx()
493 * @netdev: the corresponding netdev
499 static void i40e_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in i40e_dcbnl_get_pg_bwg_cfg_tx() argument
502 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_bwg_cfg_tx()
518 * @netdev: the corresponding netdev
529 static void i40e_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, in i40e_dcbnl_get_pg_tc_cfg_rx() argument
533 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_tc_cfg_rx()
547 * @netdev: the corresponding netdev
555 static void i40e_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, in i40e_dcbnl_get_pg_bwg_cfg_rx() argument
558 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_bwg_cfg_rx()
568 * @netdev: the corresponding netdev
574 static void i40e_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, in i40e_dcbnl_set_pfc_cfg() argument
577 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pfc_cfg()
598 * @netdev: the corresponding netdev
604 static void i40e_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, in i40e_dcbnl_get_pfc_cfg() argument
607 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pfc_cfg()
624 * @netdev: the corresponding netdev
628 static u8 i40e_dcbnl_cee_set_all(struct net_device *netdev) in i40e_dcbnl_cee_set_all() argument
630 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_cee_set_all()
645 * @netdev: the corresponding netdev
651 static u8 i40e_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap) in i40e_dcbnl_get_cap() argument
653 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_cap()
685 * @netdev: the corresponding netdev
691 static int i40e_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num) in i40e_dcbnl_getnumtcs() argument
693 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getnumtcs()
704 * @netdev: the corresponding netdev
710 static int i40e_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num) in i40e_dcbnl_setnumtcs() argument
717 * @netdev: the corresponding netdev
721 static u8 i40e_dcbnl_getpfcstate(struct net_device *netdev) in i40e_dcbnl_getpfcstate() argument
723 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getpfcstate()
734 * @netdev: the corresponding netdev
740 static void i40e_dcbnl_setpfcstate(struct net_device *netdev, u8 state) in i40e_dcbnl_setpfcstate() argument
742 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setpfcstate()
749 * @netdev: the corresponding netdev
755 static int i40e_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in i40e_dcbnl_getapp() argument
757 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getapp()
767 return dcb_getapp(netdev, &app); in i40e_dcbnl_getapp()
772 * @netdev: the corresponding netdev
777 static u8 i40e_dcbnl_setdcbx(struct net_device *netdev, u8 mode) in i40e_dcbnl_setdcbx() argument
779 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setdcbx()
807 * @dev: the corresponding netdev
820 * @dev: the corresponding netdev
877 struct net_device *dev = vsi->netdev; in i40e_dcbnl_set_all()
928 struct net_device *dev = vsi->netdev; in i40e_dcbnl_vsi_del_app()
954 if (vsi->netdev) { in i40e_dcbnl_del_app()
1020 struct net_device *dev = vsi->netdev; in i40e_dcbnl_setup()