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

Function vlan_id_is_invalid

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

Source from the content-addressed store, hash-verified

1161}
1162
1163static int
1164vlan_id_is_invalid(uint16_t vlan_id)
1165{
1166 if (vlan_id < 4096)
1167 return 0;
1168 fprintf(stderr, "Invalid vlan_id %d (must be < 4096)\n", vlan_id);
1169 return 1;
1170}
1171
1172static uint32_t
1173eth_dev_get_overhead_len(uint32_t max_rx_pktlen, uint16_t max_mtu)

Callers 3

rx_vft_setFunction · 0.85
tx_vlan_setFunction · 0.85
tx_qinq_setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected