// SPDX-License-Identifier: GPL-2.0-only /* * QLogic FCoE Offload Driver * Copyright (c) 2016-2018 Cavium Inc. */ #include <linux/if_ether.h> #include <linux/if_vlan.h> #include "qedf.h" extern const struct qed_fcoe_ops *qed_ops; /* * FIP VLAN functions that will eventually move to libfcoe. */ void qedf_fcoe_send_vlan_req(struct qedf_ctx *qedf) { … } static void qedf_fcoe_process_vlan_resp(struct qedf_ctx *qedf, struct sk_buff *skb) { … } void qedf_fip_send(struct fcoe_ctlr *fip, struct sk_buff *skb) { … } static u8 fcoe_all_enode[ETH_ALEN] = …; /* Process incoming FIP frames. */ void qedf_fip_recv(struct qedf_ctx *qedf, struct sk_buff *skb) { … } u8 *qedf_get_src_mac(struct fc_lport *lport) { … }