Lines Matching defs:bytes
40 def hash_data(self, use_l4_port: bool = False) -> bytes:
75 key: bytes,
84 def toeplitz_hash(self, data: bytes) -> int:
159 def __init__(self, key: bytes = None, reta_size: int = None):
163 def rss_key(self) -> bytes:
171 def rss_key(self) -> bytes:
172 return bytes(
196 key=bytes(
200 # Marvell cnxk NICs take 48 bytes keys
213 key=bytes(
228 key=bytes(
232 # i40e is the only driver that takes 52 bytes keys