The ixgbe base driver was updated to version
cid-10g-shared-code.2016.04.12.
Signed-off-by: Xiao Wang
---
doc/guides/rel_notes/release_16_11.rst | 8
drivers/net/ixgbe/base/README | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/doc/guides/rel_notes/release
By exiting early we could skip the PHY configuration and as such
the driver may not configure the PHY correctly for SFP+.
This patch removes the logic which would previously skip the PHY
configuration in the case where we are already at the requested
speed in ixgbe_setup_mac_link_multispeed_fiber(
Support for flow control auto negotiation is defeatured from X550em_a
fiber when connected to speeds lower than 10Gbps. This patch cleans up
the code path which is mostly dead to begin with.
- add device IDs check in ixgbe_device_supports_autoneg_fc().
- ixgbe_fc_autoneg_fiber_x550em_a() is now us
Correct link flow for X550em_a backplane with ALEF.
Report the correct link capabilities:
SKUs configured for 2.5G only support 2.5G.
non-10G SKUs can only support 2.5 or 1G.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_type.h | 5 +
drivers/net/ixgbe/base/ixgbe_x550.c |
The semaphore is not being held for complete shadow RAM accesses
which could result in corruption. Refactor the code so that it is
possible to hold the semaphore around ixgbe_host_interface_command
by introducing an unlocked form. This patch also eliminates the
function ixgbe_read_ee_hostif_data_X5
This patch adds negotiate_api_version and set_rlpml into mac_ops, with the
introduction of Hyper-V functionality, we can have separate functions to
accommodate different implementations without breaking the other.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 ++
drivers/n
This patch adds X550em_a FW ALEF support for B0 per DCR 64. ALEF is
the new unified FW. The driver uses the KRM_PMD_RX_FLEX_PORT/
FLX_MASK_ST20 registers to configure the lane mode.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_type.h | 16 +++
drivers/net/ixgbe/base/ixgbe_x550.c |
This patch moves PHY ops pointers initialization to
ixgbe_init_phy_ops_X550em and PHY identifying/initializing
to ixgbe_identify_phy_x550em.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_x550.c | 39 -
1 file changed, 25 insertions(+), 14 deletions
This patch changes the value of IXGBE_LINK_SPEED_10_FULL from 4 to 2,
as 4 is reserved to 100Mbit Half Duplex in E1000 shared code.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_ty
X550em_a only supports 10G/1G link.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_phy.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_phy.c
b/drivers/net/ixgbe/base/ixgbe_phy.c
index ee8618f..43c55d7 100644
--- a/drivers/net/ixgbe/base/ixgbe_phy.c
Make sure ixgbe_device_supports_autoneg_fc() returns true for the device
IDs of Seabrook and Shady Acres.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_common.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_common.c
b/drivers/net/ixgbe/base/ixgbe
This patch reduces the SWFW semaphore/PHY Token retry delay.
ixgbe_release_swfw_sync_X540: Reduce 5 ms delay after releasing
semaphore to 2 ms. HW team indicated 1 ms delay would be sufficient
for FW access.
ixgbe_acquire_swfw_sync_X540: Remove 5 ms delay after acquiring
semaphore.
ixgbe_acquire
ixgbevf_write_msg_read_ack() is now performing mailbox write and read,
so this patch use this function to commonize mailbox write and read.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_vf.c | 31 +++
1 file changed, 7 insertions(+), 24 deletions(-)
diff
This patch adds missing FDIRSCTPM mask setting for tunneled packets.
It should be set the same way as FDIRTCPM and FDIRUDPM so that SCTP
packets can be filtered correctly.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_82599.c | 16 +---
1 file changed, 13 insertions(+), 3
This patch avoids the situation where we initialize adapter and not
yet set up phy.autoneg_advertised speeds. In that case we could end
up in having no autoneg speeds enabled and get no link until we
reset link and set autoneg speeds correctly.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base
This patch removes X550em_a specific check link function and use default
ixgbe_check_mac_link_generic for it. It is not necessary to check both the
MAC link register and external PHY registers when checking link.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_common.c | 7
drive
Do parameter check to prevent exceptional value being written into
register.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_common.c | 15 ++-
drivers/net/ixgbe/base/ixgbe_x540.c | 6 ++
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgb
X550em_a adds GENEVE support by using the upper 16 bits of VXLANCTRL
to store the UDP port (VXLANCTRL.GENEVE_UDP_PORT).
This patch adds definitions that can be used to manipulate the ports
depending on which protocol is being configured.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe
Create FC (flow control) setup and enable FC function with code to
configure the PHY registers to advertize FC settings according to the
user requested settings and to negotiate the same with the link partner
and arrive at a negotiated setting (RX and TX enabled, TX only enabled,
FC disabled and RX
When HW starts, first read the NVM to see if the crosstalk fix should
be used on the given HW and cache that information in the HW structure.
When we check_link we first see if 1) NVM requests this fix 2) if
we are an SFP+ device 3) see if a module is not in the SFP+ cage.
If all the above are tru
Add SERIAL_NUMBER_MAC_ADDR definition for X550.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_type.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
b/drivers/net/ixgbe/base/ixgbe_type.h
index f42ebaf..1fc7c02 100644
--- a/d
Previously we checked only msgbuf[0] for
(IXGBE_VF_SET_MACVLAN | IXGBE_VT_MSGTYPE_NACK), but this would not
work if index != 0 and as a result NACK will not be detected.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_vf.c | 18 ---
This patch makes sure that we access IOSF registers through the HIC
(host interface command) for the majority of X550em devices. All devices
with NVM are capable of using the HIC.
For consistency all instances where the ixgbe_read/write_iosf_sb_reg_x550
is called directly are converted to function
This patch will pave the way for the new VF unicast promiscuous
mode support.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_mbx.h | 5 +++--
drivers/net/ixgbe/base/ixgbe_vf.c | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_mbx.h
b
Propagate return value when trying to set the maximum packet length. A
PF driver could return a NACK for this request, and the VF driver will
need to know this.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_vf.c | 24 +---
drivers/net/ixgbe/base/ixgbe_vf.h | 2 +-
Some function commets are obviously wrong, this patch rewords them.
Fixes: d2e72774e58c ("ixgbe/base: support X550")
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_x550.c | 12 +---
1 file changed, 5 insertions(+), 7
Provide a DMA coalescing configuration for 10Mb link speed.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_x550.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
index 2cd5730..08886a7 100644
--- a/drivers/
The error exit should at least try to set the page register to 0
since other code will assume that state.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_x550.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.
This patch adds a separate function for enabling FC (flow control)
auto-negotiation on X550em_a:
- rename ixgbe_fc_autoneg_x550a() to ixgbe_fc_autoneg_backplane_x550em_a().
- create ixgbe_fc_autoneg_fiber_x550em_a() specifically for fiber.
- add definitions for KRM_PCS_KX_AN_LP register and relate
This patch adds a separate function for setting up FC (flow control)
on X550em_a fiber:
- rename ixgbe_setup_fc_x550a() to ixgbe_setup_fc_backplane_x550em_a().
- create ixgbe_setup_fc_fiber_x550em_a() to configure FC for fiber.
- add definitions for KRM_AN_CNTL_4 and KRM_PCS_KX_AN along with relat
Add new definitions to support VF unicast promiscuous mode which
will be implemented in a later patch.
Besides, rename definitions of subdevice IDs on SFP LOM to make it
easier to distinguish.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_type.h | 6 --
1 file changed, 4 inserti
Fully initialize X550em_a 1G PHYs; move the PHY definitions from
ixgbe_x550.h to ixgbe_phy.h, where they really belong; define
register numbers in decimal because that is how they are in the spec.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_phy.c | 43 +--
drivers/net/ixgbe/base/
Move the PHY probe code into a separate function so that it can be
reused. A subsequent patch will use it for configurations that
provide the PHY address explicitly.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_phy.c | 58 +++---
1 file changed, 35 in
This patch introduces new init_ops functions for X550EM_a and X550EM_x.
This makes it easier to assign function pointers with specific
dependencies (like media type) for each MAC.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_api.c | 4 +-
drivers/net/ixgbe/base/ixgbe_api.h | 2 +
Currently, VF is limited to 30 multicast addresses. In order to
accommodate more addresses, this patch adds support for VF multicast
promiscuous.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_mbx.h | 2 +-
drivers/net/ixgbe/base/ixgbe_type.h | 1 +
drivers/net/ixgbe/base/ixgbe_vf.
This patch use the shared MDIO functions ixgbe_read_phy_reg_x550a
and ixgbe_write_phy_reg_x550a for X550em_a 10G PHY which supports
flow control auto-negotiation.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_common.c | 1 +
drivers/net/ixgbe/base/ixgbe_x550.c | 5 -
2 files ch
The latest firmware reverses the endianness of the PHY data read and
written via host interface command, so make corresponding changes
to that.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_osdep.h | 1 +
drivers/net/ixgbe/base/ixgbe_type.h | 4 ++--
drivers/net/ixgbe/base/ixgbe_x55
This patch removes X550em SFP iXFI setup for the drivers since there
is no released hardware production with SFP iXFI.
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_x550.c | 57 +++--
1 file changed, 11 insertions(+), 46 deletions(-)
diff --git a/driv
The delta value rather than vfta_delta pointer should be checked.
Fixes: b978f7b38c14 ("net/ixgbe/base: simplify VLAN management")
Signed-off-by: Xiao Wang
---
drivers/net/ixgbe/base/ixgbe_82598.c | 6 +++---
drivers/net/ixgbe/base/ixgbe_api.c| 7 ---
drivers/net/ixgbe/base/ixgbe_commo
Update ixgbe base driver, including the following changes:
* add X550em_a 10G PHY support
* add VF multicast promiscuous mode support
* support flow control auto negotiation for X550em_a 1G PHY
* add X550em_a FW ALEF support
* some functional fixes
Xiao Wang (39)
Add support for VMDQ vswitch device. This patch takes
out all VMDQ specefic code from vhost/main.[c,h] and
move it to vmdq.[c,h]. Moreover vmdq.[c,h] files plug
the VMDQ vswitch device implmentation to the vhost-switch
using vswitch framework.
The main vhost/main.[c,h] code is now generic and can
Add command line options for selecting switch implementation
and maximum ports for the vswitch.following are two new command
line options:
--switch [char string, Selects the switch imlementation]
--max-ports [int, selects maximum number of ports to support]
For example:
$ ./vhost-switch -c 3 -n
Indroduce support for a generic framework for handling of switching between
physical and virtio devices. The vswitch framework introduces the following
concept:
1. vswitch_dev: Vswitch device is a logical switch which can have Phsyical and
virtio devices. The devices are operated/used using standa
Introduce generic vswitch framework in vhost-switch application. Following
are the goals/aim of the framework:
1. Make vhost-switch application generic so that it can support devices
which don't support VMDQ.
2. Provide a framework so that any switching logic (generic in software or
vendor spece
On Fri, 26 Aug 2016 20:54:28 -0400
souvikdey33 wrote:
> This functionality is required mostly in the cloud infrastructure.
> For example, if we use gre or vxlan network between compute and
> controller, then we should not use 1500 mtu in the guest as with
> encapsulation the sixe of the packet wi
Signed-off-by: Yunjian Wang
---
drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index fb618ef..e3fcf33 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixg
2016-08-26 16:32, Finn Christensen:
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > It would help a lot to describe what is the Napatech NIC Driver Suite, and
> > why it is a virtual driver.
>
> I will elaborate on the description to make it more clear and send an update
> patch.
2016-08-26 22:34, Pablo de Lara:
> From: Byron Marohn
>
> In lookup bulk function, the signatures of all entries
> are compared against the signature of the key that is being looked up.
> Now that all the signatures are together, they can be compared
> with vector instructions (SSE, AVX2), achiev
Hi ,
I have already updated it and have re submitted the patch v3. Can you
please check that http://dpdk.org/dev/patchwork/patch/15378/
--
Regards,
Souvik
-Original Message-
From: Stephen Hemminger [mailto:step...@networkplumber.org]
Sent: Friday, August 26, 2016 11:55 AM
To: Dey
49 matches
Mail list logo