MCPcopy Create free account
hub / github.com/F-Stack/f-stack / tx_vlan_reset

Function tx_vlan_reset

dpdk/app/test-pmd/config.c:6341–6349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6339}
6340
6341void
6342tx_vlan_reset(portid_t port_id)
6343{
6344 ports[port_id].dev_conf.txmode.offloads &=
6345 ~(RTE_ETH_TX_OFFLOAD_VLAN_INSERT |
6346 RTE_ETH_TX_OFFLOAD_QINQ_INSERT);
6347 ports[port_id].tx_vlan_id = 0;
6348 ports[port_id].tx_vlan_id_outer = 0;
6349}
6350
6351void
6352tx_vlan_pvid_set(portid_t port_id, uint16_t vlan_id, int on)

Callers 3

tx_vlan_setFunction · 0.85
tx_qinq_setFunction · 0.85
cmd_tx_vlan_reset_parsedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected