Skip to content

Commit

Permalink
net/avf/base: add base code for avf PMD
Browse files Browse the repository at this point in the history
Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
  • Loading branch information
wujingji authored and Ferruh Yigit committed Jan 16, 2018
1 parent 597d2ce commit e5b2a9e
Show file tree
Hide file tree
Showing 17 changed files with 10,121 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,11 @@ T: git://dpdk.org/next/dpdk-next-net-intel
F: drivers/net/fm10k/
F: doc/guides/nics/features/fm10k*.ini

Intel avf
M: Jingjing Wu <jingjing.wu@intel.com>
M: Wenzhuo Lu <wenzhuo.lu@intel.com>
F: drivers/net/avf/

Mellanox mlx4
M: Adrien Mazarguil <adrien.mazarguil@6wind.com>
T: git://dpdk.org/next/dpdk-next-net-mlx
Expand Down
23 changes: 23 additions & 0 deletions drivers/net/avf/avf_log.h
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_ */
19 changes: 19 additions & 0 deletions drivers/net/avf/base/README
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

0 comments on commit e5b2a9e

Please sign in to comment.