Skip to contentSkip to conversation

IPSEC: No IPv6 SP Inbound rule specified

dpdk-dev satyavalli rama 2 participants 4 messages Sep 22, 2020 – Sep 26, 2020 4 messages not in the archive

lore
Share & tools
lore
#4 lore raw
In reply to a message not in the archive

Hi Anoob and DPDK Dev Team,

Quoted 79 lines

------>While we are running the ipsec-secgw application. We are getting following error:

IPSEC: No IPv6 SP Inbound rule specified
IPSEC: No IPv6 SP Outbound rule specified
Creating IPv4 Routing Table (RT) context with 1024 max routes
LPM: Adding route 192.168.122.0/24 (1)

------>Below are the steps we've performed..

Since we don't have IXGBE driver in the virtual machines. we used SRIOV to import the IXGBE NIC's (Virtual function) from host(Physical function). We refered the below link for SRIOV:

https://software.intel.com/content/www/us/en/develop/articles/configure-sr-iov-network-virtual-functions-in-linux-kvm.html

This the info after importing IXGBE NIC's into virtual machine:
-----------> ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:bd:f7:ce brd ff:ff:ff:ff:ff:ff
3: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:e5:35:b5 brd ff:ff:ff:ff:ff:ff
4: ens12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:14:ce:7c brd ff:ff:ff:ff:ff:ff
5: ens13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:d0:73:4c brd ff:ff:ff:ff:ff:ff

6: ens3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000

    link/ether 96:42:49:cd:9c:61 brd ff:ff:ff:ff:ff:ff
 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
7: ens11: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
    link/ether 3e:f5:92:ef:9e:16 brd ff:ff:ff:ff:ff:ff

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

8: ens10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:51:ee:74 brd ff:ff:ff:ff:ff:ff
9: ens14: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:da:08:cb brd ff:ff:ff:ff:ff:ff
10: ens15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:31:7c:6f brd ff:ff:ff:ff:ff:ff

------>While we are running the ipsec-secgw application. We are getting following error:

IPSEC: No IPv6 SP Inbound rule specified
IPSEC: No IPv6 SP Outbound rule specified
Creating IPv4 Routing Table (RT) context with 1024 max routes
LPM: Adding route 192.168.122.0/24 (1)

Checking link

status..........................................................................................done Port 0 Link Down

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Port 1 Link Down

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

IPSEC: entering main loop on lcore 0
IPSEC:  -- lcoreid=0 portid=0 rxqueueid=0
IPSEC:  -- lcoreid=0 portid=1 rxqueueid=0

Please find the attachment which contain console logs.

Thanks and Regards

#5 lore raw
Quoted 7 lines

Hi Anoob and DPDK Dev Team,

Quoted 5 lines

------>While we are running the ipsec-secgw application. We are getting following error:

IPSEC: No IPv6 SP Inbound rule specified
IPSEC: No IPv6 SP Outbound rule specified

Wonder what makes you think it is an error?
It is just a message saying that you don't have SP rules for IPv6.... If you don't plan to process ipv6 traffic that is probably ok.

Quoted 74 lines
Quoted 74 lines

Creating IPv4 Routing Table (RT) context with 1024 max routes
LPM: Adding route 192.168.122.0/24 (1)

------>Below are the steps we've performed..

Since we don't have IXGBE driver in the virtual machines. we used SRIOV to import the IXGBE NIC's (Virtual function) from host(Physical function). We refered the below link for SRIOV:

https://software.intel.com/content/www/us/en/develop/articles/configure-sr-iov-network-virtual-functions-in-linux-kvm.html

This the info after importing IXGBE NIC's into virtual machine:
-----------> ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:bd:f7:ce brd ff:ff:ff:ff:ff:ff
3: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:e5:35:b5 brd ff:ff:ff:ff:ff:ff
4: ens12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:14:ce:7c brd ff:ff:ff:ff:ff:ff
5: ens13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:d0:73:4c brd ff:ff:ff:ff:ff:ff

6: ens3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000

    link/ether 96:42:49:cd:9c:61 brd ff:ff:ff:ff:ff:ff
 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
7: ens11: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
    link/ether 3e:f5:92:ef:9e:16 brd ff:ff:ff:ff:ff:ff

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

8: ens10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:51:ee:74 brd ff:ff:ff:ff:ff:ff
9: ens14: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:da:08:cb brd ff:ff:ff:ff:ff:ff
10: ens15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:31:7c:6f brd ff:ff:ff:ff:ff:ff

------>While we are running the ipsec-secgw application. We are getting following error:

IPSEC: No IPv6 SP Inbound rule specified
IPSEC: No IPv6 SP Outbound rule specified
Creating IPv4 Routing Table (RT) context with 1024 max routes
LPM: Adding route 192.168.122.0/24 (1)

Checking link

status..........................................................................................done Port 0 Link Down

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Port 1 Link Down

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

IPSEC: entering main loop on lcore 0
IPSEC:  -- lcoreid=0 portid=0 rxqueueid=0
IPSEC:  -- lcoreid=0 portid=1 rxqueueid=0

Please find the attachment which contain console logs.

Thanks and Regards

#6 lore raw

[dpdk-dev] Port 0 Link Down eerror

Sorry it was a drafting error

Even the nics are up and after binded to Dpdk it is saying

Checking link status...................................................... ....................................done
Port 0 Link Down <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Port 1 Link Down <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

IPSEC: entering main loop on lcore 0
IPSEC:  -- lcoreid=0 portid=0 rxqueueid=0
IPSEC:  -- lcoreid=0 portid=1 rxqueueid=0
Quoted 101 lines · Konstantin,
Quoted 7 lines

Hi Anoob and DPDK Dev Team,

Quoted 5 lines

------>While we are running the ipsec-secgw application. We are getting following error:

IPSEC: No IPv6 SP Inbound rule specified
IPSEC: No IPv6 SP Outbound rule specified

Wonder what makes you think it is an error?
It is just a message saying that you don't have SP rules for IPv6.... If you don't plan to process ipv6 traffic that is probably ok.

Quoted 6 lines
Quoted 6 lines

Creating IPv4 Routing Table (RT) context with 1024 max routes
LPM: Adding route 192.168.122.0/24 (1)

------>Below are the steps we've performed..

Since we don't have IXGBE driver in the virtual machines. we used

SRIOV to

Quoted 4 lines
Quoted 4 lines

import the IXGBE NIC's (Virtual function) from host(Physical function). We refered the below link for SRIOV:

https://software.intel.com/content/www/us/en/develop/articles/configure-sr-iov-network-virtual-functions-in-linux-kvm.html

Quoted 4 lines
Quoted 4 lines

This the info after importing IXGBE NIC's into virtual machine:
-----------> ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN

mode

Quoted 3 lines
Quoted 3 lines

DEFAULT group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

2: ens8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast

state

Quoted 3 lines
Quoted 3 lines

UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:bd:f7:ce brd ff:ff:ff:ff:ff:ff

3: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast

state

Quoted 3 lines
Quoted 3 lines

UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:e5:35:b5 brd ff:ff:ff:ff:ff:ff

4: ens12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast

state

Quoted 3 lines
Quoted 3 lines

UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:14:ce:7c brd ff:ff:ff:ff:ff:ff

5: ens13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast

state

Quoted 4 lines
Quoted 4 lines

UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:d0:73:4c brd ff:ff:ff:ff:ff:ff

6: ens3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state

DOWN

Quoted 4 lines
Quoted 4 lines

mode DEFAULT group default qlen 1000

    link/ether 96:42:49:cd:9c:61 brd ff:ff:ff:ff:ff:ff

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
7: ens11: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state

DOWN

Quoted 6 lines
Quoted 6 lines

mode DEFAULT group default qlen 1000

    link/ether 3e:f5:92:ef:9e:16 brd ff:ff:ff:ff:ff:ff

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

8: ens10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast

state

Quoted 3 lines
Quoted 3 lines

UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:51:ee:74 brd ff:ff:ff:ff:ff:ff

9: ens14: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast

state

Quoted 9 lines
Quoted 9 lines

UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:da:08:cb brd ff:ff:ff:ff:ff:ff
10: ens15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:31:7c:6f brd ff:ff:ff:ff:ff:ff

------>While we are running the ipsec-secgw application. We are getting following error:

Quoted 8 lines
Quoted 8 lines

IPSEC: No IPv6 SP Inbound rule specified
IPSEC: No IPv6 SP Outbound rule specified
Creating IPv4 Routing Table (RT) context with 1024 max routes
LPM: Adding route 192.168.122.0/24 (1)

Checking link

status..........................................................................................done

Quoted 3 lines
Quoted 3 lines

Port 0 Link Down

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Quoted 3 lines
Quoted 3 lines

Port 1 Link Down

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

Quoted 8 lines
Quoted 8 lines
IPSEC: entering main loop on lcore 0
IPSEC:  -- lcoreid=0 portid=0 rxqueueid=0
IPSEC:  -- lcoreid=0 portid=1 rxqueueid=0

Please find the attachment which contain console logs.

Thanks and Regards

#7 lore raw

[dpdk-dev] Port Link Down Error while ruining Dpdk ipsec-secgw application

In reply to a message not in the archive

Hi Anoob and DPDK Dev Team,

Please guide us resolve the issue..

While running the ipsec-secgw application the ports are getting down and it is throwing

------>Port Link Down Error

We are doing the below steps:

Since we don't have IXGBE driver in the virtual machines. we used SRIOV to import the IXGBE NIC's (Virtual function) from host(Physical function). We refered the below link for SRIOV:
https://software.intel.com/content/www/us/en/develop/articles/configure-sr-iov-network-virtual-functions-in-linux-kvm.html

This the info after importing IXGBE NIC's into virtual machine:
-----------> ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000

    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:bd:f7:ce brd ff:ff:ff:ff:ff:ff
3: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:e5:35:b5 brd ff:ff:ff:ff:ff:ff
4: ens12: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:14:ce:7c brd ff:ff:ff:ff:ff:ff
5: ens13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:d0:73:4c brd ff:ff:ff:ff:ff:ff

6: ens3: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000

    link/ether 96:42:49:cd:9c:61 brd ff:ff:ff:ff:ff:ff
 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
7: ens11: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
mode DEFAULT group default qlen 1000
    link/ether 3e:f5:92:ef:9e:16 brd ff:ff:ff:ff:ff:ff

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

8: ens10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000

    link/ether 52:54:00:51:ee:74 brd ff:ff:ff:ff:ff:ff
9: ens14: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:da:08:cb brd ff:ff:ff:ff:ff:ff
10: ens15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP mode DEFAULT group default qlen 1000
    link/ether 52:54:00:31:7c:6f brd ff:ff:ff:ff:ff:ff

------>While we are running the ipsec-secgw application. We are getting following error:

IPSEC: No IPv6 SP Inbound rule specified
IPSEC: No IPv6 SP Outbound rule specified
Creating IPv4 Routing Table (RT) context with 1024 max routes
LPM: Adding route 192.168.122.0/24 (1)

Checking link status..........................................................................................done Port 0 Link Down <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Port 1 Link Down <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

IPSEC: entering main loop on lcore 0
IPSEC:  -- lcoreid=0 portid=0 rxqueueid=0
IPSEC:  -- lcoreid=0 portid=1 rxqueueid=0

Please find the attachment which contain console logs.

Thanks and Regards