/linux-6.6.21/drivers/net/ethernet/qlogic/qede/ |
D | qede_dcbnl.c | 106 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.6.21/net/dcb/ |
D | dcbnl.c | 471 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 != DCB_APP_IDTYPE_ETHTYPE) && in dcbnl_setapp() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_dcb_nl.c | 257 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.6.21/include/linux/qed/ |
D | qed_eth_if.h | 217 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.6.21/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_dcb.c | 2256 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.6.21/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_nl.c | 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()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_dcb_nl.c | 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()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qed/ |
D | qed_dcbx.c | 1725 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.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_dcb_nl.c | 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()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_dcb.c | 928 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.6.21/Documentation/input/ |
D | input-programming.rst | 287 The idtype field can be used for specific information for the input device
|