From eebeb3f60b5817392356627e55f6bcb27a191357 Mon Sep 17 00:00:00 2001 From: John McNamara Date: Wed, 10 Jun 2015 18:08:47 +0100 Subject: [PATCH] drivers: add warning note to base dirs This patch adds a note to the README files in the drivers/net/pmd/base dirs to highlight that the code should not be modifed by the user apart from the pmd_osdep.[ch] files. Signed-off-by: John McNamara --- drivers/net/e1000/base/README | 13 +++++++++---- drivers/net/ixgbe/base/README | 16 +++++----------- drivers/net/vmxnet3/base/README | 13 +++++-------- 3 files changed, 19 insertions(+), 23 deletions(-) diff --git a/drivers/net/e1000/base/README b/drivers/net/e1000/base/README index 851e54e186..59275b6b9e 100644 --- a/drivers/net/e1000/base/README +++ b/drivers/net/e1000/base/README @@ -33,7 +33,12 @@ This directory contains source code of FreeBSD em & igb drivers of version cid-shared-code.2014.04.21 released by LAD. The sub-directory of lad/ contains the original source package. -Few changes to the original FreeBSD sources were made to: -- Adopt it for PMD usage mode: - e1000_osdep.c - e1000_osdep.h + +Updating the driver +=================== + +NOTE: The source code in this directory should not be modified apart from +the following file(s): + + e1000_osdep.c + e1000_osdep.h diff --git a/drivers/net/ixgbe/base/README b/drivers/net/ixgbe/base/README index ac387082e5..cec48a6ffa 100644 --- a/drivers/net/ixgbe/base/README +++ b/drivers/net/ixgbe/base/README @@ -52,16 +52,10 @@ This driver is valid for the product(s) listed below * Intel® Ethernet Server Adapter X520-T2 * Intel® Ethernet Controller X550-BT2 -Updating driver -=============== - -The following modifications have been made to this code to integrate it with the -Intel® DPDK: - +Updating the driver +=================== -ixgbe_osdep.h -------------- +NOTE: The source code in this directory should not be modified apart from +the following file(s): -The OS dependency layer has been extensively modified to support the drivers in -the Intel® DPDK environment. It is expected that these files will not need to be -changed on updating the driver. + ixgbe_osdep.h diff --git a/drivers/net/vmxnet3/base/README b/drivers/net/vmxnet3/base/README index f13fec72f8..599a3661ea 100644 --- a/drivers/net/vmxnet3/base/README +++ b/drivers/net/vmxnet3/base/README @@ -38,13 +38,10 @@ In which, upt1_defs.h and vmxnet3_defs.h is introduced without any change. The other 4 files: includeCheck.h, vmware_pack_begin.h, vmware_pack_end.h and vmxnet3_osdep.h are crated to adapt to the needs from above 2 files. -Updating driver -=============== - -The following modifications have been made to this code to integrate it with the -Intel DPDK: - - -------------- +Updating the driver +=================== +NOTE: The source code in this directory should not be modified apart from +the following file(s): + vmxnet3_osdep.h -- 2.20.1