Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_dcbnl.c105 static int qede_dcbnl_getapp(struct net_device *netdev, u8 idtype, u16 id) in qede_dcbnl_getapp() argument
109 return edev->ops->dcb->getapp(edev->cdev, idtype, id); in qede_dcbnl_getapp()
174 static int qede_dcbnl_setapp(struct net_device *netdev, u8 idtype, u16 idval, in qede_dcbnl_setapp() argument
179 return edev->ops->dcb->setapp(edev->cdev, idtype, idval, up); in qede_dcbnl_setapp()
/Linux-v5.4/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-v5.4/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-v5.4/include/linux/qed/
Dqed_eth_if.h254 int (*getapp)(struct qed_dev *cdev, u8 idtype, u16 id);
268 int (*setapp)(struct qed_dev *cdev, u8 idtype, u16 idval, u8 up);
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_dcb.c2257 u8 idtype, u16 idval, u8 up) in bnx2x_admin_app_set_ent() argument
2261 switch (idtype) { in bnx2x_admin_app_set_ent()
2277 u8 idtype, u16 idval) in bnx2x_admin_app_is_equal() argument
2282 switch (idtype) { in bnx2x_admin_app_is_equal()
2300 static int bnx2x_set_admin_app_up(struct bnx2x *bp, u8 idtype, u16 idval, u8 up) in bnx2x_set_admin_app_up() argument
2308 if (bnx2x_admin_app_is_equal(app_ent, idtype, idval)) in bnx2x_set_admin_app_up()
2322 idtype, idval, up); in bnx2x_set_admin_app_up()
2336 static int bnx2x_dcbnl_set_app_up(struct net_device *netdev, u8 idtype, in bnx2x_dcbnl_set_app_up() argument
2342 idtype, idval, up); in bnx2x_dcbnl_set_app_up()
2350 switch (idtype) { in bnx2x_dcbnl_set_app_up()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_nl.c473 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()
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed_dcbx.c1752 static int qed_dcbnl_getapp(struct qed_dev *cdev, u8 idtype, u16 idval) in qed_dcbnl_getapp() argument
1765 ethtype = !!(idtype == DCB_APP_IDTYPE_ETHTYPE); in qed_dcbnl_getapp()
1775 DP_ERR(cdev, "App entry (%d, %d) not found\n", idtype, idval); in qed_dcbnl_getapp()
1786 u8 idtype, u16 idval, u8 pri_map) in qed_dcbnl_setapp() argument
1800 ethtype = !!(idtype == DCB_APP_IDTYPE_ETHTYPE); in qed_dcbnl_setapp()
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_dcb.c929 static int qlcnic_dcb_get_app(struct net_device *netdev, u8 idtype, u16 id) in qlcnic_dcb_get_app() argument
933 .selector = idtype, in qlcnic_dcb_get_app()
/Linux-v5.4/Documentation/input/
Dinput-programming.rst241 The idtype field can be used for specific information for the input device