This patch is to flush all tunnel filters.
Signed-off-by: Beilei Xing <beilei.x...@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 26a8c5a..7
This patch adds a function to destroy the ethertype filter.
And this patch also adds flow destroy function.
Signed-off-by: Beilei Xing <beilei.x...@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 69 ++
1 file changed, 69 insertions(+)
diff
This patch adds a function to destroy the macvlan filter.
Signed-off-by: Beilei Xing <beilei.x...@intel.com>
---
drivers/net/i40e/i40e_ethdev.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_et
director for QinQ.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Fixes: 4072d503aaa5 ("i40e: fix VLAN bitmasks for input set")
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 27 +++
1 file changed, 15 insertions(+), 12 deletions(-)
This patch changes bitmask of outer VLAN tag in L2 header to
support RSS and flow director for QinQ.
Fixes: 4072d503aaa5 ("i40e: fix VLAN bitmasks for input set")
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Previously, PTYPE filed in the RX descriptors is not set properly
for QinQ packets, wrong PTYPE is generated because outer Tag did
not have ORT/PIT configured.
Fix this issue by configuring ORT/PIT.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Beilei Xing
---
Previously, PTYPE filed in the RX descriptors is not set properly
for QinQ packets, wrong PTYPE is generated because outer Tag did
not have ORT/PIT configured.
Fix this issue by configuring ORT/PIT.
Fixes: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Beilei Xing
---
d
: 4861cde46116 ("i40e: new poll mode driver")
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index d0aeb70..55c4887 100644
--- a/driver
, 107125
Fixes: 4abe471ed6fc ("examples/tep_term: implement VXLAN processing")
Signed-off-by: Beilei Xing
---
examples/tep_termination/vxlan_setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/tep_termination/vxlan_setup.c
b/examples/tep_termination/vxl
the same change in other functions.
Coverity issue: 37793, 37794
Fixes: 782c8c92f13f ("i40e: add hash configuration")
Fixes: f2b2e2354bbd ("i40e: split function for hash and flow director input")
Fixes: 98f055707685 ("i40e: configure input fields for RSS or flow director
ased RSS config")
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c| 7 +--
drivers/net/i40e/i40e_ethdev_vf.c | 7 +--
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 46a
intent behind the condition is to check if VMDq
is enabled, fix the code by changing "|" to "&".
Coverity issue: 13219, 13221
Fixes: 4805ed59e957 ("i40e: enhance mac address operations")
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 7 ---
1 file
Fix some open coverity defects.
V2 changes:
Rework commit log.
Refactor patchset.
Beilei Xing (3):
i40e: fix log error
i40e: fix dereference before null check
i40e: fix out-of-bounds access
drivers/net/i40e/i40e_ethdev.c| 35 +--
drivers/net/i40e
_term: implement VXLAN processing")
Signed-off-by: Beilei Xing
---
examples/tep_termination/vxlan_setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/tep_termination/vxlan_setup.c
b/examples/tep_termination/vxlan_setup.c
index 37575c2..8f1f15b 100644
---
the same change in other functions.
Fixes: 782c8c92f13f ("i40e: add hash configuration")
Fixes: f2b2e2354bbd ("i40e: split function for hash and flow director input")
Fixes: 98f055707685 ("i40e: configure input fields for RSS or flow director")
Signed-off-by: Beil
Null-checking vsi suggests that it may be null, but it
has be dereferenced before null-checking. So move if
statement to the front of assignment statement.
Fixes: d0a349409bd7 ("i40e: support AQ based RSS config")
Fixes: 647d1eaf758b ("i40evf: support AQ based RSS config")
S
ress operations")
Signed-off-by: Beilei Xing
---
drivers/net/i40e/i40e_ethdev.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index f94ad87..eba6481 100644
--- a/drivers/net/i40e/i40e_ethdev.c
++
Fix some open coverity defects.
Beilei Xing (4):
i40e: fix wrong operator
i40e: fix dereference before null check
i40e: fix out-of-bounds access
examples/tep_term: fix out-of-bounds access
drivers/net/i40e/i40e_ethdev.c | 35 --
drivers/net/i40e
Update l3fwd example usage and documentation with missing options.
Signed-off-by: Beilei Xing
---
v2 changes:
Update l3fwd main.c usage
Update format in documentation.
doc/guides/sample_app_ug/l3_forward.rst | 42 ++---
examples/l3fwd/main.c | 40
when setting ether type")
Signed-off-by: Beilei Xing
---
v4 changes:
Update commit log.
v3 changes:
Fix inserting vlan tpid issue for Tx.
drivers/net/ixgbe/ixgbe_ethdev.c | 41 +---
lib/librte_ether/rte_ethdev.h| 4 ++--
2 files changed, 40 insert
Update l3fwd documentation with -E, -L and --eth-dest options.
Signed-off-by: Beilei Xing
---
doc/guides/sample_app_ug/l3_forward.rst | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/doc/guides/sample_app_ug/l3_forward.rst
b/doc/guides/sample_app_ug/l3_forward.rst
to be bypassed when adding/removing
a VFTA entry.
Added X550a flow control auto negotiation support.
Signed-off-by: Beilei Xing
---
doc/guides/rel_notes/release_16_07.rst | 11 +++
drivers/net/ixgbe/base/README | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/doc
A work around for a new crosstalk erratum that causes link flap in
entry cages has been introduced. So this patch defines the bit in
NVM that will tell software if this work around is needed.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 1 +
1 file changed, 1 insertion
ixgbe_fc_enable_generic.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.h| 2 +
drivers/net/ixgbe/base/ixgbe_common.c | 5 +-
drivers/net/ixgbe/base/ixgbe_type.h | 6 ++
drivers/net/ixgbe/base/ixgbe_x550.c | 181 ++
drivers/net/ixgbe/base/ixgbe_x550.h
-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_common.c | 40 ++-
drivers/net/ixgbe/base/ixgbe_common.h | 2 +-
2 files changed, 12 insertions(+), 30 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_common.c
b/drivers/net/ixgbe/base/ixgbe_common.c
index
This patch fixes endianness issues about host interface command.
Fixes: ad66a85dce9a ("ixgbe/base: new FW values")
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_osdep.h | 1 +
drivers/net/ixgbe/bas
Since PCIe standard defines maximum of 8 functions per device lan_id
is a value 0..7. Because of that, lan_id don't need to be u16.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_common.c | 2 +-
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
2 files changed, 2 insertions(+), 2
This patch changes static keyword to STATIC definition, which can be
redefined depending on the compiler used.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 38 ++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers
This patch adds support for the VLVF to be bypassed when adding or
removing a VFTA entry. The PF can utilize the default pool while
preserving the VLVF for the VFs use.
Meanwhile, update corresponding VF ops and drivers where corresponding
ops is invoked.
Signed-off-by: Beilei Xing
---
drivers
This patch simplifies the adding and removing VLANs from
VFTA/VLVF/VLVFB registers. The logic to determine registers has
been simplified to (vid / 32) and (1 - vid / 32). Many conditional
paths and checks are no longer needed with this patch.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe
This patch fixes possible race issue between ports when issuing host
interface command by acquiring/releasing the management host interface
semaphore in ixgbe_host_interface_command.
Fixes: 36f43e8679ae ("ixgbe/base: refactor manageability block communication")
Signed-off-by: B
this when you know no one should be holding the
semaphore (i.e. probe time)
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.c| 14 ++
drivers/net/ixgbe/base/ixgbe_api.h| 1 +
drivers/net/ixgbe/base/ixgbe_common.c | 1 +
drivers/net/ixgbe/base/ixgbe_type.h | 1
though nothing should be attached.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.c | 2 ++
drivers/net/ixgbe/base/ixgbe_type.h | 7 ---
drivers/net/ixgbe/base/ixgbe_x550.c | 17 -
lib/librte_eal/common/include
It adds new phy definitions.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_phy.c | 16 +-
drivers/net/ixgbe/base/ixgbe_type.h | 14 +-
drivers/net/ixgbe/base/ixgbe_x550.c | 303 ++--
drivers/net/ixgbe/base/ixgbe_x550.h | 43 +
4 files
NW_MNG_IF_SEL register is critical PHY link configuration, add
ixgbe_read_mng_if_sel_x550em to read NW_MNG_IF_SEL, validate
register values and save fields such as PHY MDIO address, optimize
internal PHY mode determination.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 2
The ixgbe_vf.h file did not use __ and instead used
which is not the standard used in every other file.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_vf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
When there is an error getting the PHY token, the error path
fails to release the locks that it has taken. Release those
locks in that failure case.
Fixes: 86b8fb293fdf ("ixgbe/base: add sw-firmware sync for resource sharing on
X550em_a")
Signed-off-by: Beilei Xing
---
drivers/net/
This patch renames IXGBE_PVFTTDLEN to IXGBE_PVFTDLEN according to
abbreviation of Transmit Descriptor Length in datasheet.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
This patch adds clearing the pool mappings when configuring default
MAC addresses for the interface. Without this there will be the risk
of leaking an address into pool 0 which really belongs to VF 0 when
SR-IOV is enabled.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_82599.c
This patch updates ixgbe_setup_mac_link_sfp_x550a for X550 SFP+.
ixgbe_set_lan_id_multi_port_pcie has been updated to set the MAC
instance(0/1) which is needed when configuring the external PHY,
since X550a has two instances of MGPK. The MAC instance is read
from the EEPROM.
Signed-off-by: Beilei
Use the method pointers instead of direct function calls so that
the right thing will happen on X550EM_a.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 76 ++---
1 file changed, 38 insertions(+), 38 deletions(-)
diff --git a/drivers/net
Implement KR support for X550em_a devices.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 53 +
1 file changed, 42 insertions(+), 11 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
Break ixgbe_setup_eee_X550 down to better handle a change from if
statements to switch statements needed to add X550em_a KR support.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 174 ++--
1 file changed, 105 insertions(+), 69 deletions
.
Fixes: 86b8fb293fdf ("ixgbe/base: add sw-firmware sync for resource sharing on
X550em_a")
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 21 -
1 file changed, 12 insert
This patch adds ixgbe_setup_mac_link_sfp_x550a for X550a SFP.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 4 +++
drivers/net/ixgbe/base/ixgbe_x550.c | 64 -
drivers/net/ixgbe/base/ixgbe_x550.h | 3 ++
3 files changed, 70 insertions
An error code indicating that the PF rejects the MAC address change
should be returned, in case that the PF has already assigned a MAC
for the VF.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_vf.c | 4 +++-
1 file
This patch adds new phy type and media type to support
sgmii link for X550, and add ixgbe_setup_sgmii to support
sgmii link setup.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 9 +++
drivers/net/ixgbe/base/ixgbe_x550.c | 127 +---
2
This patch adds two new VF requests of IXGBE_VF_GET_RETA and
IXGBE_VF_GET_RSS_KEY for mailbox API.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_mbx.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_mbx.h
b/drivers/net/ixgbe
Update base driver for ixgbe, mainly work on new features and bug fixes.
v4 changes:
Update some commit logs.
Merge related patched.
v3 changes:
Fix some commit log issues.
Beilei Xing (29):
ixgbe/base: add new VF requests for mailbox API
ixgbe/base: add sgmii link for X550
ixgbe/base
;)
Signed-off-by: Beilei Xing
---
v3 changes:
Note it as a "fixed issue" in the i40e driver.
Reword the title.
v2 changes:
Combine corresponding i40e driver changes into this patch.
doc/guides/rel_notes/release_16_07.rst | 7 +++
drivers/net/i40e/i40e_e
This patch enables configuring the outer TPID for double VLAN.
Note that all other TPID values are read only.
Signed-off-by: Beilei Xing
---
v4 changes:
Optimize the code to be more readable.
v3 changes:
Update commit log and comments.
v2 changes:
Modify return value. Cause inner TPID
This patch enables configuring the outer TPID for double VLAN.
Note that outer TPID of single VLAN and inner TPID of double VLAN
are read only.
Signed-off-by: Beilei Xing
---
v3 changes:
Update commit log and comments.
drivers/net/e1000/igb_ethdev.c | 37
to be bypassed when adding/removing
a VFTA entry.
Added X550a flow control auto negotiation support.
Signed-off-by: Beilei Xing
---
doc/guides/rel_notes/release_16_07.rst | 11 +++
drivers/net/ixgbe/base/README | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/doc
A work around for a new crosstalk erratum that causes link flap in
entry cages has been introduced. So this patch defines the bit in
NVM that will tell software if this work around is needed.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 1 +
1 file changed, 1 insertion
ixgbe_fc_enable_generic.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.h| 2 +
drivers/net/ixgbe/base/ixgbe_common.c | 5 +-
drivers/net/ixgbe/base/ixgbe_type.h | 6 ++
drivers/net/ixgbe/base/ixgbe_x550.c | 181 ++
drivers/net/ixgbe/base/ixgbe_x550.h
-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_common.c | 40 ++-
drivers/net/ixgbe/base/ixgbe_common.h | 2 +-
2 files changed, 12 insertions(+), 30 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_common.c
b/drivers/net/ixgbe/base/ixgbe_common.c
index
This patch fixes endianness issues about host interface command.
Fixes: ad66a85dce9a ("ixgbe/base: new FW values")
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_osdep.h | 1 +
drivers/net/ixgbe/bas
Since PCIe standard defines maximum of 8 functions per device lan_id
is a value 0..7. Because of that, lan_id don't need to be u16.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_common.c | 2 +-
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
2 files changed, 2 insertions(+), 2
This patch changes static keyword to STATIC definition, which can be
redefined depending on the compiler used.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 38 ++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers
This patch adds support for the VLVF to be bypassed when adding or
removing a VFTA entry. The PF can utilize the default pool while
preserving the VLVF for the VFs use.
Meanwhile, update corresponding VF ops and drivers where corresponding
ops is invoked.
Signed-off-by: Beilei Xing
---
drivers
This patch simplifies the adding and removing VLANs from
VFTA/VLVF/VLVFB registers. The logic to determine registers has
been simplified to (vid / 32) and (1 - vid / 32). Many conditional
paths and checks are no longer needed with this patch.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe
This patch limits getting and putting the PHY Token to PHY MDIO
access only by adding ixgbe_read_phy_reg_x550a and
ixgbe_write_phy_reg_x550a. The PHY Token is only needed to
synchronize access to the MDIO shared between the two MAC instance.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base
This patch corrects the FLA/GSCL/GSCN access offset value according
to the datasheet.
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 42 -
1 file changed, 41 insert
This patch fixes possible race issue between ports when issuing host
interface command by acquiring/releasing the management host interface
semaphore in ixgbe_host_interface_command.
Fixes: 36f43e8679ae ("ixgbe/base: refactor manageability block communication")
Signed-off-by: B
this when you know no one should be holding the
semaphore (i.e. probe time)
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.c| 14 ++
drivers/net/ixgbe/base/ixgbe_api.h| 1 +
drivers/net/ixgbe/base/ixgbe_common.c | 1 +
drivers/net/ixgbe/base/ixgbe_type.h | 1
though nothing should be attached.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.c | 2 ++
drivers/net/ixgbe/base/ixgbe_type.h | 7 ---
drivers/net/ixgbe/base/ixgbe_x550.c | 17 -
lib/librte_eal/common/include
It adds new phy definitions.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_phy.c | 16 +-
drivers/net/ixgbe/base/ixgbe_type.h | 14 +-
drivers/net/ixgbe/base/ixgbe_x550.c | 303 ++--
drivers/net/ixgbe/base/ixgbe_x550.h | 43 +
4 files
This patch adds ixgbe_read_mng_if_sel_x550em to read NW_MNG_IF_SEL
register and save fields such as PHY MDIO_ADD.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 ++
drivers/net/ixgbe/base/ixgbe_x550.c | 48 +++--
2 files changed, 32
This patch fixes firmware commands on X550em_a. For one thing,
the checksum value was not being set.
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 19 ++-
1 file changed, 10 insert
The ixgbe_vf.h file did not use __ and instead used
which is not the standard used in every other file.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_vf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
When there is an error getting the PHY token, the error path
fails to release the locks that it has taken. Release those
locks in that failure case.
Fixes: 86b8fb293fdf ("ixgbe/base: add sw-firmware sync for resource sharing on
X550em_a")
Signed-off-by: Beilei Xing
---
drivers/net/
This patch renames IXGBE_PVFTTDLEN to IXGBE_PVFTDLEN according to
abbreviation of Transmit Descriptor Length in datasheet.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
This patch adds clearing the pool mappings when configuring default
MAC addresses for the interface. Without this there will be the risk
of leaking an address into pool 0 which really belongs to VF 0 when
SR-IOV is enabled.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_82599.c
This patch updates ixgbe_setup_mac_link_sfp_x550a for X550 SFP+.
ixgbe_set_lan_id_multi_port_pcie has been updated to set the MAC
instance(0/1) which is needed when configuring the external PHY,
since X550a has two instances of MGPK. The MAC instance is read
from the EEPROM.
Signed-off-by: Beilei
Implement KR support for X550em_a devices.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 51 +
1 file changed, 41 insertions(+), 10 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
Use the method pointers instead of direct function calls so that
the right thing will happen on X550EM_a.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 84 ++---
1 file changed, 42 insertions(+), 42 deletions(-)
diff --git a/drivers/net
Break ixgbe_setup_eee_X550 down to better handle a change from if
statements to switch statements needed to add X550em_a KR support.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 174 ++--
1 file changed, 105 insertions(+), 69 deletions
0em_a")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c
b/drivers/net/ixgbe/base/ixgbe_x550.c
index 8a5b1dc..36df3c3 100644
--- a/drivers/net/ixgbe/base/ixgbe_x550.c
+++ b/drivers
This patch adds ixgbe_setup_mac_link_sfp_x550a for X550a SFP.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 4 +++
drivers/net/ixgbe/base/ixgbe_x550.c | 64 -
drivers/net/ixgbe/base/ixgbe_x550.h | 3 ++
3 files changed, 70 insertions
An error code indicating that the PF rejects the MAC address change
should be returned, in case that the PF has already assigned a MAC
for the VF.
Fixes: af75078fece3 ("first public release")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_vf.c | 4 +++-
1 file
It adds sgmii link for X550.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 9 +++
drivers/net/ixgbe/base/ixgbe_x550.c | 127 +---
2 files changed, 127 insertions(+), 9 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_type.h
b
It adds two new VF requests of IXGBE_VF_GET_RETA and
IXGBE_VF_GET_RSS_KEY for mailbox API.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_mbx.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_mbx.h
b/drivers/net/ixgbe/base
Update base driver for ixgbe, mainly work on
new features and bug fixes.
v3 changes:
Fix some commit log issues.
Beilei Xing (30):
ixgbe/base: add new VF requests for mailbox API
ixgbe/base: add sgmii link for X550
ixgbe/base: fix problematic return value
ixgbe/base: add MAC link setup
to be bypassed when adding/removing a VFTA entry.
Added x550a flow control auto negotiation support.
Signed-off-by: Beilei Xing
---
doc/guides/rel_notes/release_16_07.rst | 11 +++
drivers/net/ixgbe/base/README | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git
A work around for a new crosstalk erratum that causes link flap in
entry cages has been introduced. So this patch defines the bit in
NVM that will tell software if this work around is needed.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 1 +
1 file changed, 1 insertion
ixgbe_fc_enable_generic.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.h| 2 +
drivers/net/ixgbe/base/ixgbe_common.c | 5 +-
drivers/net/ixgbe/base/ixgbe_type.h | 6 ++
drivers/net/ixgbe/base/ixgbe_x550.c | 181 ++
drivers/net/ixgbe/base/ixgbe_x550.h
-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_common.c | 40 ++-
drivers/net/ixgbe/base/ixgbe_common.h | 2 +-
2 files changed, 12 insertions(+), 30 deletions(-)
diff --git a/drivers/net/ixgbe/base/ixgbe_common.c
b/drivers/net/ixgbe/base/ixgbe_common.c
index
This patch fixes endianness issues about host interface command.
Fixes: ad66a85dce9a ("ixgbe/base: new FW values")
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_osdep.h | 1 +
drivers/net/ixgbe/bas
Since PCIe standard defines maximum of 8 functions per device lan_id
is a value 0..7. Because of that, lan_id don't need to be u16.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_common.c | 2 +-
drivers/net/ixgbe/base/ixgbe_type.h | 2 +-
2 files changed, 2 insertions(+), 2
This patch changes static keyword to STATIC definition, which can be
redefined depending on the compiler used.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 38 ++---
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers
This patch adds support for the VLVF to be bypassed when adding or
removing a VFTA entry. The PF can utilize the default pool while
preserving the VLVF for the VFs use.
Meanwhile, update corresponding VF ops and drivers where corresponding
ops is invoked.
Signed-off-by: Beilei Xing
---
drivers
This patch simplifies the adding and removing VLANs from
VFTA/VLVF/VLVFB registers. The logic to determine registers has
been simplified to (vid / 32) and (1 - vid / 32). Many conditional
paths and checks are no longer needed with this patch.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe
This patch limits getting and putting the PHY Token to PHY MDIO
access only by adding ixgbe_read_phy_reg_x550a and
ixgbe_write_phy_reg_x550a. The PHY Token is only needed to
synchronize access to the MDIO shared between the two MAC instance.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base
This patch corrects the FLA/GSCL/GSCN access offset value according
to the datasheet.
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 42 -
1 file changed, 41 insert
This patch fixes possible race issue between ports when issuing host
interface command by acquiring/releasing the management host interface
semaphore in ixgbe_host_interface_command.
Fixes: 36f43e8679ae ("ixgbe/base: refactor manageability block communication")
Signed-off-by: B
this when you know no one should be holding the
semaphore (i.e. probe time).
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.c| 14 ++
drivers/net/ixgbe/base/ixgbe_api.h| 1 +
drivers/net/ixgbe/base/ixgbe_common.c | 1 +
drivers/net/ixgbe/base/ixgbe_type.h | 1
though nothing should be attached.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_api.c | 2 ++
drivers/net/ixgbe/base/ixgbe_type.h | 7 ---
drivers/net/ixgbe/base/ixgbe_x550.c | 17 -
lib/librte_eal/common/include
It adds new phy definitions.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_phy.c | 16 +-
drivers/net/ixgbe/base/ixgbe_type.h | 14 +-
drivers/net/ixgbe/base/ixgbe_x550.c | 303 ++--
drivers/net/ixgbe/base/ixgbe_x550.h | 43 +
4 files
This patch adds ixgbe_read_mng_if_sel_x550em to read NW_MNG_IF_SEL
register and save fields such as PHY MDIO_ADD.
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_type.h | 2 ++
drivers/net/ixgbe/base/ixgbe_x550.c | 48 +++--
2 files changed, 32
This patch fixes firmware commands on x550em_a. For one thing,
the checksum value was not being set.
Fixes: 0790adeb5675 ("ixgbe/base: support X550em_a device")
Signed-off-by: Beilei Xing
---
drivers/net/ixgbe/base/ixgbe_x550.c | 19 ++-
1 file changed, 10 insert
1 - 100 of 155 matches
Mail list logo