Home
last modified time | relevance | path

Searched refs:idtype (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c106 static int qede_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in qede_dcbnl_getapp() argument
110 return edev->ops->dcb->getapp(edev->cdev, idtype, id); in qede_dcbnl_getapp()
175 static int qede_dcbnl_setapp(struct net_device *netdev, u8 idtype, u16 idval, in qede_dcbnl_setapp() argument
180 return edev->ops->dcb->setapp(edev->cdev, idtype, idval, up); in qede_dcbnl_setapp()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c106 static int qede_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in qede_dcbnl_getapp() argument
110 return edev->ops->dcb->getapp(edev->cdev, idtype, id); in qede_dcbnl_getapp()
175 static int qede_dcbnl_setapp(struct net_device *netdev, u8 idtype, u16 idval, in qede_dcbnl_setapp() argument
180 return edev->ops->dcb->setapp(edev->cdev, idtype, idval, up); in qede_dcbnl_setapp()
/kernel/linux/linux-5.10/net/dcb/
H A Ddcbnl.c437 u8 up, idtype; in dcbnl_getapp() local
455 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_getapp()
456 if ((idtype != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_getapp()
457 (idtype != DCB_APP_IDTYPE_PORTNUM)) in dcbnl_getapp()
463 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
470 .selector = idtype, in dcbnl_getapp()
480 ret = nla_put_u8(skb, DCB_APP_ATTR_IDTYPE, idtype); in dcbnl_getapp()
506 u8 up, idtype; in dcbnl_setapp() local
525 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_setapp()
526 if ((idtype ! in dcbnl_setapp()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Den_dcb_nl.c257 static int mlx4_en_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in mlx4_en_dcbnl_getapp() argument
261 .selector = idtype, in mlx4_en_dcbnl_getapp()
270 static int mlx4_en_dcbnl_setapp(struct net_device *netdev, u8 idtype, in mlx4_en_dcbnl_setapp() argument
280 app.selector = idtype; in mlx4_en_dcbnl_setapp()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Den_dcb_nl.c257 static int mlx4_en_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in mlx4_en_dcbnl_getapp() argument
261 .selector = idtype, in mlx4_en_dcbnl_getapp()
270 static int mlx4_en_dcbnl_setapp(struct net_device *netdev, u8 idtype, in mlx4_en_dcbnl_setapp() argument
280 app.selector = idtype; in mlx4_en_dcbnl_setapp()
/kernel/linux/linux-6.6/net/dcb/
H A Ddcbnl.c471 u8 up, idtype; in dcbnl_getapp() local
489 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_getapp()
490 if ((idtype != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_getapp()
491 (idtype != DCB_APP_IDTYPE_PORTNUM)) in dcbnl_getapp()
497 ret = netdev->dcbnl_ops->getapp(netdev, idtype, id); in dcbnl_getapp()
504 .selector = idtype, in dcbnl_getapp()
514 ret = nla_put_u8(skb, DCB_APP_ATTR_IDTYPE, idtype); in dcbnl_getapp()
540 u8 up, idtype; in dcbnl_setapp() local
559 idtype = nla_get_u8(app_tb[DCB_APP_ATTR_IDTYPE]); in dcbnl_setapp()
560 if ((idtype ! in dcbnl_setapp()
[all...]
/kernel/linux/linux-5.10/include/linux/qed/
H A Dqed_eth_if.h228 int (*getapp)(struct qed_dev *cdev, u8 idtype, u16 id);
242 int (*setapp)(struct qed_dev *cdev, u8 idtype, u16 idval, u8 up);
/kernel/linux/linux-6.6/include/linux/qed/
H A Dqed_eth_if.h217 int (*getapp)(struct qed_dev *cdev, u8 idtype, u16 id);
231 int (*setapp)(struct qed_dev *cdev, u8 idtype, u16 idval, u8 up);
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c2256 u8 idtype, u16 idval, u8 up) in bnx2x_admin_app_set_ent()
2260 switch (idtype) { in bnx2x_admin_app_set_ent()
2276 u8 idtype, u16 idval) in bnx2x_admin_app_is_equal()
2281 switch (idtype) { in bnx2x_admin_app_is_equal()
2299 static int bnx2x_set_admin_app_up(struct bnx2x *bp, u8 idtype, u16 idval, u8 up) in bnx2x_set_admin_app_up() argument
2303 /* iterate over the app entries looking for idtype and idval */ in bnx2x_set_admin_app_up()
2307 if (bnx2x_admin_app_is_equal(app_ent, idtype, idval)) in bnx2x_set_admin_app_up()
2321 idtype, idval, up); in bnx2x_set_admin_app_up()
2335 static int bnx2x_dcbnl_set_app_up(struct net_device *netdev, u8 idtype, in bnx2x_dcbnl_set_app_up() argument
2341 idtype, idva in bnx2x_dcbnl_set_app_up()
2254 bnx2x_admin_app_set_ent( struct bnx2x_admin_priority_app_table *app_ent, u8 idtype, u16 idval, u8 up) bnx2x_admin_app_set_ent() argument
2274 bnx2x_admin_app_is_equal( struct bnx2x_admin_priority_app_table *app_ent, u8 idtype, u16 idval) bnx2x_admin_app_is_equal() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.c2256 u8 idtype, u16 idval, u8 up) in bnx2x_admin_app_set_ent()
2260 switch (idtype) { in bnx2x_admin_app_set_ent()
2276 u8 idtype, u16 idval) in bnx2x_admin_app_is_equal()
2281 switch (idtype) { in bnx2x_admin_app_is_equal()
2299 static int bnx2x_set_admin_app_up(struct bnx2x *bp, u8 idtype, u16 idval, u8 up) in bnx2x_set_admin_app_up() argument
2303 /* iterate over the app entries looking for idtype and idval */ in bnx2x_set_admin_app_up()
2307 if (bnx2x_admin_app_is_equal(app_ent, idtype, idval)) in bnx2x_set_admin_app_up()
2321 idtype, idval, up); in bnx2x_set_admin_app_up()
2335 static int bnx2x_dcbnl_set_app_up(struct net_device *netdev, u8 idtype, in bnx2x_dcbnl_set_app_up() argument
2341 idtype, idva in bnx2x_dcbnl_set_app_up()
2254 bnx2x_admin_app_set_ent( struct bnx2x_admin_priority_app_table *app_ent, u8 idtype, u16 idval, u8 up) bnx2x_admin_app_set_ent() argument
2274 bnx2x_admin_app_is_equal( struct bnx2x_admin_priority_app_table *app_ent, u8 idtype, u16 idval) bnx2x_admin_app_is_equal() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c647 * @idtype: the App selector
650 static int ice_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in ice_dcbnl_getapp() argument
654 .selector = idtype, in ice_dcbnl_getapp()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c466 * @idtype : identifies the id as ether type or TCP/UDP port number
473 static int ixgbe_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in ixgbe_dcbnl_getapp() argument
477 .selector = idtype, in ixgbe_dcbnl_getapp()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_dcb_nl.c687 * @idtype: the App selector
690 static int ice_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in ice_dcbnl_getapp() argument
694 .selector = idtype, in ice_dcbnl_getapp()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c751 * @idtype: the App selector
754 * Return the CEE mode app for the given idtype and id
756 static int i40e_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in i40e_dcbnl_getapp() argument
760 .selector = idtype, in i40e_dcbnl_getapp()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_nl.c464 * @idtype : identifies the id as ether type or TCP/UDP port number
471 static int ixgbe_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in ixgbe_dcbnl_getapp() argument
475 .selector = idtype, in ixgbe_dcbnl_getapp()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_dcbx.c1727 static int qed_dcbnl_getapp(struct qed_dev *cdev, u8 idtype, u16 idval) in qed_dcbnl_getapp() argument
1740 ethtype = !!(idtype == DCB_APP_IDTYPE_ETHTYPE); in qed_dcbnl_getapp()
1750 DP_ERR(cdev, "App entry (%d, %d) not found\n", idtype, idval); in qed_dcbnl_getapp()
1761 u8 idtype, u16 idval, u8 pri_map) in qed_dcbnl_setapp()
1775 ethtype = !!(idtype == DCB_APP_IDTYPE_ETHTYPE); in qed_dcbnl_setapp()
1760 qed_dcbnl_setapp(struct qed_dev *cdev, u8 idtype, u16 idval, u8 pri_map) qed_dcbnl_setapp() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_dcbx.c1725 static int qed_dcbnl_getapp(struct qed_dev *cdev, u8 idtype, u16 idval) in qed_dcbnl_getapp() argument
1738 ethtype = !!(idtype == DCB_APP_IDTYPE_ETHTYPE); in qed_dcbnl_getapp()
1748 DP_ERR(cdev, "App entry (%d, %d) not found\n", idtype, idval); in qed_dcbnl_getapp()
1759 u8 idtype, u16 idval, u8 pri_map) in qed_dcbnl_setapp()
1773 ethtype = !!(idtype == DCB_APP_IDTYPE_ETHTYPE); in qed_dcbnl_setapp()
1758 qed_dcbnl_setapp(struct qed_dev *cdev, u8 idtype, u16 idval, u8 pri_map) qed_dcbnl_setapp() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_dcb.c928 static int qlcnic_dcb_get_app(struct net_device *netdev, u8 idtype, u16 id) in qlcnic_dcb_get_app() argument
932 .selector = idtype, in qlcnic_dcb_get_app()
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_dcb.c928 static int qlcnic_dcb_get_app(struct net_device *netdev, u8 idtype, u16 id) in qlcnic_dcb_get_app() argument
932 .selector = idtype, in qlcnic_dcb_get_app()

Completed in 40 milliseconds