#
6d13ea8e |
| 21-May-2019 |
Olivier Matz <olivier.matz@6wind.com> |
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_
net: add rte prefix to ether structures
Add 'rte_' prefix to structures: - rename struct ether_addr as struct rte_ether_addr. - rename struct ether_hdr as struct rte_ether_hdr. - rename struct vlan_hdr as struct rte_vlan_hdr. - rename struct vxlan_hdr as struct rte_vxlan_hdr. - rename struct vxlan_gpe_hdr as struct rte_vxlan_gpe_hdr.
Do not update the command line library to avoid adding a dependency to librte_net.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
show more ...
|
#
6c0cc77a |
| 23-Apr-2019 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: fix MTU change to check Rx scatter consistency
Rx queue setup function checks configured MTU to make sure that no oversized packets can be received. But a following call to set MTU function
net/sfc: fix MTU change to check Rx scatter consistency
Rx queue setup function checks configured MTU to make sure that no oversized packets can be received. But a following call to set MTU function might make this check irrelevant.
Add a function to check MTU size against Rx buffer size and additional Rx queue info, including Rx scatter offload.
Fixes: e961cf425e02 ("net/sfc: support MTU change") Cc: stable@dpdk.org
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
bac46c6f |
| 08-Apr-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: set min and max MTU
Advertise minimum and maximum MTU value in device information.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
07685524 |
| 02-Apr-2019 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: support Tx preparation in EFX datapath
Implement generic checks in Tx prepare function and update Tx burst function accordingly.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Sig
net/sfc: support Tx preparation in EFX datapath
Implement generic checks in Tx prepare function and update Tx burst function accordingly.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
cf6a73fc |
| 19-Mar-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: fix speed capabilities reported in device info
Phy capabilities are bit offsets in libefx, but was used as bit masks.
Fixes: d23f3a89ab54 ("net/sfc: support link speed and duplex settings"
net/sfc: fix speed capabilities reported in device info
Phy capabilities are bit offsets in libefx, but was used as bit masks.
Fixes: d23f3a89ab54 ("net/sfc: support link speed and duplex settings") Fixes: f82e33afbbb9 ("net/sfc: support link speeds up to 100G") Cc: stable@dpdk.org
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
048a0d1a |
| 07-Feb-2019 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: use NIC Rx descs limits instead of defines
Descriptor limits are not common for all NIC families. Use the variables from NIC configuration instead of deprecated defines.
Signed-off-by: Igo
net/sfc: use NIC Rx descs limits instead of defines
Descriptor limits are not common for all NIC families. Use the variables from NIC configuration instead of deprecated defines.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
9dbd28df |
| 07-Feb-2019 |
Igor Romanov <igor.romanov@oktetlabs.ru> |
net/sfc: use NIC min number of Tx descs instead of define
Min limit is not common for all NIC families. Use the variable from NIC configuration instead of deprecated define.
Signed-off-by: Igor Rom
net/sfc: use NIC min number of Tx descs instead of define
Min limit is not common for all NIC families. Use the variable from NIC configuration instead of deprecated define.
Signed-off-by: Igor Romanov <igor.romanov@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
2646d42f |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support Rx packet types get in secondary process
Secondary process needs to know packet classes supported by the NIC on Rx.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
5313b441 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: separate adapter primary process and shared data
Make sfc_adapter primary process only.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
bc932893 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove adapter locks from secondary process ops
Adapter lock will become primary process only.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
e0d5ba7e |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move isolated flag in adapter shared
The flag is required in default RSS RETA get which does not make sense in isolated mode.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
e295f175 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move RSS config to adapter shared
RSS get requests are supported in secondary process.
Prepare to make sfc_adapter primary process private data.
Signed-off-by: Andrew Rybchenko <arybchenk
net/sfc: move RSS config to adapter shared
RSS get requests are supported in secondary process.
Prepare to make sfc_adapter primary process private data.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
113a14a6 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move TxQ shared information to adapter shared
Prepare to make sfc_adapter primary process private data.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
dda791c2 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move RxQ shared information to adapter shared
Prepare to make sfc_adapter primary process private data.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
36653b7d |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: make main logging macro reusable in secondary
Logging should be supported in secondary process and now we have everything required to share at least main logging macro. sfc_adapter is going
net/sfc: make main logging macro reusable in secondary
Logging should be supported in secondary process and now we have everything required to share at least main logging macro. sfc_adapter is going to become primary process only.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
50f34eed |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move Rx/Tx datapath names to shared state
Prepare to make sfc_adapter primary process private data.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
1d3c7f9c |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: start to factor out multi-process shared data
sfc_adapter structure will become primary process only private data. Start to factor out shared data into dedicated structure which will become
net/sfc: start to factor out multi-process shared data
sfc_adapter structure will become primary process only private data. Start to factor out shared data into dedicated structure which will become separate structure finally.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
29e4237d |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove TxQ control from shared TxQ info
libefx is not multi-process aware and all related structures should be moved to primary process only.
Signed-off-by: Andrew Rybchenko <arybchenko@so
net/sfc: remove TxQ control from shared TxQ info
libefx is not multi-process aware and all related structures should be moved to primary process only.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
4e8938dd |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove RxQ control from shared RxQ info
libefx is not multi-process aware and all related structures should be moved to primary process only.
Signed-off-by: Andrew Rybchenko <arybchenko@so
net/sfc: remove RxQ control from shared RxQ info
libefx is not multi-process aware and all related structures should be moved to primary process only.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
dbe26517 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove unnecessary functions to get TxQ index
TxQ index is stored in generic datapath queue structure.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
9f25da76 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: remove unnecessary functions to get RxQ index
RxQ index is stored in generic datapath queue structure.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
|
#
128da692 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support RSS RETA and hash config get in secondary
RSS RETA query and hash configuration get functions use shared adapter data only. No libefx functions are called.
Signed-off-by: Andrew Ry
net/sfc: support RSS RETA and hash config get in secondary
RSS RETA query and hash configuration get functions use shared adapter data only. No libefx functions are called.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
3cf4b9c2 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support Tx descriptor status in secondary process
If Tx datapath supports multi-process, secondary process should be able to use Tx descriptor status API.
Signed-off-by: Andrew Rybchenko <
net/sfc: support Tx descriptor status in secondary process
If Tx datapath supports multi-process, secondary process should be able to use Tx descriptor status API.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
42ce2521 |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: move datapath TxQ handle to shared TxQ info
If datapath supports multi-process, it should be possible to get its TxQ structure by the queue index.
Signed-off-by: Andrew Rybchenko <arybchen
net/sfc: move datapath TxQ handle to shared TxQ info
If datapath supports multi-process, it should be possible to get its TxQ structure by the queue index.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
b76e1b2c |
| 07-Feb-2019 |
Andrew Rybchenko <arybchenko@solarflare.com> |
net/sfc: support Rx descriptor status in secondary process
If Rx datapath supports multi-process, secondary process should be able to use Rx descriptor status and related API.
Signed-off-by: Andrew
net/sfc: support Rx descriptor status in secondary process
If Rx datapath supports multi-process, secondary process should be able to use Rx descriptor status and related API.
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|