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()
757 #define IS_LAYER2(card) ((card)->options.layer == QETH_DISCIPLINE_LAYER2) macro
2428 else if (IS_LAYER2(card)) in qeth_update_max_mtu()2493 return IS_LAYER2(card) ? QETH_MPC_PROT_L2 : QETH_MPC_PROT_L3; in qeth_mpc_select_prot_type()3097 hdr->prim_version_no = IS_LAYER2(card) ? 2 : 1; in qeth_ipa_alloc_cmd()4339 proto_len = (IS_IQD(card) && IS_LAYER2(card)) ? ETH_HLEN : 0; in qeth_xmit()4431 if (IS_LAYER2(card) && IS_OSD(card) && !IS_VM_NIC(card) && in qeth_setadpparms_change_macaddr_cb()6203 if (IS_LAYER2(card)) in qeth_remove_discipline()6780 if (IS_LAYER2(card) && IS_VM_NIC(card)) { in qeth_enable_hw_features()