forked from kevintraynor/dpdk-stable-queue-1811
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/avf/base: add base code for avf PMD
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com> Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
- Loading branch information
Showing
17 changed files
with
10,121 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* SPDX-License-Identifier: BSD-3-Clause | ||
* Copyright(c) 2017 Intel Corporation | ||
*/ | ||
|
||
#ifndef _AVF_LOG_H_ | ||
#define _AVF_LOG_H_ | ||
|
||
extern int avf_logtype_init; | ||
#define PMD_INIT_LOG(level, fmt, args...) \ | ||
rte_log(RTE_LOG_ ## level, avf_logtype_init, "%s(): " fmt "\n", \ | ||
__func__, ## args) | ||
#define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, " >>") | ||
|
||
extern int avf_logtype_driver; | ||
#define PMD_DRV_LOG_RAW(level, fmt, args...) \ | ||
rte_log(RTE_LOG_ ## level, avf_logtype_driver, "%s(): " fmt, \ | ||
__func__, ## args) | ||
|
||
#define PMD_DRV_LOG(level, fmt, args...) \ | ||
PMD_DRV_LOG_RAW(level, fmt "\n", ## args) | ||
#define PMD_DRV_FUNC_TRACE() PMD_DRV_LOG(DEBUG, " >>") | ||
|
||
#endif /* _AVF_LOG_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* SPDX-License-Identifier: BSD-3-Clause | ||
* Copyright(c) 2017 Intel Corporation | ||
*/ | ||
|
||
Intel® AVF driver | ||
================= | ||
|
||
This directory contains source code of FreeBSD AVF driver of version | ||
cid-avf.2018.01.02.tar.gz released by the team which develops | ||
basic drivers for any AVF NIC. The directory of base/ contains the | ||
original source package. | ||
|
||
Updating the driver | ||
=================== | ||
|
||
NOTE: The source code in this directory should not be modified apart from | ||
the following file(s): | ||
|
||
avf_osdep.h |
Oops, something went wrong.