Home
last modified time | relevance | path

Searched refs:idtype (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/qlogic/qede/
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()
/linux-6.1.9/net/dcb/
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 != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_setapp()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
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()
/linux-6.1.9/include/linux/qed/
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);
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c2256 u8 idtype, u16 idval, u8 up) in bnx2x_admin_app_set_ent() argument
2260 switch (idtype) { in bnx2x_admin_app_set_ent()
2276 u8 idtype, u16 idval) in bnx2x_admin_app_is_equal() argument
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
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, idval, up); in bnx2x_dcbnl_set_app_up()
2349 switch (idtype) { in bnx2x_dcbnl_set_app_up()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_dcb_nl.c756 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()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c471 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()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
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() argument
1773 ethtype = !!(idtype == DCB_APP_IDTYPE_ETHTYPE); in qed_dcbnl_setapp()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_dcb_nl.c655 static int ice_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in ice_dcbnl_getapp() argument
659 .selector = idtype, in ice_dcbnl_getapp()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
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()
/linux-6.1.9/Documentation/input/
Dinput-programming.rst287 The idtype field can be used for specific information for the input device