src/dpdk/drivers/net/bnx2x/bnx2x.c
static int bnx2x_is_contextless_ramrod(int cmd, int cmd_type)
{
	if ((cmd_type == NONE_CONNECTION_TYPE) ||
	    (cmd == RAMROD_CMD_ID_ETH_FORWARD_SETUP) ||
	    (cmd == RAMROD_CMD_ID_ETH_CLASSIFICATION_RULES) ||
	    (cmd == RAMROD_CMD_ID_ETH_FILTER_RULES) ||
	    (cmd == RAMROD_CMD_ID_ETH_MULTICAST_RULES) ||
	    (cmd == RAMROD_CMD_ID_ETH_SET_MAC) ||
	    (cmd == RAMROD_CMD_ID_ETH_RSS_UPDATE)) {
		return TRUE;
	} else {
		return FALSE;
	}
}
/**
 * bnx2x_is_contextless_ramrod - check if the current command ends on EQ
 *
 * @cmd:      command to check
 * @cmd_type: command type
 */
check if the current command ends on EQ
@cmd:      command to check
@cmd_type: command type
check if the current command ends on EQ @cmd : command to check @cmd_type : command type
static int bnx2x_is_contextless_ramrod(int cmd, int cmd_type)
{
	if ((cmd_type == NONE_CONNECTION_TYPE) ||
	    (cmd == RAMROD_CMD_ID_ETH_FORWARD_SETUP) ||
	    (cmd == RAMROD_CMD_ID_ETH_CLASSIFICATION_RULES) ||
	    (cmd == RAMROD_CMD_ID_ETH_FILTER_RULES) ||
	    (cmd == RAMROD_CMD_ID_ETH_MULTICAST_RULES) ||
	    (cmd == RAMROD_CMD_ID_ETH_SET_MAC) ||
	    (cmd == RAMROD_CMD_ID_ETH_RSS_UPDATE)) {
		return TRUE;
	} else {
		return FALSE;
	}
}
static int bnx2x_is_contextless_ramrod ( int cmd , int cmd_type ) { if ( ( cmd_type == NONE_CONNECTION_TYPE ) || ( cmd == RAMROD_CMD_ID_ETH_FORWARD_SETUP ) || ( cmd == RAMROD_CMD_ID_ETH_CLASSIFICATION_RULES ) || ( cmd == RAMROD_CMD_ID_ETH_FILTER_RULES ) || ( cmd == RAMROD_CMD_ID_ETH_MULTICAST_RULES ) || ( cmd == RAMROD_CMD_ID_ETH_SET_MAC ) || ( cmd == RAMROD_CMD_ID_ETH_RSS_UPDATE ) ) { return TRUE ; } else { return FALSE ; } }
bnx2x_is_contextless_ramrod - check if the current command ends on EQ
 @cmd:      command to check
 @cmd_type: command type
bnx2x_is_contextless_ramrod - check if the current command ends on EQ @cmd : command to check @cmd_type : command type