VF.
Signed-off-by: azelezniak
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_pf.c | 39 ++-
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c
index 56393ff..bb14106 100644
--
.
add ixgbe_set_tx_loopback function.
add ixgbe_set_all_queues_drop function.
add ixgbe_set_vf_split_drop_en function.
add ixgbe_set_vf_mac_addr function.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 179 +++
1 file changed, 179 insertions(+)
.
add rte_eth_dev_set_vf_vlan_insert function.
add rte_eth_dev_set_loopback function.
add rte_eth_dev_set_all_queues_drop function.
add rte_eth_dev_set_vf_split_drop_en function
add rte_eth_dev_set_vf_mac_addr function.
increment LIBABIVER to 5.
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c
stpmd guide
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 700
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 68 ++-
2 files changed, 766 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
modify ixgbe_dcb_tx_hw_config function.
modify ixgbe_dev_mq_rx_configure function.
modify ixgbe_configure_dcb function.
Signed-off-by: Rahul R Shah
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 9 -
drivers/net/ixgbe/ixgbe_rxtx.c | 37
reakage.
Changes in V2:
rebase to latest master branch.
fix compile error with clang.
Bernard Iremonger (5):
librte_ether: add internal callback functions
net/ixgbe: add callback to user app on VF to PF mbox msg
librte_ether: add API's for VF management
net/ixgbe: add functions for
.
Signed-off-by: azelezniak
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c | 17 ++
lib/librte_ether/rte_ethdev.h | 61 ++
lib/librte_ether/rte_ether_version.map | 7
3 files changed, 85 insertions(+)
diff --git a
VF.
Signed-off-by: azelezniak
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_pf.c | 39 ++-
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_pf.c b/drivers/net/ixgbe/ixgbe_pf.c
index 56393ff..bb14106 100644
--
.
add rte_eth_dev_set_vf_vlan_insert function.
add rte_eth_dev_set_loopback function.
add rte_eth_dev_set_all_queues_drop function.
add rte_eth_dev_set_vf_split_drop_en function
add rte_eth_dev_set_vf_mac_addr function.
increment LIBABIVER to 5.
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c
.
add ixgbe_set_tx_loopback function.
add ixgbe_set_all_queues_drop function.
add ixgbe_set_vf_split_drop_en function.
add ixgbe_set_vf_mac_addr function.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 179 +++
1 file changed, 179 insertions(+)
stpmd guide
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 700
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 68 ++-
2 files changed, 766 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
These patches fix segmentation faults which were occurring when
slave devices were detached before being removed from the bonding
device.
The slave devices must now be removed from the bonding device
before they can be detached.
The bonding device cannot be detached now until all slave devices
have
yer")
Fixes: b1fb53a39d88 ("ethdev: remove some PCI specific handling")
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_api.c | 33 +++--
lib/librte_ether/rte_ethdev.c | 8 ++--
lib/librte_ether/rte_ethdev.h |
Check that the bonded device has no slaves before detaching it.
Fixes: 8d30fe7fa737 ("bonding: support port hotplug")
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_api.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/drivers/n
.
Take all spinlocks in slave add and remove functions.
Replace readlocks with spinlocks.
Bernard Iremonger (6):
bonding: add spinlock to rx and tx queues
bonding: grab queue spinlocks in slave add and remove
bonding: take queue spinlock in rx/tx burst functions
bonding: add spinlock to stop
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 4
drivers/net/bonding/rte_eth_bond_private.h | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_api.c | 52 --
1 file changed, 49 insertions(+), 3 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_api.c
b/drivers/net/bonding/rte_eth_bond_api.c
index 53df9fe..006c901 100644
--- a
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 116 -
1 file changed, 84 insertions(+), 32 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index 2e624bb..93043ef 100644
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index 93043ef..55b37a5 100644
--- a/drivers/net/bonding
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index 55b37a5..474bfcc 100644
--- a/drivers/net/bonding/rte_eth_bond_pmd.c
+++ b
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 71 ++
1 file changed, 28 insertions(+), 43 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
index 474bfcc..d952658 100644
ned-off-by: Bernard Iremonger
---
Changes in v8:
revise commit message.
Changes in v7:
restore nb_rxq and nb_txq setting when max_vfs is 0
app/test-pmd/testpmd.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
ind
ation")
Signed-off-by: Bernard Iremonger
---
Changes in v9:
when max_vfs is greater then 0, set nb_rxq and nb_txq to
dev_info.nb_rx_queues and dev_info.nb_tx_queues.
Changes in v8:
revise commit message.
Changes in v7:
restore nb_rxq and nb_txq setting when max_vfs is 0
app/test-pmd/tes
In the Testpmd Flow rules management section, correct
the TPID values in the Sample QinQ flow rules sub section.
Fixes: bef3bfe7d5f4 ("doc: revise sample testpmd flow commands")
Cc: sta...@dpdk.org
Signed-off-by: Bernard Iremonger
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst |
In the Testpmd Flow rules management section, correct
the TPID values in the Sample QinQ flow rules sub section.
Also replace the keyword qinq_strip with extend in the
vlan set command.
Fixes: bef3bfe7d5f4 ("doc: revise sample testpmd flow commands")
Cc: sta...@dpdk.org
Signed-off-b
in v3:
Rebased to latest master.
Submitted as a seperate patchset.
Moved the response enums from the ethdev to the ixgbe PMD.
Changes in v2:
Rebased to latest master.
Bernard Iremonger (2):
librte_ether: add internal callback functions
net/ixgbe: add callback to user app on VF to PF mbox msg
dr
.
Signed-off-by: Alex Zelezniak
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c | 17 +
lib/librte_ether/rte_ethdev.h | 44 ++
lib/librte_ether/rte_ether_version.map | 2 ++
3 files changed, 63 insertions(+)
diff
NAK to VF.
Signed-off-by: Alex Zelezniak
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_pf.c | 42 +--
drivers/net/ixgbe/rte_pmd_ixgbe.h | 17
2 files changed, 53 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ix
e PMD.
Changes in v3:
Rebased to latest master.
Submitted as a seperate patchset.
Moved the response enums from the ethdev to the ixgbe PMD.
Changes in v2:
Rebased to latest master.
Bernard Iremonger (13):
librte_ether: modify internal callback function
net/ixgbe: add callback to
: Alex Zelezniak
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c | 5 -
lib/librte_ether/rte_ethdev.h | 7 ++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index c517e88..416ca77 100644
--- a
to VF.
Signed-off-by: Alex Zelezniak
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++--
drivers/net/ixgbe/ixgbe_pf.c | 42 +--
drivers/net/ixgbe/rte_pmd_ixgbe.h | 17
3 files changed, 55 insertions(+)
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
app/test/virtual_pmd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c
index 4831113..65b44c6 100644
--- a/app/test
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding/rte_eth_bond_pmd.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c
b/drivers/net/bonding/rte_eth_bond_pmd.c
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/e1000/em_ethdev.c | 2 +-
drivers/net/e1000/igb_ethdev.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 4 ++--
drivers/net/i40e/i40e_ethdev_vf.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/mlx4/mlx4.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index 1553b2e..3e57cca 100644
--- a/drivers/net
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/mlx5/mlx5_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c
index bf4232a..c76e754
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/nfp/nfp_net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/nfp/nfp_net.c b/drivers/net/nfp/nfp_net.c
index d526f34..a2b9056 100644
--- a/drivers
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/thunderx/nicvf_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/thunderx/nicvf_ethdev.c
b/drivers/net/thunderx/nicvf_ethdev.c
index b758c9f
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/vhost/rte_eth_vhost.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index 409e090
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtio_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/virtio/virtio_ethdev.c
b/drivers/net/virtio/virtio_ethdev.c
index b4dfc0a
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
---
drivers/net/enic/enic_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index 15a05b4..fb72491 100644
--- a
e PMD.
Changes in v2:
Rebased to latest master.
Bernard Iremonger (2):
librte_ether: modify internal callback function
net/ixgbe: add callback to user app on VF to PF mbox msg
app/test/virtual_pmd.c | 2 +-
drivers/net/bonding/rte_eth_bond_pmd.c | 6 ++---
dr
n
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
Signed-off-by: Alex Zelezniak
---
app/test/virtual_pmd.c | 2 +-
drivers/net/bonding/rte_eth_bond_pmd.c | 6 +++---
drivers/net/e1000/em_ethdev.c | 2 +-
drivers/net/
to VF.
Signed-off-by: Alex Zelezniak
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++--
drivers/net/ixgbe/ixgbe_pf.c | 42 +--
drivers/net/ixgbe/rte_pmd_ixgbe.h | 17
3 files changed, 55 insertions(+)
r branch.
drop patches for callback functions
revise VF id checks in new librte_ether functions
revise testpmd commands for new API's
Changes in V2:
rebase to latest master branch.
fix compile error with clang.
Bernard Iremonger (2):
net/ixgbe: add API's for VF management
app/test_pmd: add
ction.
add rte_pmd_ixgbe_set_tx_loopback function.
add rte_pmd_ixgbe_set_all_queues_drop function.
add rte_pmd_ixgbe_set_vf_split_drop_en function.
add rte_pmd_ixgbe_set_vf_mac_addr function.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/Makefile | 4 +-
drivers/net/ixgbe/ixgb
;s to the testpmd guide
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c | 675
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 62 ++-
2 files changed, 734 insertions(+), 3 deletions(-)
diff --git a/app/test-pmd/cmdline.c b/app/tes
cture from the ethdev to the ixgbe PMD.
Changes in v3:
Rebased to latest master.
Submitted as a seperate patchset.
Moved the response enums from the ethdev to the ixgbe PMD.
Changes in v2:
Rebased to latest master.
Bernard Iremonger (2):
librte_ether: modify internal callback function
net/
ction
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
Signed-off-by: Alex Zelezniak
---
app/test/virtual_pmd.c | 2 +-
drivers/net/bonding/rte_eth_bond_pmd.c | 6 +++---
drivers/net/e1000/em_ethdev.c | 2 +-
driver
to VF.
Signed-off-by: Alex Zelezniak
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_pf.c | 42 +--
drivers/net/ixgbe/rte_pmd_ixgbe.h | 20 +++
2 files changed, 56 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ix
ixgbe PMD.
Changes in v2:
Rebased to latest master.
Bernard Iremonger (2):
librte_ether: modify internal callback function
net/ixgbe: add callback to user app on VF to PF mbox msg
app/test/virtual_pmd.c | 2 +-
drivers/net/bonding/rte_eth_bond_pmd.c | 6 ++---
drivers/net/
ction
add parameter to call of _rte_eth_dev_callback_process function
Signed-off-by: Bernard Iremonger
Signed-off-by: Alex Zelezniak
---
app/test/virtual_pmd.c | 2 +-
drivers/net/bonding/rte_eth_bond_pmd.c | 6 +++---
drivers/net/e1000/em_ethdev.c | 2 +-
driver
to VF.
Signed-off-by: Alex Zelezniak
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_pf.c | 42 +--
drivers/net/ixgbe/rte_pmd_ixgbe.h | 20 +++
2 files changed, 56 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ix
md commands for new API's
Changes in V2:
rebase to latest master branch.
fix compile error with clang.
Bernard Iremonger (2):
net/ixgbe: add API's for VF management
app/test_pmd: add tests for new API's
app/test-pmd/Makefile |
ction.
add rte_pmd_ixgbe_set_tx_loopback function.
add rte_pmd_ixgbe_set_all_queues_drop function.
add rte_pmd_ixgbe_set_vf_split_drop_en function.
add rte_pmd_ixgbe_set_vf_mac_addr function.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/Makefile | 4 +-
drivers/net/ixgbe/ixgb
;s to testpmd help command.
add new API's to the testpmd guide
modify Makefile, add library rte_pmd_ixgbe to LDLIBS.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/Makefile | 11 +
app/test-pmd/cmdline.c | 699 +++-
ack functions
revise VF id checks in new librte_ether functions
revise testpmd commands for new API's
Changes in V2:
rebase to latest master branch.
fix compile error with clang.
Bernard Iremonger (2):
net/ixgbe: add API's for VF management
app/test_pmd: add tests for new API's
app/test-p
ction.
add rte_pmd_ixgbe_set_tx_loopback function.
add rte_pmd_ixgbe_set_all_queues_drop function.
add rte_pmd_ixgbe_set_vf_split_drop_en function.
add rte_pmd_ixgbe_set_vf_mac_addr function.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/Makefile | 4 +-
drivers/net/ixgbe/ixgb
;s to testpmd help command.
add new API's to the testpmd guide
modify Makefile, add library rte_pmd_ixgbe to _LDLIBS-y.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/Makefile | 2 +
app/test-pmd/cmdline.c | 699 +++-
modify ixgbe_dcb_tx_hw_config function.
modify ixgbe_dev_mq_rx_configure function.
modify ixgbe_configure_dcb function.
Changes in v2:
Rebased to DPDK v16.11-rc1
Signed-off-by: Rahul R Shah
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 9 -
drivers/net/ixgbe
Update two rst files to announce ixgbe PMD API's
Bernard Iremonger (2):
doc: update ixgbe guide
doc: update poll mode driver guide
doc/guides/nics/ixgbe.rst | 7 ++-
doc/guides/prog_guide/poll_mode_drv.rst | 6 ++
2 files changed, 12 insertions(+), 1 del
add information about new ixgbe PMD API.
Signed-off-by: Bernard Iremonger
---
doc/guides/nics/ixgbe.rst | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst
index ed260c4..3b6851b 100644
--- a/doc/guides/nics/ixgbe.rst
add information about new ixgbe PMD API.
Signed-off-by: Bernard Iremonger
---
doc/guides/prog_guide/poll_mode_drv.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/doc/guides/prog_guide/poll_mode_drv.rst
b/doc/guides/prog_guide/poll_mode_drv.rst
index bf3ea9f..3a400b2 100644
--- a
.
Changes in V2:
Added call to dev_close() in dev_uninit() functions.
Removed input parameter checks from dev_uninit() functions.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe/ixgbe_ethdev.c | 107 --
drivers/net/ixgbe/ixgbe_ethdev.h |2 +
drivers
This patch set depends on the Port Hotplug Framework.
It implements the eth_dev_uninit functions for rte_i40e_pmd and
rte_i40evf_pmd.
It also includes fixes for several issues encountered.
Bernard Iremonger (5):
i40e: changes to support PCI Port Hotplug
i40e: release vmdq vsi's in dev_
: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 79 -
drivers/net/i40e/i40e_ethdev_vf.c | 57 ++-
drivers/net/i40e/i40e_pf.c| 34
drivers/net/i40e/i40e_pf.h|1 +
4 files changed, 169
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 7bf9532..55fee6b 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers
_clear_cmd() was not being called in failure situations,
resulting in the next command also failing.
Fix several typos.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index f5af186..a921b5b 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b
Increase delay to avoid i40evf_read_pfmsg() failures.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 71740dc..3f29498
queues in eth_igb_dev_uninit.
Changes in V2:
Call dev_close() from dev_uninit() functions.
Remove input parameter checking from dev_uninit() functions.
Signed-off-by: Bernard Iremonger
---
drivers/net/e1000/e1000_ethdev.h |4 +-
drivers/net/e1000/em_ethdev.c| 50
Signed-off-by: Bernard Iremonger
---
doc/guides/nics/virtio.rst |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/guides/nics/virtio.rst b/doc/guides/nics/virtio.rst
index 9f18b3a..200a8be 100644
--- a/doc/guides/nics/virtio.rst
+++ b/doc/guides/nics/virtio.rst
Several kni command lines did not work.
The patches below fix the command lines.
Bernard Iremonger (2):
doc: correct kni command line in virtio chapter
doc: fix kni command line in Kernel NIC Interface chapter
doc/guides/nics/virtio.rst |4 ++--
doc/guides/prog_guide
Signed-off-by: Bernard Iremonger
---
doc/guides/prog_guide/kernel_nic_interface.rst |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/guides/prog_guide/kernel_nic_interface.rst
b/doc/guides/prog_guide/kernel_nic_interface.rst
index fb12d43..713d30b 100644
--- a
Signed-off-by: Bernard Iremonger
---
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 96 +++
1 files changed, 82 insertions(+), 14 deletions(-)
diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 761172e..fef3ceb
Changes in V3:
Modified testpmd to handle attach/detach of bonding pmd.
Bernard Iremonger (2):
bonding: add support for PCI Port Hotplug
test-pmd: modified testpmd for link_bonding
app/test-pmd/cmdline.c |4 +-
app/test-pmd/testpmd.c | 24
This patch depends on the Port Hotplug Framework.
It implements the rte_dev_uninit_t() function for the link bonding pmd.
Changes in V2:
Rebased to use drivers/net/bonding dirctory
Free rx and tx queues following comments from Declan
Signed-off-by: Bernard Iremonger
---
drivers/net/bonding
When the bonded port is started it also starts the slave port,
but the slave port status is not set. A slave_flag has been
added to struct rte_port to resolve this issue.
Changes in V3:
test-pmd changes added to patchset.
Signed-off-by: Bernard Iremonger
---
app/test-pmd/cmdline.c |4
This patchset contains changes to add support for
PCI port hotplug.
It also contains a fix to virtqueuq_detach_unused().
Bernard Iremonger (2):
virtio: add support for PCI Port Hotplug
virtio: check vq parameter
drivers/net/virtio/virtio_ethdev.c | 83
This patch depends on the Port Hotplug Framework.
It implements the eth_dev_uninit_t() function for virtio pmd.
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtio_ethdev.c | 83 +---
1 files changed, 76 insertions(+), 7 deletions(-)
diff --git a
If vq is NULL, there is a segmentation fault.
Signed-off-by: Bernard Iremonger
---
drivers/net/virtio/virtqueue.c | 14 --
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/net/virtio/virtqueue.c b/drivers/net/virtio/virtqueue.c
index 8a3005f..7f60e3e 100644
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 6e2030c..58b18d0 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers
Increase delay to avoid i40evf_read_pfmsg() failures.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index ed320e1..7a6480a
Changes in V4:
added patch 6 to fix segmentation fault reported by Michael Qiu.
Bernard Iremonger (6):
i40e: changes to support PCI Port Hotplug
i40e: release vmdq vsi's in dev_close
i40e: increase ASQ_DELAY_MS to 100 in i40evf_wait_cmd_done()
i40e: call _clear_cmd() when error o
use drivers/net/i40e directory.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 79 -
drivers/net/i40e/i40e_ethdev_vf.c | 57 ++-
drivers/net/i40e/i40e_pf.c| 34
drivers/net/i40e
_clear_cmd() was not being called in failure situations,
resulting in the next command also failing.
Fix several typos.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e
Changes in V3:
This patch added.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 1b9362f..26d0502 100644
--- a/drivers/net
There is a segmentation fault if rxq is NULL
Changes in V4:
This patch added.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_rxtx.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index 2de0ac4
.
Changes in V3:
Add igb_adapter_stopped and em_adapter_stopped booleans.
Release rx and tx queues in eth_igb_dev_uninit.
Changes in V2:
Call dev_close() from dev_uninit() functions.
Remove input parameter checking from dev_uninit() functions.
Signed-off-by: Bernard Iremonger
---
drivers/net
in vf uninit function.
Rebase to use latest i40e code.
Changes in V2:
Rebase to use drivers/net/i40e directory.
Bernard Iremonger (6):
i40e: changes to support PCI Port Hotplug
i40e: release vmdq vsi's in dev_close
i40e: increase ASQ_DELAY_MS to 100 in i40evf_wait_cmd_done()
i40e:
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 9ae68d6..4661436 100644
--- a/drivers/net/i40e/i40e_ethdev.c
+++ b/drivers
Increase delay from 50 * 10 to 100 * 20 to avoid i40evf_read_pfmsg() failures.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev_vf.c
b/drivers/net/i40e/i40e_ethdev_vf.c
index 6f3ecff..f0ddfed 100644
--- a/drivers/net/i40e/i40e_ethdev_vf.c
+++ b
There is a segmentation fault if rxq is NULL
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_rxtx.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/drivers/net/i40e/i40e_rxtx.c b/drivers/net/i40e/i40e_rxtx.c
index 2de0ac4..2a89e84 100644
--- a/drivers/net
This patch depends on the Port Hotplug Framework.
It implements the eth_dev_uninit functions for rte_i40e_pmd and
rte_i40evf_pmd.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev.c| 81 -
drivers/net/i40e/i40e_ethdev_vf.c | 59
_clear_cmd() was not being called in failure situations,
resulting in the next command also failing.
Fix several typos.
Signed-off-by: Bernard Iremonger
---
drivers/net/i40e/i40e_ethdev_vf.c | 11 +++
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/net/i40e
parameter checking from dev_uninit() functions.
Signed-off-by: Bernard Iremonger
---
drivers/net/e1000/e1000_ethdev.h |8 ++-
drivers/net/e1000/em_ethdev.c| 59 ++-
drivers/net/e1000/igb_ethdev.c | 119 +-
drivers/net/e1000/igb_pf.c
() functions.
Replace TRUE and FALSE with 1 and 0.
Changes in V3:
Rebased to use drivers/net/ixgbe directory.
Changes in V2:
Added call to dev_close() in dev_uninit() functions.
Removed input parameter checks from dev_uninit() functions.
Signed-off-by: Bernard Iremonger
---
drivers/net/ixgbe
Signed-off-by: Bernard Iremonger
---
lib/librte_ether/rte_ethdev.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c
index e13fde5..2404556 100644
--- a/lib/librte_ether/rte_ethdev.c
+++ b/lib
901 - 1000 of 1001 matches
Mail list logo