e's a dependency in PACKET_MMAP, the guide also points to the
original Kernel documentation, so the reader can get more details.
Signed-off-by: Tiago Lam
---
doc/guides/nics/af_packet.rst | 67 +++
1 file changed, 67 insertions(+)
create mode 100644 doc/g
"tp_frame_size - TPACKET2_HDRLEN"
This makes sure that there's enough useful area to fit the provided MTU
after excluding tpacket2_hdr and sockaddr_ll.
Fixes: cc68ac4 ("net/af_packet: support MTU change")
Signed-off-by: Tiago Lam
---
drivers/net/af_packet/rte_eth_af_packet.c |
MTU
of the underlying interface is ignored.
Signed-off-by: Tiago Lam
---
v2: Fix checkpatches.sh and check-git-log.sh warnings.
---
drivers/net/af_packet/rte_eth_af_packet.c | 33 ++-
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/drivers/net
to access the
interface name to get the underlying configured MTU.
Signed-off-by: Tiago Lam
---
v2: Fix checkpatches.sh and check-git-log.sh warnings.
---
drivers/net/af_packet/rte_eth_af_packet.c | 77 ---
1 file changed, 41 insertions(+), 36 deletions(-)
diff
MTU
of the underlying interface is ignored.
Signed-off-by: Tiago Lam
---
drivers/net/af_packet/rte_eth_af_packet.c | 33 ++-
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c
b/drivers/net/af_packet/rte_eth_af_packet.c
ind
"tp_frame_size - TPACKET2_HDRLEN"
This makes sure that there's enough useful area to fit the provided MTU
after excluding tpacket2_hdr and sockaddr_ll.
Fixes: cc68ac4 ("net/af_packet: support MTU change")
Signed-off-by: Tiago Lam
---
drivers/net/af_packet/rte_eth_af_packet.c |
to access the
interface name to get the underlying configured MTU.
Signed-off-by: Tiago Lam
---
drivers/net/af_packet/rte_eth_af_packet.c | 77 ---
1 file changed, 41 insertions(+), 36 deletions(-)
diff --git a/drivers/net/af_packet/rte_eth_af_packet.c
b/drivers/net
7 matches
Mail list logo