vnic.h (a976c2951d8f376112361830aa7762beff83a205) vnic.h (8e959601996dc645f4ed7004482a1667c27deb39)
1#ifndef _HFI1_VNIC_H
2#define _HFI1_VNIC_H
3/*
4 * Copyright(c) 2017 Intel Corporation.
5 *
6 * This file is provided under a dual BSD/GPLv2 license. When using or
7 * redistributing this file, you may do so under either license.
8 *

--- 162 unchanged lines hidden (view full) ---

171
172/* vnic rdma netdev operations */
173struct net_device *hfi1_vnic_alloc_rn(struct ib_device *device,
174 u8 port_num,
175 enum rdma_netdev_t type,
176 const char *name,
177 unsigned char name_assign_type,
178 void (*setup)(struct net_device *));
1#ifndef _HFI1_VNIC_H
2#define _HFI1_VNIC_H
3/*
4 * Copyright(c) 2017 Intel Corporation.
5 *
6 * This file is provided under a dual BSD/GPLv2 license. When using or
7 * redistributing this file, you may do so under either license.
8 *

--- 162 unchanged lines hidden (view full) ---

171
172/* vnic rdma netdev operations */
173struct net_device *hfi1_vnic_alloc_rn(struct ib_device *device,
174 u8 port_num,
175 enum rdma_netdev_t type,
176 const char *name,
177 unsigned char name_assign_type,
178 void (*setup)(struct net_device *));
179void hfi1_vnic_free_rn(struct net_device *netdev);
180int hfi1_vnic_send_dma(struct hfi1_devdata *dd, u8 q_idx,
181 struct hfi1_vnic_vport_info *vinfo,
182 struct sk_buff *skb, u64 pbc, u8 plen);
183
184#endif /* _HFI1_VNIC_H */
179int hfi1_vnic_send_dma(struct hfi1_devdata *dd, u8 q_idx,
180 struct hfi1_vnic_vport_info *vinfo,
181 struct sk_buff *skb, u64 pbc, u8 plen);
182
183#endif /* _HFI1_VNIC_H */