Lines Matching full:netdev

30  * @dev: the corresponding netdev
68 * @dev: the corresponding netdev
101 * @netdev: the corresponding netdev
106 static int i40e_dcbnl_ieee_setets(struct net_device *netdev, in i40e_dcbnl_ieee_setets() argument
109 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setets()
149 * @netdev: the corresponding netdev
154 static int i40e_dcbnl_ieee_setpfc(struct net_device *netdev, in i40e_dcbnl_ieee_setpfc() argument
157 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setpfc()
188 * @netdev: the corresponding netdev
193 static int i40e_dcbnl_ieee_setapp(struct net_device *netdev, in i40e_dcbnl_ieee_setapp() argument
196 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_setapp()
209 ret = dcb_ieee_setapp(netdev, app); in i40e_dcbnl_ieee_setapp()
239 * @netdev: the corresponding netdev
245 static int i40e_dcbnl_ieee_delapp(struct net_device *netdev, in i40e_dcbnl_ieee_delapp() argument
248 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_ieee_delapp()
256 ret = dcb_ieee_delapp(netdev, app); in i40e_dcbnl_ieee_delapp()
304 * @netdev: the corresponding netdev
308 static u8 i40e_dcbnl_getstate(struct net_device *netdev) in i40e_dcbnl_getstate() argument
310 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getstate()
319 * @netdev: the corresponding netdev
324 static u8 i40e_dcbnl_setstate(struct net_device *netdev, u8 state) in i40e_dcbnl_setstate() argument
326 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setstate()
357 * @netdev: the corresponding netdev
366 static void i40e_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, in i40e_dcbnl_set_pg_tc_cfg_tx() argument
370 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_tx()
396 * @netdev: the corresponding netdev
402 static void i40e_dcbnl_set_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_tx() argument
405 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_tx()
422 * @netdev: the corresponding netdev
432 static void i40e_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, in i40e_dcbnl_set_pg_tc_cfg_rx() argument
439 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_tc_cfg_rx()
446 * @netdev: the corresponding netdev
453 static void i40e_dcbnl_set_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, in i40e_dcbnl_set_pg_bwg_cfg_rx() argument
456 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pg_bwg_cfg_rx()
463 * @netdev: the corresponding netdev
472 static void i40e_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int prio, in i40e_dcbnl_get_pg_tc_cfg_tx() argument
478 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_tc_cfg_tx()
494 * @netdev: the corresponding netdev
500 static void i40e_dcbnl_get_pg_bwg_cfg_tx(struct net_device *netdev, int pgid, in i40e_dcbnl_get_pg_bwg_cfg_tx() argument
503 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_bwg_cfg_tx()
519 * @netdev: the corresponding netdev
530 static void i40e_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, in i40e_dcbnl_get_pg_tc_cfg_rx() argument
534 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_tc_cfg_rx()
548 * @netdev: the corresponding netdev
556 static void i40e_dcbnl_get_pg_bwg_cfg_rx(struct net_device *netdev, int pgid, in i40e_dcbnl_get_pg_bwg_cfg_rx() argument
559 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pg_bwg_cfg_rx()
569 * @netdev: the corresponding netdev
575 static void i40e_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, in i40e_dcbnl_set_pfc_cfg() argument
578 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_set_pfc_cfg()
599 * @netdev: the corresponding netdev
605 static void i40e_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, in i40e_dcbnl_get_pfc_cfg() argument
608 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_pfc_cfg()
625 * @netdev: the corresponding netdev
629 static u8 i40e_dcbnl_cee_set_all(struct net_device *netdev) in i40e_dcbnl_cee_set_all() argument
631 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_cee_set_all()
646 * @netdev: the corresponding netdev
652 static u8 i40e_dcbnl_get_cap(struct net_device *netdev, int capid, u8 *cap) in i40e_dcbnl_get_cap() argument
654 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_get_cap()
686 * @netdev: the corresponding netdev
692 static int i40e_dcbnl_getnumtcs(struct net_device *netdev, int tcid, u8 *num) in i40e_dcbnl_getnumtcs() argument
694 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getnumtcs()
705 * @netdev: the corresponding netdev
711 static int i40e_dcbnl_setnumtcs(struct net_device *netdev, int tcid, u8 num) in i40e_dcbnl_setnumtcs() argument
718 * @netdev: the corresponding netdev
722 static u8 i40e_dcbnl_getpfcstate(struct net_device *netdev) in i40e_dcbnl_getpfcstate() argument
724 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getpfcstate()
735 * @netdev: the corresponding netdev
741 static void i40e_dcbnl_setpfcstate(struct net_device *netdev, u8 state) in i40e_dcbnl_setpfcstate() argument
743 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setpfcstate()
750 * @netdev: the corresponding netdev
756 static int i40e_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in i40e_dcbnl_getapp() argument
758 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_getapp()
768 return dcb_getapp(netdev, &app); in i40e_dcbnl_getapp()
773 * @netdev: the corresponding netdev
778 static u8 i40e_dcbnl_setdcbx(struct net_device *netdev, u8 mode) in i40e_dcbnl_setdcbx() argument
780 struct i40e_pf *pf = i40e_netdev_to_pf(netdev); in i40e_dcbnl_setdcbx()
808 * @dev: the corresponding netdev
821 * @dev: the corresponding netdev
881 struct net_device *dev = vsi->netdev; in i40e_dcbnl_set_all()
932 struct net_device *dev = vsi->netdev; in i40e_dcbnl_vsi_del_app()
957 if (pf->vsi[v] && pf->vsi[v]->netdev) { in i40e_dcbnl_del_app()
1024 struct net_device *dev = vsi->netdev; in i40e_dcbnl_setup()