Searched refs:IS_LAYER2 (Results 1 – 3 of 3) sorted by relevance
191 strscpy(info->driver, IS_LAYER2(card) ? "qeth_l2" : "qeth_l3", in qeth_get_drvinfo()
758 #define IS_LAYER2(card) ((card)->options.layer == QETH_DISCIPLINE_LAYER2) macro
2391 else if (IS_LAYER2(card)) in qeth_update_max_mtu()2456 return IS_LAYER2(card) ? QETH_MPC_PROT_L2 : QETH_MPC_PROT_L3; in qeth_mpc_select_prot_type()3055 hdr->prim_version_no = IS_LAYER2(card) ? 2 : 1; in qeth_ipa_alloc_cmd()4310 proto_len = (IS_IQD(card) && IS_LAYER2(card)) ? ETH_HLEN : 0; in qeth_xmit()4402 if (IS_LAYER2(card) && IS_OSD(card) && !IS_VM_NIC(card) && in qeth_setadpparms_change_macaddr_cb()6176 if (IS_LAYER2(card)) in qeth_remove_discipline()6753 if (IS_LAYER2(card) && IS_VM_NIC(card)) { in qeth_enable_hw_features()