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

/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c752 static int __cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id, __cxgb4_getapp() argument
781 if (pcmd.u.dcb.app_priority.sel_field == app_idtype) __cxgb4_getapp()
795 static int cxgb4_getapp(struct net_device *dev, u8 app_idtype, u16 app_id) cxgb4_getapp() argument
797 return __cxgb4_getapp(dev, app_idtype, app_id, 0); cxgb4_getapp()
802 static int __cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, __cxgb4_setapp() argument
852 pcmd.u.dcb.app_priority.sel_field = app_idtype; __cxgb4_setapp()
867 static int cxgb4_setapp(struct net_device *dev, u8 app_idtype, u16 app_id, cxgb4_setapp() argument
872 .selector = app_idtype, cxgb4_setapp()
877 if (app_idtype != DCB_APP_IDTYPE_ETHTYPE && cxgb4_setapp()
878 app_idtype != DCB_APP_IDTYPE_PORTNUM) cxgb4_setapp()
881 /* Convert app_idtype to a format that firmware understands */ cxgb4_setapp()
882 ret = __cxgb4_setapp(dev, app_idtype == DCB_APP_IDTYPE_ETHTYPE ? cxgb4_setapp()
883 app_idtype : 3, app_id, app_prio); cxgb4_setapp()

Completed in 60 milliseconds